This file contains hidden or 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
| wget --post-data 'token=APIKEY&user=USERKEY&"message=hello world' -O - https://api.pushover.net/1/messages | |
This file contains hidden or 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
| <?php | |
| curl_setopt_array($ch = curl_init(), array( | |
| CURLOPT_URL => "https://api.pushover.net/1/messages", | |
| CURLOPT_POSTFIELDS => array( | |
| "token" => "APIKEY", | |
| "user" => "USERKEY", | |
| "message" => "hello world", | |
| ))); | |
| $result = curl_exec($ch); | |
| curl_close($ch); |
This file contains hidden or 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
| <html> | |
| <head> | |
| </head> | |
| <body> | |
| <?php | |
| function bitly($add) | |
| { | |
| $long_url = urlencode($add); | |
| $bitly_login = 'LOGIN'; | |
| $bitly_apikey = 'APIKEY'; |
This file contains hidden or 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:q=location.href;if(document.getSelection){d=document.getSelection();}else{d='';};p=document.title;void(open('http://api.bit.ly/shorten?version=2.0.1&login=USERNAME&apiKey=APIKEY&format=text&longUrl='+encodeURIComponent(q)+'')); |
This file contains hidden or 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
| LEDS "clip" signals at about +/-1.2-to-2.2V, depending upon "color" of LED emission, ie: RED ~ 1.2-1.5V, BLUE ~ 2.2V" |
This file contains hidden or 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
| RewriteEngine On | |
| RewriteCond %{HTTP_HOST} ^(www.)?www.whatwouldthecaptaindo.co.uk$ | |
| RewriteRule ^(/)?$ wordpress [L] |
This file contains hidden or 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
| # | |
| # This is the main Apache HTTP server configuration file. It contains the | |
| # configuration directives that give the server its instructions. | |
| # See <URL:http://httpd.apache.org/docs/2.2> for detailed information. | |
| # In particular, see | |
| # <URL:http://httpd.apache.org/docs/2.2/mod/directives.html> | |
| # for a discussion of each configuration directive. | |
| # | |
| # Do NOT simply read the instructions in here without understanding | |
| # what they do. They're here only as hints or reminders. If you are unsure |
This file contains hidden or 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
| /volume1/@optware/local/bin/pylms --device 00:04:20:26:a5:ef play |
This file contains hidden or 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
| <?php | |
| /** | |
| * First, we declare an array of domains to check. Each array is for a domain that we want to check, and the port that we want to check. | |
| * The third value is how long fsockopen should wait before timing out. | |
| */ | |
| $ports = array ( | |
| array('192.168.0.1', 80, 1,'Router'), | |
| array('192.168.0.7', 90, 1,'Self'), | |
| array('www.yahoo.com', 80, 1,'google'), | |
| array('www.sitethatdoesnotexist.com', 80, 1,'nothing') |
This file contains hidden or 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
| "echo 2 >/dev/ttyS1" for a short beep | |
| "echo 3 >/dev/ttyS1" for a long beep |