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
######################################################################### | |
# Wifiscanner.py - A simple python script which records and logs wifi probe requests. | |
# Author - D4rKP01s0n | |
# Requirements - Scapy and Datetime | |
# Inspiration - Tim Tomes (LaNMaSteR53)'s WUDS https://bitbucket.org/LaNMaSteR53/wuds/ | |
# Reminder - Change mon0 (around line 65) to your monitor-mode enabled wifi interface | |
######################################################################### | |
from datetime 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 | |
#import tweepy | |
from twython import Twython | |
import json | |
#from our keys module (keys.py), import the keys dictionary | |
from keys import keys | |
from pprint import pprint | |
import time |
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 os | |
import subprocess | |
P5_ROOT = "~/Documents/Processing3" | |
def launch_p5( sketchname ): | |
""" | |
Launch the specified Processing sketch |
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
#include <ESP8266WiFi.h> | |
#include <WiFiUdp.h> | |
#include <OSCMessage.h> | |
#include <Metro.h> | |
#include <AccelStepper.h> | |
#include "wifisettings.h" | |
const int STEPS_PER_WINDING = 200; | |
const int MAX_SPEED = 2000; |
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
const int dataPin = 13; | |
const int latchPin = 14; | |
const int clockPin = 12; | |
int numOfRegisters = 4; | |
byte registerState[4]; | |
int pause = 100; | |
void setup(void) |
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
// NOTE: no coil_write mapping yet | |
const int dataPin = 13; | |
const int latchPin = 14; | |
const int clockPin = 12; | |
int numOfRegisters = 4; | |
byte registerState[4]; | |
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
<?php | |
error_reporting( error_reporting() & ~E_NOTICE ); // evil | |
// config | |
$enable_jsonp = false; | |
$enable_native = false; | |
$valid_url_regex = '/.*/'; | |
// ############################################################################ |
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
import processing.serial.*; | |
Serial ser; | |
float lightLevel; // we use this variable to store our light level, 0 = dark, 1 = full light | |
GradientRectangle sky; | |
// daytime gradient is deepblue (top) -> white (bottom) | |
color deepblue = color(28, 63, 255); | |
color white = color(255, 255, 255); |
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
/* Program to measure and display heart beats on two led's (and on serial monitor for debug) | |
* Green led flashes at approx freq of your heart rate when you are at or below your target, | |
* if you go above this (eg 65 bpm) the red. | |
* led flashes at the approx freq of your heart rate | |
* You can check by feeling your pulse | |
* in your neck and looking at LED - both should be in sync | |
* C. Turner 16/01/2013. | |
* Seeed product wiki http://www.seeedstudio.com/wiki/Grove_-_Heart_rate_ear_clip_kit | |
* Avaialible in UK here: https://digitalmeans.co.uk/shop/sensors-category/sensors-medical-category/grove-ear_clip_heart_rate_sensor |
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
// Pulse Monitor Test Script | |
// got it from https://tkkrlab.nl/wiki/Arduino_KY-039_Detect_the_heartbeat_module | |
// | |
int sensorPin = 0; | |
double alpha = 0.75; | |
int period = 100; | |
double change = 0.0; | |
double minval = 0.0; | |
void setup () | |
{ |