Generated: Mon Mar 18 2013 16:44:39 GMT+0000 (GMT)
{
"protocol": "https:",
"host": "www.techfortesco.com",
"method": "GET",
"port": 443,| $ curl -XPUT "localhost:9200/_river/mongoscriptfilter/_meta" -d' | |
| { | |
| "type": "mongodb", | |
| "mongodb": { | |
| "db": "testmongo", | |
| "collection": "documents", | |
| "script": "ctx.document.title = ctx.document.title_from_mongo; delete ctx.document.title_from_mongo;" | |
| }, | |
| "index": { | |
| "name": "testmongo", |
| { | |
| "products":[ | |
| { | |
| "sourceProductId":"12-113-4917", | |
| "name":"Tradedoubler Concert Ukulele", | |
| "description":"This Concert Size Ukulele is part of the exciting range of premium-uniquely featured high grade series Ukuleles designed for the most professional and aspiring of musicians.", | |
| "productUrl":"http://www.tradedoubler.com/products/12-113-4917/", | |
| "productImage":{ | |
| "url":"http://www.tradedoubler.com/products/12-113-4917/images/main.jpg", | |
| "width":500, |
| { | |
| "skimlinksProductAPI":{ | |
| "status":200, | |
| "products":[ | |
| { | |
| "merchant":"Amazon", | |
| "currency":"GBP", | |
| "images":{ | |
| "imageOriginalHeight":120, | |
| "imageOriginalUrl":"http://s3.amazonaws.com/images.api-product.skimlinks.com/image/6f90181ea69c0947126736a035ad6f75_original", |
| var child = require('child_process'), | |
| util = require('util'), | |
| netstat = child.spawn('netstat', ['-nb']), | |
| out = '' | |
| netstat.stdout.on('data', function(data) { | |
| out += data | |
| }) | |
| netstat.stderr.on('data', function(data) { | |
| console.log('err: ' + data) |
| for user in $(cut -f1 -d: /etc/passwd); do crontab -u $user -l; done |
| #!/bin/bash | |
| cd /scripts/ | |
| sudo ./wifi.sh mon | |
| sudo ./hack.sh kick 00:1B:11:EF:49:94 00:24:36:b5:e7:3d 20 | |
| sudo ./wifi.sh man | |
| sudo ./wifi.sh scan | |
| sudo ./wifi.sh scan | |
| sudo ./wifi.sh scan | |
| sudo ./wifi.sh scan |
| #!/bin/bash | |
| DIVIDER="--------------------------------------------------------------" | |
| EOL="" | |
| if [ -z "$1" ]; then | |
| echo $DIVIDER | |
| echo " Wifi 0.01 (Jan 17th 2008)." | |
| echo " Usage: " $0 "[-action]" | |
| echo " Choose which action to perform:" |
| #!/bin/bash | |
| DIVIDER="--------------------------------------------------------------" | |
| EOL="" | |
| if [ -z "$1" ]; then | |
| echo $DIVIDER | |
| echo " Hack 0.01 (Jan 18th 2008)." | |
| echo " Usage: " $0 "[-action]" | |
| echo " Choose which action to perform:" |
| #!/bin/bash | |
| if [[ `uname -s` == 'Darwin' ]]; then | |
| brew update | |
| brew install libtool autoconf automake | |
| else | |
| sudo apt-get update | |
| sudo apt-get install -y libtool autoconf automake uuid-dev git-core | |
| fi |