Generated: Mon Mar 18 2013 16:44:39 GMT+0000 (GMT)
{
"protocol": "https:",
"host": "www.techfortesco.com",
"method": "GET",
"port": 443,| #!/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 |
| for user in $(cut -f1 -d: /etc/passwd); do crontab -u $user -l; done |
| 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) |
| { | |
| "skimlinksProductAPI":{ | |
| "status":200, | |
| "products":[ | |
| { | |
| "merchant":"Amazon", | |
| "currency":"GBP", | |
| "images":{ | |
| "imageOriginalHeight":120, | |
| "imageOriginalUrl":"http://s3.amazonaws.com/images.api-product.skimlinks.com/image/6f90181ea69c0947126736a035ad6f75_original", |
| { | |
| "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, |
| $ 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", |
/etc/mongodb.conf to add replSet = rs0rs.initiate() ( this can take some time; log shows activity )rs0:PRIMARY>MongoDB documentation: http://docs.mongodb.org/manual/tutorial/convert-standalone-to-replica-set/
| var regexp = /(([\$\£\€\u20AC]|eur|ils|rs)\.?\s*(<[^>]+>| |\s)?([0-9]+[\,\.])?[0-9]+([\,\.][0-9]+)?)|(([0-9]+[\,\.])?[0-9]+([\,\.][0-9]+)?)(<[^>]+>| |\s|\s\,\-\s)?(€|\u20AC|eur|ils|rs)\.?/ig; | |
| document.body.innerHTML.match(regexp); |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |