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
- Download and extract https://docs.google.com/file/d/0B54xzz44RpW6YlpaQXV3M2hTQVk to /tmp | |
# cd tmp | |
- ruby core | |
# opkg install libyaml libdb47 libruby_1.9.3-p429-1_ar71xx.ipk ruby-core_1.9.3-p429-1_ar71xx.ipk ruby_1.9.3-p429-1_ar71xx.ipk | |
# ruby -v | |
ruby 1.9.3p429 (2013-05-15 revision 40747) [mips-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
root@gretelomat:~# lsusb | |
Bus 001 Device 002: ID 058f:6254 Alcor Micro Corp. USB Hub | |
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub | |
Bus 001 Device 005: ID 0b05:17cb ASUSTek Computer, Inc. | |
Bus 001 Device 004: ID 058f:6366 Alcor Micro Corp. Multi Flash Reader | |
root@gretelomat:~# echo 0b05 17cb > /sys/bus/usb/drivers/btusb/new_id | |
root@gretelomat:~# hciconfig | |
hci0: Type: BR/EDR Bus: USB | |
BD Address: 00:02:72:C9:0E:AA ACL MTU: 1021:8 SCO MTU: 64:1 | |
DOWN |
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 apt-get install libusb-dev libdbus-1-dev libglib2.0-dev libudev-dev libical-dev libreadline-dev | |
sudo mkdir bluez | |
cd bluez | |
sudo wget www.kernel.org/pub/linux/bluetooth/bluez-5.11.tar.xz | |
sudo unxz bluez-5.11.tar.xz | |
sudo tar xvf bluez-5.11.tar | |
cd bluez-5.11 | |
sudo ./configure --disable-systemd | |
sudo make && sudo make install |
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
--/etc/network/interfaces: | |
auto lo | |
iface lo inet loopback | |
iface eth0 inet dhcp | |
allow-hotplug wlan0 | |
iface wlan0 inet dhcp | |
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf |
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
# released to the public domain, sven@makingthingshappen.de 2014 | |
opkg update | |
opkg install nano | |
opkg install python-openssl | |
opkg install distribute #contains easy_install | |
opkg install python-curl | |
easy_install bottle | |
easy_install paste |
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
# encoding: UTF-8 | |
# Chiliproject to Redmine converter | |
# ================================= | |
# | |
# This script takes an existing Chiliproject database and | |
# converts it to be compatible with Redmine (>= v2.3). The | |
# database is converted in such a way that it can be run multiple | |
# times against a production Chiliproject install without | |
# interfering with it's operation. This is done by duplicating |
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
require 'rubygems' | |
require 'nokogiri' | |
require 'open-uri' | |
require 'digest/md5' | |
require 'csv' | |
require 'json' | |
require 'curb' | |
require 'pp' | |
data = [] |
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.ixquick.com/do/metasearch.pl?&cat=web&query= |
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
<%# | |
# search given tags... | |
%> | |
<% | |
require File.join(File.dirname(__FILE__), 'src', 'toto_decoration') | |
decorator = TotoDecoration.new | |
%> | |
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
# hacking some lines to get into the ruby object allocation process... | |
# Enable the GC profiler: | |
GC::Profiler.enable | |
# If our test create too many objects forcing the GC to run, | |
# we can disable the GC to properly see the object allocation | |
# GC.disable | |
def count_string_allocations |
OlderNewer