I hereby claim:
- I am bemasher on github.
- I am bemasher (https://keybase.io/bemasher) on keybase.
- I have a public key whose fingerprint is 0C80 689F 7D73 2BFB 4F94 8876 80C8 DC56 DD1E C7EE
To claim this, I am signing this object:
//CountLT.cpp | |
//Aryelle Young | |
//Sep 23 2014 | |
//Defines the CountLT class | |
#include "CountLT.h" | |
//Default Constructor | |
//takes a value from client code to use as initial bound | |
CountLT::CountLT(double bound) : the_bound(bound), count(0) |
I hereby claim:
To claim this, I am signing this object:
#include <cc1110.h> | |
#include "cc1110-ext.h" | |
#include <stdint.h> | |
#define GENPOLY 0x6F63 | |
//! Receives a packet out of the radio from 0xFE00. | |
char __xdata __at 0xFE00 packet[0xFF]; | |
package main | |
import ( | |
"bufio" | |
"log" | |
"strconv" | |
) | |
// Bencoding Specification |
import glob | |
output = [] | |
# For both extensions | |
for ext in ["txt", "awd"]: | |
# For all files matching the current extension | |
for filename in glob.iglob("data/*.{}".format(ext)): | |
print filename | |
/** | |
* Author: Douglas Hall | |
* Course: CSC345 | |
* Assignment: Homework #7 | |
* Instructor: Steven Kobourov | |
* Due Date: 2009-11-16 23:59 | |
* | |
* Purpose: Implement a hash table using 3 different collection handling techniques. | |
* Linear probing, quadratic probing and chaining. | |
*/ |
package dft | |
import "math" | |
type DFT struct { | |
Log uint | |
Factors []complex128 | |
} | |
func NewDFT(lg2 uint, is float64) (dft DFT) { |
// Relatively painless magnet uri generation for torrentz.eu. Digging reveals | |
// that the torrent hash and id (torrentz.eu specific) are stored as hidden | |
// inputs for the comment system. All that's required is some Ajax and string | |
// parsing for the announce list and some html injection to add the link to | |
// the page. | |
// Get the torrent name, hash and id (for announce list lookup) | |
var name = $(".download>h2>span").first().text(); | |
var hash = $(':input[name="hash"]').first().val() | |
var torrent = $(':input[name="torrent"]').first().val() |
package main | |
import ( | |
"log" | |
"github.com/bemasher/rtltcp" | |
) | |
const ( | |
SampleRate = 2.4e6 // 2.4MHz |
package correlate | |
import ( | |
"dft" | |
"fmt" | |
"math/cmplx" | |
) | |
// Cross-correlation is a measure of similarity of two waveforms as a function | |
// of a time-lag applied to one of them. Aka the sliding dot product. This is |