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 <IRremote.h> | |
/* | |
Send infrared commands from the Arduino to the iRobot Roomba | |
by probono | |
2013-03-17 Initial release | |
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
sudo find /lib/modules/*/kernel/drivers/net/wireless/rt2x00/ -type f -exec sed -i -e 's|\x1\x4\x8\xf\x5\x3\x7\x0|\x1\x4\x8\xf\x3\x0\x7\x0|g' {} \; |
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
On my Ubuntu desktop machine, I do: | |
=== | |
sudo su | |
wget http://downloads.sourceforge.net/project/berryboot/berryboot-20130528.zip | |
unzip berryboot-*.zip | |
kpartx -av berryboot.img --> Now I can mount/access it in Nautilus, it mounts to /media/ubuntu-gnome/BA27-9913/ in my case |
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 <IRremote.h> | |
// http://www.pjrc.com/teensy/td_libs_IRremote.html | |
// If one keypress results in multiple codes being output, then | |
// change in IRremoteInt.h: | |
// #define _GAP 50000 | |
int RECV_PIN = 8; | |
IRrecv irrecv(RECV_PIN); | |
decode_results results; |
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
// If one keypress results in multiple codes being output, then | |
// change in IRremoteInt.h: | |
// #define _GAP 50000 | |
#include <IRremote.h> | |
int RECV_PIN = 11; | |
IRrecv irrecv(RECV_PIN); | |
decode_results results; |
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
http://mobile.rtv.de/ | |
# if the image src contains zdf, then change the link of the parent | |
$('img[src*="ard"]').parent().attr('href','javascript:zap(1)'); | |
$('img[src*="zdf"]').parent().attr('href','javascript:zap(2)'); | |
$('img[src*="rtl"]').parent().attr('href','javascript:zap(3)'); | |
http://mobile.rtv.de/ |
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
# | |
# Trying to compile kernel module for Ralink 3070 chipset | |
# with patch described on | |
# http://www.geekamole.com/2013/rt2800usb-fix-for-ralinkmediatek-3070-gentoo-linux/ | |
# | |
apt-get install linux-headers-3.7-trunk-686-pae # This is on Kali Linux; 3 MB | |
apt-get install linux-source-3.7 # http://ftp.halifax.rwth-aachen.de/kali/pool/main/l/linux-kali/linux-source-3.7_3.7.2-0+kali8_all.deb # 82 MB | |
tar xfj /usr/src/linux-source-3.7.tar.bz2 | |
cd linux-* |
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
# I boot from an ISO that is loop-mounted with GRUB2 like this: | |
root@debian:/home/user# cat /lib/live/mount/findiso/boot/grub/grub.cfg | |
# (...) | |
menuentry "binary.hybrid.iso" { | |
insmod ext2 | |
iso_path="/boot/binary.hybrid.iso" | |
export iso_path | |
args="findiso=${iso_path} live-config.keyboard-layouts=de live-config.locales=de_DE.UTF-8 live-config.timezone=Europe/Berlin boot=live config quiet splash" | |
export args | |
loopback loop ${iso_path} |
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
# http://www.aliexpress.com/item/New-Mini-Portable-Wireless-3G-Router-TP-LINK-TL-WR703N-150M-150Mbps-WR703N-Pocket-size-Wifi/948558329.html | |
# Someone should convince TP-Link to build this with more Flash, serial headers, bare board, *duino style... | |
# This is the starting point for a webradio appliance in the works | |
# TODO: Preconfigure everything, hook up Arduino for IR control sending and receiving | |
wget http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/OpenWrt-ImageBuilder-ar71xx_generic-for-linux-i486.tar.bz2 | |
tar xfj OpenWrt-ImageBuilder* | |
cd "$HOME/Downloads/OpenWrt-ImageBuilder-ar71xx_generic-for-linux-i486" |
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
# Running ShairPort/ShairTunes/AirTunes on squeezeplug distro (Raspbian wheezy based) | |
# to serve to squeezelite clients on WR703n | |
# Install in Logitech Media Server: Click on Settings, then select | |
# the Plugins tab, at the bottom of the page add the repo: | |
# http://raw2.github.com/StuartUSA/shairport_plugin/master/public.xml | |
# Copy precompiled helper binary in place | |
sudo cp /var/lib/squeezeboxserver/cache/InstalledPlugins/\ | |
Plugins/ShairTunes/shairport_helper/pre-compiled/\ |
OlderNewer