This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.bashrc | |
SSH_BIN=$(which ssh) | |
function set_terminal_theme { | |
THEME_NAME="$1" | |
osascript -e "tell application \"Terminal\" to set current settings of front window to settings set \"${THEME_NAME}\"" 2>/dev/null | |
} | |
function ssh { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env php | |
<?php | |
/** | |
* Usage: | |
* pdepend --summary-xml=/tmp/summary.xml /path/to/source | |
* | |
* ./inspekt.php /tmp/summary.xml --metric0 | |
*/ | |
class Inspect | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript: | |
var jQueryVersion = "2.1.1"; | |
if (typeof(jQuery) == "undefined") { | |
var jQueryScript = document.createElement('script'); | |
jQueryScript.type = "text/javascript"; | |
jQueryScript.src = "//ajax.googleapis.com/ajax/libs/jquery/" + jQueryVersion + "/jquery.min.js"; | |
jQueryScript.onload = function() { | |
jQuery.noConflict(); | |
console.log("jQuery " + jQuery.fn.jquery + " loaded successfully."); | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript: | |
var angularVersion = "1.2.23"; | |
if (typeof(angular) == "undefined") { | |
var angularScript = document.createElement('script'); | |
angularScript.type = "text/javascript"; | |
angularScript.src = "//ajax.googleapis.com/ajax/libs/angularjs/" + angularVersion + "/angular.min.js"; | |
angularScript.onload = function() { | |
console.log("AngularJS " + angular.version.full + " loaded successfully."); | |
}; | |
angularScript.onerror = function() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
echo "What should the Application be called (no spaces allowed e.g. GCal)?" | |
read inputline | |
name=$inputline | |
echo "What is the url (e.g. https://www.google.com/calendar/render)?" | |
read inputline | |
url=$inputline |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying that +reneoelke is my blockchain ID. https://onename.com/reneoelke |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
mQENBE8DXugBCADr9sS/3MOB/b3PHt9yqmGVeDmwxUmVZfVh8Xry2O69+/A227Pf | |
mgRt740VD0rbDq2IVwtpCl29WqqKBczy1U1Xsk1mcvHWyFlY5YcnKN3SV8fo5+KT | |
YdzYqqM0eBwyZVg0zTYvCqpd2kyYJ8V69hE24uXG5mvDTP/Z8ICsnqLzgAUHY2hC | |
G8Z272nc0nrB4bFzBzzNpwU+kvgfz4ktX8xfGfX9AFq/D3AfVONoGBoybscb4uHI | |
3CKb+gp9mP4CpoEx8ZOVLuHV9C+PJ3lNHdKBvqK3e9RDziMTI/uhnJHXXGTG1dC3 | |
gAbWXZOCiKnhXzsP6QijgbceAl0gYECCAetPABEBAAG0JFJlbsOpIE9lbGtlIDxy | |
ZW5lLm9lbGtlQGZvb2J1Z3MuY29tPokBOwQTAQIAJQIbLwYLCQgHAwIGFQgCCQoL | |
BBYCAwECHgECF4AFAlJ3eE0CGQEACgkQvqcF5J7bWNjDEQgAiQ5pOS4SofQu63ob |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0x628645C22a2e02bF17e5A05925CF70F49Cee9424 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var url = require("url"); | |
var https = require("https"); | |
var hookUrl = "HOOK_URL"; | |
var slackChannel = "SLACK_CHANNEL"; | |
var postMessage = function(message, callback) { | |
var body = JSON.stringify(message); | |
var options = url.parse(hookUrl); | |
options.method = "POST"; |
OlderNewer