Skip to content

Instantly share code, notes, and snippets.

View greyblue9's full-sized avatar
A day of coding is never a waste. Take 100 lines daily for 10 years 💻 🌟

David Reilly greyblue9

A day of coding is never a waste. Take 100 lines daily for 10 years 💻 🌟
View GitHub Profile
;-----------------------------------------
; Mac keyboard to Windows Key Mappings
;=========================================
; --------------------------------------------------------------
; NOTES
; --------------------------------------------------------------
; ! = ALT
; ^ = CTRL
; + = SHIFT
; # = WIN
package com.isobar.operationlife.util;
import android.media.MediaRecorder;
import java.io.IOException;
import java.util.Timer;
import java.util.TimerTask;
/**
* Created by anitasantoso on 17/07/2014.
@greyblue9
greyblue9 / Gmail Search URL
Created August 10, 2014 00:50
URL straight to Gmail keyword search results (good for phones)
https://mail.google.com/mail/u/0/?shva=1#search/{query}
@greyblue9
greyblue9 / Google (Now) Search results activity on Android
Created August 10, 2014 00:46
Package and component activity that shows the actual search results from Google Now/Home Widget/Voice searches.
Package:
com.google.android.googlequicksearchbox
Component (activity):
com.google.android.velvet.ui.VelvetActivity
AKA
su -c am start -n com.google.android.googlequicksearchbox/com.google.android.velvet.ui.VelvetActivity
@greyblue9
greyblue9 / get_lan_clients.js
Created February 2, 2014 15:18
<h1>Get LAN Clients<h1> <h2>A NodeJs-based command-line utility</h2> &copy; 2014 by David Reilly <hr/> Name of file: <span style="font-style: monospace">get_lan_clients.js</span>
/**
*
* get_lan_clients.js
*
* Outputs a parser-friendly list of LAN clients known by the local router.
*
* Dependencies:
* "request" module
* - install by issuing command 'npm install request'
*