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
marionette('First Time Use >', function() { | |
var assert = require('assert'); | |
var FTU = 'app://communications.gaiamobile.org'; | |
var client = marionette.client(); | |
var clickThruPanel = function(panel_id, button_id) { | |
if (panel_id == '#wifi') { | |
// The wifi panel will bring up a screen to show it is scanning for | |
// networks. Not waiting for this to clear will blow test timing and cause |
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
marionette('First Time Use >', function() { | |
var assert = require('assert'); | |
var FTU = 'app://communications.gaiamobile.org'; | |
var client = marionette.client(); | |
var clickThruPanel = function(panel_id, button_id) { | |
if (panel_id == '#wifi') { | |
// The wifi panel will bring up a screen to show it is scanning for | |
// networks. Not waiting for this to clear will blow test timing and cause |
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
Prepare: | |
mkdir foo | |
cd foo | |
git init | |
echo A>A | |
echo B>B | |
git add A B | |
git commit -m AB | |
git checkout -b br1 | |
echo BB>>B |
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
# some example code from pyusb, otherwise its all public domain. enjoy & keep hackin! - ladyada | |
import sys | |
# sys.path.append('/Users/qdot/git-projects/library/usr_darwin_10.5_x86/lib/python2.6/site-packages') | |
import usb.core | |
import usb.util | |
import sys | |
import time | |
# find our device |
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
;; Stefan Monnier <foo at acm.org>. It is the opposite of fill-paragraph | |
;; Takes a multi-line paragraph and makes it into a single line of text. | |
(defun unfill-paragraph () | |
(interactive) | |
(let ((fill-column (point-max))) | |
(fill-paragraph nil))) |
NewerOlder