Skip to content

Instantly share code, notes, and snippets.

View jonnyli1125's full-sized avatar

Jonny Li jonnyli1125

View GitHub Profile
@Francesco149
Francesco149 / shige-skins.md
Last active March 31, 2024 14:53
Shigetora / Cookiezi skin compilation
@zhuowei
zhuowei / glasslabs.md
Last active December 17, 2015 14:29
Glass Labs experiments: what they do

Glass Lab Experiments

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

@zhuowei
zhuowei / index.html
Created November 26, 2012 05:08
Fail MCDawn Heartbeat sender in html
<!DOCTYPE html>
<html>
<head>
<title>MCDawn Heartbeat pacemaker</title>
</head>
<body>
<h1>This is a fail. I'm making a note here: HUGE FAILURE</h1>
<form id="mainform" target="outputframe" method="get" action="http://servers.mcdawn.com/beat.php">
<p>Static:</p>
<p>Port: <input name="port" value="25565"></p>
@brettz9
brettz9 / html5-dataset.js
Last active April 29, 2023 14:58
Dataset Shim
/**
* Add dataset support to elements
* No globals, no overriding prototype with non-standard methods,
* handles CamelCase properly, attempts to use standard
* Object.defineProperty() (and Function bind()) methods,
* falls back to native implementation when existing
* Inspired by http://code.eligrey.com/html5/dataset/
* (via https://github.com/adalgiso/html5-dataset/blob/master/html5-dataset.js )
* Depends on Function.bind and Object.defineProperty/Object.getOwnPropertyDescriptor (polyfills below)
* All code below is Licensed under the X11/MIT License
anonymous
anonymous / Spammer.cpp
Created October 12, 2012 07:12
SynSpam
#include <iostream>
#include <windows.h>
#include <time.h>
using namespace std;
//LE SLEEP FUNCTIONZOR
void sleep(int time) {
clock_t start=clock();
while(clock() - start < (time));
@zhuowei
zhuowei / aaaghhhh.txt
Created October 12, 2012 02:12
Aaaaaghhhhh!
########
### ###
# ~ ~ #
# <O> <O> #
# /\ #
# (__) #
# __________ #
# |''''''''| #
# \ / #
# \ / #
@terrancesnyder
terrancesnyder / regex-japanese.txt
Created November 7, 2011 14:05
Regex for Japanese
Regex for matching ALL Japanese common & uncommon Kanji (4e00 – 9fcf) ~ The Big Kahuna!
([一-龯])
Regex for matching Hirgana or Katakana
([ぁ-んァ-ン])
Regex for matching Non-Hirgana or Non-Katakana
([^ぁ-んァ-ン])
Regex for matching Hirgana or Katakana or basic punctuation (、。’)