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
dpkg -l linux-* | awk '/^ii/{ print $2}' | grep -v -e `uname -r | cut -f1,2 -d"-"` | grep -e [0-9] | xargs sudo apt-get remove -y |
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
keyboard.typematicMinDelay = "2000000" |
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
http://www.nexenta.org/projects/6/wiki/AFP_with_TimeMachine |
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
http://blog.beefyapps.com/2010/06/custom-fonts-in-ios-4/ |
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/bash | |
#### This script is published by Philipp Klaus <philipp.l.klaus@web.de> | |
#### on <http://blog.philippklaus.de/2011/05/ipv6-6in4-tunnel-via-hurricane-electric-tunnelbroker-net-automatic-ip-update-on-mac-os-x/> | |
#### It is originally by freese60 and modified by limemonkey. | |
#### Found on <http://www.tunnelbroker.net/forums/index.php?topic=287.0> | |
### Uncomment this line to debug the script: | |
#set -x |
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/bash | |
#### This script is published by Philipp Klaus <philipp.l.klaus@web.de> | |
#### on <http://blog.philippklaus.de/2011/05/ipv6-6in4-tunnel-via-hurricane-electric-tunnelbroker-net-automatic-ip-update-on-mac-os-x/> | |
#### It is originally by freese60 and modified by limemonkey. | |
#### Found on <http://www.tunnelbroker.net/forums/index.php?topic=287.0> | |
### Uncomment this line to debug the script: | |
#set -x |
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:(function()%7Bfunction%20c()%7Bvar%20e=document.createElement(%22link%22);e.setAttribute(%22type%22,%22text/css%22);e.setAttribute(%22rel%22,%22stylesheet%22);e.setAttribute(%22href%22,f);e.setAttribute(%22class%22,l);document.body.appendChild(e)%7Dfunction%20h()%7Bvar%20e=document.getElementsByClassName(l);for(var%20t=0;t%3Ce.length;t++)%7Bdocument.body.removeChild(e%5Bt%5D)%7D%7Dfunction%20p()%7Bvar%20e=document.createElement(%22div%22);e.setAttribute(%22class%22,a);document.body.appendChild(e);setTimeout(function()%7Bdocument.body.removeChild(e)%7D,100)%7Dfunction%20d(e)%7Breturn%7Bheight:e.offsetHeight,width:e.offsetWidth%7D%7Dfunction%20v(i)%7Bvar%20s=d(i);return%20s.height%3Ee&&s.height%3Cn&&s.width%3Et&&s.width%3Cr%7Dfunction%20m(e)%7Bvar%20t=e;var%20n=0;while(!!t)%7Bn+=t.offsetTop;t=t.offsetParent%7Dreturn%20n%7Dfunction%20g()%7Bvar%20e=document.documentElement;if(!!window.innerWidth)%7Breturn%20window.innerHeight%7Delse%20if(e&&!isNaN(e.clientHeight))%7Breturn%20e.clientHeight%7Dreturn%200 |
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
mkdir -p /opt/minio/data | |
mkdir /opt/minio/cofig | |
docker run -d -p 9000:9000 \ | |
--name minio \ | |
-v /opt/minio/data:/data \ | |
-v /opt/minio/config:/root/.minio \ | |
minio/minio server /data |
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
aws ec2 describe-images \ | |
--owners 'aws-marketplace' \ | |
--filters 'Name=product-code,Values=aw0evgkw8e5c1q413zgy5pjce' \ | |
--query 'sort_by(Images, &CreationDate)[-1].[ImageId]' \ | |
--output 'text' |
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
#include <ESP8266WiFi.h> | |
#include <PubSubClient.h> | |
#include <DHT.h> | |
#include <SimpleTimer.h> | |
#define DHTPIN 2 | |
#define DHTTYPE DHT22 | |
const char* ssid = "ssid"; | |
const char* password = "password"; |
OlderNewer