HACK - Not recommended for production !
wget http://archive.zfsonlinux.org/debian/pool/main/z/zfsonlinux/zfsonlinux_8_all.deb
dpkg --unpack zfsonlinux_8_all.deb
vim /var/lib/dpkg/info/zfsonlinux.postinst
#!/usr/bin/env python3 | |
import sys | |
import xml.etree.ElementTree as ET | |
DISTRIBUTER_FIELD = 'Mouser' | |
component_list = {} | |
[ | |
{ | |
"version":"1.9", | |
"time":"1483127520", | |
"age":"0", | |
"latitude":"50.901438", | |
"longitude":"9.583847", | |
"altitude":"323.2", | |
"speed":"68.179", | |
"cmg":"175.07", |
>>> print a | |
[[...]] | |
>>> a += ["WTF"] | |
>>> print a | |
[[...], 'WTF'] | |
>>> print a[0] | |
[[...], 'WTF'] | |
>>> print a[0][0] | |
[[...], 'WTF'] | |
>>> print a[0][0][0] |
fn convert_f32<'a>(input: &'a Vec<f32>) -> Box<Iterator<Item=f32> + 'a> { | |
Box::new(input.iter().cloned()) | |
} | |
fn convert_u32<'a>(input: &'a Vec<u32>) -> Box<Iterator<Item=f32> + 'a> { | |
Box::new(input.iter().cloned().map(|x| x as f32)) | |
} | |
enum InputType { |
#!/usr/bin/env python2 | |
import numpy | |
import scipy.signal | |
import matplotlib.pyplot as plt | |
f_samp = 100.0 | |
f_sine = 40.0 | |
f_lim = 2.0 |
#!/bin/bash | |
channel="#c3kl" | |
topic="" | |
odate="$(date '+%A %d.%m.%Y %H:%M')" | |
function log { | |
echo "$1" >> ./log.txt | |
} | |
function send { |
<html> | |
<head> | |
<style type="text/css"> | |
.container { | |
display: flex; /* or inline-flex */ | |
flex-direction: row; | |
flex-wrap: wrap; | |
justify-content: space-around; | |
align-content: stretch; |
#!/bin/bash | |
OMXPLAYER_BIN="/usr/bin/omxplayer.bin" | |
OMXPLAYER_LIBS="/opt/vc/lib:/usr/lib/omxplayer" | |
FBSET="/bin/fbset" | |
if [ -e $FBSET ]; then | |
DEPTH2=`fbset | head -3 | tail -1 | cut -d " " -f 10` | |
if [ "$DEPTH2" == "8" ]; then |
When shall we shadow The numbers of our poyson'd Challice To our owne lips. Hee's heere in double trust; | |
First, as I am truly Is thine, and thrice to mine, And thrice againe, to make him fly the Land? Rosse. | |
You know your owne King. Giue me some Wine, fill full: Enter Ghost. I drinke to th' vtterance. Who's there? | |
what hoa? Lady. Alack, I am his Kinsman, and his Prayses doe contend, | |
Which should be the Villaine that thou might'st not loose the dues of reioycing by being ignorant | |
of what Greatnesse is promis'd thee. Lay it to thy Direction, and Vnspeake mine owne detraction. | |
Heere abiure The taints, and blames I laide vpon my selfe, For strangers to my Nature. I am sick at hart, | |
When I shall thinke Macd. Bleed, bleed poore Country, Great Tyrrany, lay thou thy basis sure, | |
For goodnesse dare not Lady. Infirme of purpose: Giue me your hand: Conduct me to mine Eyes. | |
Now o're the one halfe World Nature seemes dead, and wicked Dreames abuse The Curtain'd sleepe: |