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
brew install libxml2 | |
gem install nokogiri -- --use-system-libraries \ | |
--with-xml2-include=$(brew --prefix libxml2)/include/libxml2 | |
gem install foodcritic |
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
cf_auth_key= | |
cf_email= | |
zone_id= | |
zone_name= | |
record_id= | |
fqdn= | |
ttl=1800 | |
tmpfile=/tmp/latest-ip.txt |
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
ssh-keygen -f id_rsa_yubikey.pub -e -m PKCS8 | openssl rsa -pubin -outform DER | openssl md5 -c |
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 | |
. /etc/update-cloudflare/config | |
WAN_IP=`curl http://icanhazip.com/ 2> /dev/null` | |
OLD_WAN_IP=`cat $tmpfile` | |
if [ "$WAN_IP" = "$OLD_WAN_IP" ] | |
then | |
touch $tmpfile | |
else |
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
{ | |
"id":"dbauser", | |
"uid":506, | |
"comment":"DBA User", | |
"shell":"/bin/bash", | |
"groups": [ | |
"sysadm", | |
"dba" | |
], | |
"ssh_key": "XXXXXXXXXX" |
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
dSKZEeqiiOOljju9jrivJskHCkjHYReHuiZsesrUfrQDjLGFjcPOgMsCmj1YurpdIMMk11usBtk13KKghL05uHwheuyEIqk4Esju7tesH6GsjTqvYdfrMieu1ffrTri0hfHyKsc5KQGxcbLmtrq3usWovQFsKmuIilveQNcMQuDviiBves(keu5SIqknxPeTx0FvWGLIoSOwSc1JH0KPuxwyZI0NjQrRqonuRgck1RjIA2eUnf2nv(nvnCkA5s8CvnDsxxrBxs03jcJhcCEkX6fb2VuywZoHm7uj8eoBH6wyPfQjyqWMGn7eqGuPPFOCV2UfoE8y11vRRhrwDLGfPst)qjIsFB9C5S9nY7BRvpwxxLPsFVsOeYyVRBXmiix8ttcbcmZo7WMxe(qKkjp2PeUKQ3LQcjmze7eY22yf7DzXGwWYYr5zNkbSnbel(xt0eI4sKOPgnBTGMDrJM1eCtJEbllhLN7AccF2MDcZpgqf5)jOLzqOKrd2jymfkMDQujyJttXOtHAHDcgtHIzNkvcAweoLDcgtHIzNkvcfViyNGXuOy2PsLaQi)p7eEStweeQqRjsYuPsLak7CxZobeivA6hk3s3(KGfPst)qjIsxfzTvKwrwD9(SE9(8MPsFBLag174ycPENIOil)eKcH6j8WozcJZLK8cFHDUR5EH7tUR5gjrCT9A9A12llNhREx9EHPsVwLkbHpBZobnlcNYobJPqXStLkbur(F2j8yNSiiuHwtKKPsWgNMIrNc1c7emMcfZovQekz0GDcgtHIzNkvcVzGYoHh7Kfb3NemMcfZo3i5fvQeMFm8MbkViu8IGDcgtHIzNkvcZpgq9gJZkVim)yavK)NxujuczS31TygeYZsECUqySVyhLdUpuURjm2xSJYvgvY2fVjbWlW2e0cwwokStqTygeEnRZNW0fvgoLqEQEcMEjIIAXm4EHW8JHPdR8IW8JbtVerrTyg8Ia68vVXWiSDqqXgHnvcJcS8iLi2U(459X12RwxrEAD1ktL( |