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
use futuresdr::blocks::Apply; | |
use futuresdr::runtime::Mocker; | |
use rand::Rng; | |
use std::time; | |
const NUM_SAMPLES: usize = 100_000_000; | |
fn main() { | |
let input: Vec<u8> = rand::thread_rng() | |
.sample_iter(rand::distributions::Uniform::<u8>::new(0, 127)) |
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 python | |
import time | |
import socket | |
from scapy.all import * | |
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) | |
frame = Dot15d4FCS()\ | |
/Dot15d4Data(dest_panid=0x4242, dest_addr=0x2323)\ |
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 python | |
import socket | |
import time | |
from scapy.all import * | |
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) | |
while True: | |
frame = Dot11FCS(addr1='ff:ff:ff:ff:ff:ff', addr2='23:23:23:23:23:23', addr3='23:23:23:23:23:23')\ |
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
//======================================================================= | |
// ARCHIVE | |
//======================================================================= | |
var archive = function() { | |
var posts = []; | |
function bufferContents(file, enc, cb) { | |
var p = { |
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 python | |
from __future__ import print_function | |
from apiclient import discovery | |
from oauth2client import client | |
from oauth2client import tools | |
from oauth2client.file import Storage | |
import datetime |
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 python | |
# | |
# Copyright 2015 Bastian Bloessl <bloessl@ccs-labs.org> | |
# | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. | |
# | |
# This program is distributed in the hope that it will be useful, |