####lsauer.com
###Overview of all chrome://
pages.
- List by calling
chrome://about/
- Following is a direct dump from the 'about' page for reference
###List of Pages as per v20.xxx
// Exports current sheet as JSON and displays in message box. | |
function exportJSON() { | |
var ss = SpreadsheetApp.getActiveSpreadsheet(); | |
var sheet = ss.getActiveSheet(); | |
var rowsData = getRowsData(sheet); | |
ss.msgBox(Utilities.jsonStringify(rowsData)); | |
} | |
// getRowsData iterates row by row in the input range and returns an array of objects. | |
// Each object contains all the data for a given row, indexed by its normalized column name. |
// ==UserScript== | |
// @name Google+ Mute Keyboard Shortcut | |
// @namespace http://antimatter15.com/ | |
// @description Mute conversations in your stream by hitting "m" | |
// @include https://plus.google.com/* | |
// @include http://plus.google.com/* | |
// @version 1.2 | |
// ==/UserScript== | |
document.addEventListener('keydown', function(e){ |
git reset --hard | |
git clean -f -d | |
Description: | |
============ | |
Git Tips: Remove untracked files and directories from the working | |
tree when switching branches or checking out different commits. | |
Explanation: |
// ==UserScript== | |
// @name Use Markdown, sometimes, in your HTML. | |
// @author Paul Irish <http://paulirish.com/> | |
// @link http://git.io/data-markdown | |
// @match * | |
// ==/UserScript== | |
// If you're not using this as a userscript just delete from this line up. It's cool, homey. |
alias server='open http://localhost:8000 && python -m SimpleHTTPServer' |
# replace PAPERTRAIL_HOSTNAME and PAPERTRAIL_PORT | |
# see http://help.papertrailapp.com/ for additional PHP syslog options | |
function send_remote_syslog($message, $component = "web", $program = "next_big_thing") { | |
$sock = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP); | |
foreach(explode("\n", $message) as $line) { | |
$syslog_message = "<22>" . date('M d H:i:s ') . $program . ' ' . $component . ': ' . $line; | |
socket_sendto($sock, $syslog_message, strlen($syslog_message), 0, PAPERTRAIL_HOSTNAME, PAPERTRAIL_PORT); | |
} | |
socket_close($sock); |
####lsauer.com
###Overview of all chrome://
pages.
chrome://about/
###List of Pages as per v20.xxx
#!/usr/bin/env python | |
# Copyright 2012 Patrick Mueller | |
# Licensed under the Tumbolia Public License (see bottom) | |
# uses Google Static Maps functionality | |
# https://developers.google.com/maps/documentation/staticmaps/ | |
import os | |
import sys |
require 'tire' | |
# Tire.configure { logger STDERR, level: 'debug' } | |
Tire.index('movie-titles') do | |
delete | |
create \ | |
settings: { | |
index: { | |
analysis: { |
Updated: July 2nd (XE7)
Ron Amadeo of Android Police did a review of these experiments: http://www.androidpolice.com/2013/05/24/google-glasss-hidden-labs-features-ok-glass-everywhere-web-browsing-video-stabilization-and-more-video/
Google Glass has a series of Labs experiments that can be enabled on engineering or userdebug builds. Using APKTool, I've removed that restriction and now they can be enabled with root access.
To start, for example, the SOUND_SEARCH lab, type in a root shell