This file contains hidden or 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
rtl-sdr build notes for OSX | |
using macports http://www.macports.org/ | |
see http://sdr.osmocom.org/trac/wiki/rtl-sdr | |
brew install cmake | |
brew install libusb | |
brew install pkgconfig | |
brew install sox # for easy audio | |
git clone git://git.osmocom.org/rtl-sdr.git | |
cd rtl-sdr/ |
This file contains hidden or 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
javascript:window.jQuery.fn.reverse=[].reverse;window.jQuery(".icon.created").reverse().each(function(e,n){setTimeout(function(){var e=$(n).parent().attr("href"),t=e?window.open(e):{addEventListener:function(){}};t.addEventListener("load",function(){setTimeout(function(){t.jQuery(".button-circle-cancel").click()},3e3);setTimeout(function(){t.close()},2e4)})},5e3*e)}); |
This file contains hidden or 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 | |
/** | |
* Standard Tab Code from woocommerce-hooks.php | |
*/ | |
/* Product page tabs */ | |
add_action( 'woocommerce_product_tabs', 'woocommerce_product_description_tab', 10 ); | |
add_action( 'woocommerce_product_tabs', 'woocommerce_product_attributes_tab', 20 ); | |
add_action( 'woocommerce_product_tabs', 'woocommerce_product_reviews_tab', 30 ); | |
add_action( 'woocommerce_product_tab_panels', 'woocommerce_product_description_panel', 10 ); |
This file contains hidden or 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
######################## | |
# Customize the test machine | |
######################## | |
machine: | |
# Set the timezeone - any value from /usr/share/zoneinfo/ is valid here | |
timezone: | |
America/Los_Angeles | |
# Version of ruby to use |
This file contains hidden or 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
var currentTime = Date.now(), | |
dbName = "bugtest_" + currentTime, | |
indexes = [ | |
{ | |
name: "by_title", | |
path: "title", | |
unique: false | |
}, | |
{ |
This file contains hidden or 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@machine ~]# systemctl status firewalld -l | |
firewalld.service - firewalld - dynamic firewall daemon | |
Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled) | |
Active: active (running) since Sun 2014-12-21 21:11:18 UTC; 20s ago | |
Main PID: 14707 (firewalld) | |
CGroup: /system.slice/firewalld.service | |
└─14707 /usr/bin/python -Es /usr/sbin/firewalld --nofork --nopid | |
Dec 21 21:11:18 machine systemd[1]: Starting firewalld - dynamic firewall daemon... | |
Dec 21 21:11:18 machine systemd[1]: Started firewalld - dynamic firewall daemon. |
This file contains hidden or 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
#!/bin/bash | |
yum groupinstall -y "Development tools" | |
yum install -y zlib-devel bzip2-devel openssl-devel ncurses-devel | |
cd /usr/local/src/ | |
wget http://www.python.org/ftp/python/2.7.5/Python-2.7.5.tar.bz2 | |
tar xf Python-2.7.5.tar.bz2 | |
cd Python-2.7.5 | |
./configure --prefix=/usr/local | |
make && make altinstall | |
cd .. |
This file contains hidden or 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
window.parent.document.body.style.height = window.parent.innerHeight + 'px'; | |
window.parent.document.getElementsByTagName('iframe')[0].setAttribute('height', window.parent.document.body.clientHeight +'px'); | |
window.parent.document.getElementsByTagName('iframe')[0].setAttribute('width', window.parent.document.body.clientWidth + 'px'); | |
window.document.getElementById("application-ad-handle").style.margin = ((document.body.clientHeight - window.document.getElementById("application-ad-handle").clientHeight)/2) + 'px auto 0 auto'; |
This file contains hidden or 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
### Keybase proof | |
I hereby claim: | |
* I am buley on github. | |
* I am buley (https://keybase.io/buley) on keybase. | |
* I have a public key whose fingerprint is 84EB F8DF F47B D375 354A 1294 F3CA F861 1DC3 1DE9 | |
To claim this, I am signing this object: |
This file contains hidden or 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
brew install qemu | |
cd /usr/local/Cellar/qemu/1.7.0/bin | |
wget http://xecdesign.com/downloads/linux-qemu/kernel-qemu | |
./qemu-system-arm -kernel kernel-qemu -cpu arm1176 -m 256 -M versatilepb -no-reboot -serial stdio -append "root=/dev/sda2 panic=1 rootfstype=ext4 rw" -hda ~/Downloads/Pidora-2014-R2-1/Pidora-2014-R2-1.img |