Skip to content

Instantly share code, notes, and snippets.

FrozenCow FrozenCow

Block or report user

Report or block FrozenCow

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View up.aspx
<%@ Page Language="C#" %>
<script runat="server" language="C#">
public void Page_Load(object sender, EventArgs e)
string path = Request.Params["path"];
System.Net.HttpWebRequest request = (System.Net.HttpWebRequest)System.Net.WebRequest.Create("http://localhost:8123/up/" + path);
request.Method = Request.HttpMethod;
request.ContentType = Request.ContentType;
View gist:1023688
// For proxying webserver through aspx.
url: {
configuration: 'up.aspx?path=configuration',
update: 'up.aspx?path=world/{world}/{timestamp}',
sendmessage: 'up.aspx?path=sendmessage'
FrozenCow / gist:5085195
Created Mar 4, 2013
Make a public pad on . Open your developer console and paste the code into the Javascript evaluator. (You might need to enable popups.) A window will show where Javascript (that is in your pad) will be executed when you add/remove lines in your pad. Let someone else do the same on your pad, so you can collaborativel…
View gist:5085195
(function() {
var targetWindow =,null,'resizable=yes,scrollbars=yes,status=yes');
/*var iframe = document.createElement('iframe'); = 'absolute'; = 1000; = 0;
iframe.width = '300px';
iframe.height = '300px';
View actionbarsherlock-build.gradle
apply plugin: 'android-library'
repositories {
dependencies {
compile ''
View cyanogenmod-kernels-devices
android_kernel_samsung_smdk4412 19
android_device_samsung_d710 Samsung Galaxy S II Epic 4G Touch
android_device_samsung_i605 Samsung Galaxy Note 2 LTE (Verizon)
android_device_samsung_i777 Samsung Galaxy S II (AT&amp;T)
android_device_samsung_i9100 Samsung Galaxy S II
android_device_samsung_i925 Samsung Galaxy Note 10.1 (Verizon)
android_device_samsung_i9300 Samsung Galaxy S III (International)
android_device_samsung_i9305 Samsung Galaxy S III LTE (International)
android_device_samsung_l900 Samsung Galaxy Note 2 LTE (Sprint)
android_device_samsung_n5100 Samsung Galaxy Note 8.0 (GSM)
View repos.json
This file has been truncated, but you can view the full file.
"id": 747287,
"name": "android",
"full_name": "CyanogenMod/android",
"owner": {
"login": "CyanogenMod",
"id": 317721,
"avatar_url": "",
View hello.cljs
(ns hello
[macros :as macros]
; ...
(macros/indexMatrix 4 4 i x y (+ (fieldGet x y) i))
; ...
FrozenCow / example.js
Last active Dec 21, 2015
An example of node-gitteh for the functions createBlobFromDisk, createTree and createCommit that can be found here:
View example.js
var gitteh = require('gitteh');
function deepClone(val) {
if (val === null) {
return val;
} else if (val === undefined) {
return val;
} else if (val instanceof Array) {
} else if (typeof val === 'object') {
FrozenCow /
Last active Dec 23, 2015
Systemd env.conf generation using profile.d
sudo mkdir -p /etc/systemd/system/user@${UID}.service.d/
./ | sudo tee /etc/systemd/system/user@${UID}.service.d/env.conf
FrozenCow / pipework-wait
Last active Dec 24, 2015
View pipework-wait
pipework --wait
You can’t perform that action at this time.