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 fs = require('fs'), | |
util = require('util'), | |
path = require('path'), | |
http=require('http'), | |
url=require('url'), | |
jsdom = require('jsdom'); | |
var boardUrl=process.argv.length>2 ? process.argv[2] : 'http://boards.4chan.org/w/res/1230239', | |
threadNum = path.basename(boardUrl); | |
//console.dir(u); |
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
#!/usr/bin/env bash | |
cPriv=Company.private.pem # lives at Company HQ | |
cPub=Company.public.pem # live inside the device | |
dPriv=Device.private.pem # lives inside the device | |
dPub=Device.public.pem # lives at Company HQ | |
function encANDsend { | |
blob=$1 |
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
signed=0; | |
while [ $signed -lt 50000 ]; | |
do sleep 5; | |
signed=$(curl "https://epetitionen.bundestag.de/index.php?action=petition;sa=details;petition=22697" 2>/dev/null \ | |
| grep pet_det_td_4 \ | |
| cut -d '"' -f3 \ | |
| cut -d ' ' -f1 \ | |
| tr -d '>' \ | |
) | |
left=$(echo "50000 - $signed" | bc) |
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
package main | |
import ( | |
"fmt" | |
"io" | |
"log" | |
"net" | |
) | |
const listenAddr = "localhost:4000" |
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
package main | |
import ( | |
"code.google.com/p/go.net/websocket" | |
"fmt" | |
"html/template" | |
"io" | |
"log" | |
"net/http" | |
) |
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
package main | |
import ( | |
"bufio" | |
"fmt" | |
"github.com/hailiang/gosocks" | |
"io" | |
"net" | |
"os" | |
"runtime" |
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 prod = $(".summary") | |
.text() | |
.split('\n') | |
.map(function(e) { return parseInt(e) }) | |
.filter(function(e) { return !isNaN(e) } ) | |
.slice(0,3); | |
window.prompt("curr production:",prod.join('\t')); | |
var res = ["metal", "crystal", "deuterium"].map(function(e) { | |
var str = $('#resources_' + e).text().replace('.',''); |
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
// simple 4 tap fir | |
// coeff's are power of two | |
package de.tuhh.hbubert.noiseCancel; | |
module simpleFir { | |
param uint Width = 8; | |
@clock in bit clk; | |
@reset in bit rst; |
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
ERROR 2013/08/04 14:01:28 build.go:79: # github.com/cryptix/goSimPlot/app/models | |
duplicate symbol _frame3de in: | |
$WORK/github.com/cryptix/goSimPlot/app/models/_obj/SimpleFir.cgo2.o | |
$WORK/github.com/cryptix/goSimPlot/app/models/_obj/SimpleFir.sim.o | |
duplicate symbol _de_tuhh_hbubert_noiseCancel_simpleFir_rst in: | |
$WORK/github.com/cryptix/goSimPlot/app/models/_obj/SimpleFir.cgo2.o | |
$WORK/github.com/cryptix/goSimPlot/app/models/_obj/SimpleFir.sim.o | |
duplicate symbol _Pred_de_tuhh_hbubert_noiseCancel_simpleFir_rst in: | |
$WORK/github.com/cryptix/goSimPlot/app/models/_obj/SimpleFir.cgo2.o | |
$WORK/github.com/cryptix/goSimPlot/app/models/_obj/SimpleFir.sim.o |
OlderNewer