For educational reasons I've decided to create my own CA. Here is what I learned.
Lets get some context first.
| import kotlinx.coroutines.experimental.* | |
| import kotlinx.coroutines.experimental.channels.ReceiveChannel | |
| import kotlinx.coroutines.experimental.channels.consumeEach | |
| import kotlinx.coroutines.experimental.channels.produce | |
| import kotlin.coroutines.experimental.CoroutineContext | |
| fun <E> ReceiveChannel<E>.debounce( | |
| wait: Long = 50, | |
| context: CoroutineContext = DefaultDispatcher | |
| ): ReceiveChannel<E> = produce(context) { |
| //This custom JS adds few missing features to Bitbucket's code review tool | |
| //1) emoji buttons to Edit page to easily mark Pull Request | |
| //2) 'No whitespaces' button is added next to 'Commits' and 'Activity' and reloads the page with whitespaces diff turned off. | |
| //I'm not familiar with JS or jQuery, so this code is ugly and could be much better. But it works, so I have that going for me which is nice | |
| //I used Chrome Extension to enable usage of this code: https://chrome.google.com/webstore/detail/custom-javascript-for-web/poakhlngfciodnhlhhgnaaelnpjljija?hl=en | |
| //Reference to last focused text field | |
| var lastFocused; | |
| $("input[type='text']").focus(function() { | |
| lastFocused = document.activeElement; |
| #!/bin/bash | |
| # https://github.com/firebase/firebase-tools | |
| # https://firebase.google.com/docs/cloud-messaging/server | |
| DEVICE="<< DEVICE TOKEN >>" | |
| KEY="<< SERVER KEY>>" | |
| JSON=" | |
| { | |
| \"to\": \"$DEVICE\", |
| import android.app.Activity; | |
| import android.app.Application; | |
| import android.content.Context; | |
| import android.content.ContextWrapper; | |
| import android.os.Bundle; | |
| import android.os.Looper; | |
| import android.os.MessageQueue; | |
| import android.util.Log; | |
| import android.view.View; | |
| import android.view.ViewTreeObserver; |
| #!/bin/bash | |
| # This script builds the iOS and Mac openSSL libraries | |
| # Download openssl http://www.openssl.org/source/ and place the tarball next to this script | |
| # Credits: | |
| # https://github.com/st3fan/ios-openssl | |
| # https://github.com/x2on/OpenSSL-for-iPhone/blob/master/build-libssl.sh | |
| ========================================== | |
| BASH SCRIPTING ========================================== | |
| ========================================== TEST COMMAND | |
| ========================================== | |
| Invoke: bash [options] file | |
| Shebang: #!/usr/bin/env bash Test: test expression | |
| In script: [ expression ] | |
| ========================================== Alternate: [[ espression ]] | |
| LOOP Does not split string words | |
| ========================================== Does not expand pathglobs* |