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 pylab as pl | |
import numpy as np | |
class FFT : | |
def __init__(self, file='data.csv'): | |
self.file=file | |
self.readFile() | |
def readFile(self) : | |
xy = np.loadtxt(self.file, delimiter=",", skiprows=1).transpose() |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
function GetForkButton(uid) | |
{ | |
return document.getElementById('poke_live_item_' + uid).firstChild.firstChild.nextSibling.firstChild.nextSibling.firstChild.nextSibling.firstChild.firstChild | |
} | |
function AutoFork(uid){ | |
fork_button = GetForkButton(uid) | |
if (fork_button.tagName != 'A'){ | |
setTimeout(function(){AutoFork(uid)}, (5000+Math.random()*5000)) |
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 sys, time | |
from daemon import Daemon | |
class MyDaemon(Daemon): | |
def run(self): | |
while True: | |
time.sleep(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
#include <avr/io.h> | |
#include <util/delay.h> | |
void inkjet_init(){ | |
PORTB &= ~0x07; //0000 0218 | |
DDRB |= 0x07; | |
PORTC &= ~0x3e; //0076 5430 | |
DDRC |= 0x3e; |