This file contains 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
<%@ Page Language="C#" %> | |
<script runat="server" language="C#"> | |
public void Page_Load(object sender, EventArgs e) | |
{ | |
try | |
{ | |
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; |
This file contains 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
// For proxying webserver through aspx. | |
url: { | |
configuration: 'up.aspx?path=configuration', | |
update: 'up.aspx?path=world/{world}/{timestamp}', | |
sendmessage: 'up.aspx?path=sendmessage' | |
}, |
This file contains 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
(function() { | |
var targetWindow = window.open(null,null,'resizable=yes,scrollbars=yes,status=yes'); | |
/*var iframe = document.createElement('iframe'); | |
iframe.style.position = 'absolute'; | |
iframe.style.zIndex = 1000; | |
iframe.style.left = 0; | |
iframe.width = '300px'; | |
iframe.height = '300px'; |
This file contains 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
apply plugin: 'android-library' | |
repositories { | |
mavenLocal() | |
} | |
dependencies { | |
compile 'com.google.android:support-v4:r7' | |
} |
This file contains 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
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&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) |
This file has been truncated, but you can view the full file.
This file contains 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
[ | |
{ | |
"id": 747287, | |
"name": "android", | |
"full_name": "CyanogenMod/android", | |
"owner": { | |
"login": "CyanogenMod", | |
"id": 317721, | |
"avatar_url": "https://secure.gravatar.com/avatar/650880aaf4690b802c34232a697dd022?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-org-420.png", | |
"gravatar_id": "650880aaf4690b802c34232a697dd022", |
This file contains 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
(ns hello | |
(:require-macros | |
[macros :as macros] | |
) | |
) | |
; ... | |
(macros/indexMatrix 4 4 i x y (+ (fieldGet x y) i)) | |
; ... |
This file contains 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
var gitteh = require('gitteh'); | |
function deepClone(val) { | |
if (val === null) { | |
return val; | |
} else if (val === undefined) { | |
return val; | |
} else if (val instanceof Array) { | |
return val.map(deepClone); | |
} else if (typeof val === 'object') { |
This file contains 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
sudo mkdir -p /etc/systemd/system/user@${UID}.service.d/ | |
./generate-systemd-envconf-from-profile.sh | sudo tee /etc/systemd/system/user@${UID}.service.d/env.conf |
This file contains 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
#!/bin/bash | |
pipework --wait | |
$@ |
OlderNewer