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
{ | |
"global": { | |
"check_for_updates_on_startup": true, | |
"show_in_menu_bar": true, | |
"show_profile_name_in_menu_bar": false | |
}, | |
"profiles": [ | |
{ | |
"complex_modifications": { | |
"parameters": { |
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
{ | |
"files.trimTrailingWhitespace": true, | |
"files.associations": { | |
"**/defaults/**/*": "ansible-advanced", | |
"**/tasks/**/*.yml" : "ansible-advanced", | |
"**/handler/*.yml" : "ansible-advanced", | |
"**/*_vars/**/*.yml" : "ansible-advanced", | |
"**/roles/**/*.yml" : "ansible-advanced", | |
"**/playbooks/**/*.yml" : "ansible-advanced", | |
"**/*ansible*/**/*.yml" : "ansible-advanced", |
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
### Keybase proof | |
I hereby claim: | |
* I am kogent on github. | |
* I am kogentmark (https://keybase.io/kogentmark) on keybase. | |
* I have a public key ASAYwQGZesytxbEccLQ3Vl5nlp9iQ3R_PUX-2yUAOzTN7go | |
To claim this, I am signing this object: |
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
# bash function to get a certificate from a remote host | |
function getcert { | |
host=$1 | |
port=$2 | |
if [ -n $port ]; then | |
port=443 | |
fi | |
openssl s_client -connect ${host}:${port} </dev/null 2>/dev/null | sed -n '/-----BEGIN CERTIFICATE-----/,/-----END CERTIFICATE-----/p' | |
} |
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
sub test_command(@) { | |
my $name = $_[1]; | |
my $command = $_[2]; | |
my $host = $_[3]; | |
my $arg_string = $_[4]; | |
my $monarch_home = $_[5]; | |
my $service_desc = $_[6]; | |
my $nagios_ver = $_[7]; | |
$arg_string =~ s/$name!//; | |
unless ($service_desc) { $service_desc = 'service_desc' } |
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 ruby | |
# giftube – Generates an animated gif from a YouTube url. | |
# | |
# Usage: | |
# | |
# giftube [youtube url] [minute:second] [duration] | |
# | |
# ex. | |
# |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> | |
<!-- | |
===================================================================== | |
--> | |
<!-- | |
--> | |
<!-- | |
Log4j Configuration | |
--> |
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
// ==UserScript== | |
// @name Jira Disable keyup c shortcut | |
// @namespace markcarey.org | |
// @include *jira*/browse/*-* | |
// ==/UserScript== | |
document.getElementsByTagName('head')[0].appendChild(jQuery(document).unbind("keyup", "c")); |
NewerOlder