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
this is a test | |
http://figital.com |
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
this is a test | |
http://figital.com |
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
this is a test | |
http://figital.com |
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
sfitchet@crunchbang:~/git-repos/chromeless$ ./run & | |
[1] 8468 | |
sfitchet@crunchbang:~/git-repos/chromeless$ Will open the browser html =first_browser/index.html | |
You can also try other scripts such as ./run ui/thumbnails/index.html | |
Your package.json says our ID is: | |
jid0-VE0BAYsOX4sNiJGMMjrgl4kfM2w | |
But I don't have a corresponding private key in: | |
/home/sfitchet/.jetpack/keys/jid0-VE0BAYsOX4sNiJGMMjrgl4kfM2w | |
If you are the original developer of this package and have recently copied |
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 | |
wget --directory-prefix=/home/sfitchet/archive/figital.com/$(date +\%Y-\%m-\%d) -E -H -k -K -p -nd http://www.figital.com |
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 | |
wget --directory-prefix=/home/sfitchet/archive/figital.com/$(date +\%Y-\%m-\%d) -E -H -k -K -p -nd http://www.figital.com | |
# don't forget to change the --directory-prefix to a location on your | |
# own system and obviously the URL you'd like to archive ;) |
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
sfitchet@crunchbang:~$ ping espn.com -c 6 | |
PING espn.com (199.181.132.250) 56(84) bytes of data. | |
64 bytes from espnrf.espndeportes.com (199.181.132.250): icmp_req=1 ttl=239 time=100 ms | |
64 bytes from disneyhumanrights.org (199.181.132.250): icmp_req=2 ttl=239 time=100 ms | |
64 bytes from disneystudios.com (199.181.132.250): icmp_req=3 ttl=239 time=100 ms | |
64 bytes from espnrf.espndeportes.com (199.181.132.250): icmp_req=4 ttl=239 time=101 ms | |
64 bytes from disneyhumanrights.org (199.181.132.250): icmp_req=5 ttl=239 time=101 ms | |
64 bytes from disneystudios.com (199.181.132.250): icmp_req=6 ttl=239 time=101 ms | |
--- espn.com ping statistics --- |
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 http = require('http'); | |
http.createServer(function (req, res) { | |
res.writeHead(200, {'Content-Type': 'text/plain'}); | |
res.end('Hello World\n'); | |
}).listen(8124, "127.0.0.1"); | |
console.log('Server running at http://127.0.0.1:8124/'); |
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
<?php | |
// Grab the raw data feed from the filesystem | |
$filename = "DHCP_Static.asp.html"; | |
$file = file_get_contents($filename); | |
// Find the range of characters we'll scrape from the raw data feed | |
// Sure I could regex this part but I didn't :p | |
$startpos = strpos($file, "var table = new Array(") + 22; | |
$endpos = strpos($file, ");", $startpos); |
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 runs every minute using crontab. It logs into your router | |
# and grabs a DHCP that will be scraped later with PHP. | |
HOST='192.168.1.1' | |
FEEDDIR='/home/sfitchet/git-repos/roto' | |
COOKIES=$FEEDDIR'/cookies.txt' | |
USER='admin' | |
PASS='alpine' # j/k ;) |
OlderNewer