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 noun_type_url_or_arb = { | |
label: "url or text", | |
default: noun_type_url.default, | |
suggest: function nt_url_arb_sugg(text, html, callback, selectionIndices) { | |
var textLC = text.toLowerCase(); | |
if (textLC.substring(0,4) == "url ") { | |
return noun_type_url.suggest(text.substring(4), text.substring(4), callback, selectionIndices); | |
} else { |
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
CmdUtils.makeSearchCommand({ | |
names: ["addons"], | |
icon: "https://addons.mozilla.org/favicon.ico", | |
author: { | |
name: "Patrick O'Leary", | |
email: "[email protected]" | |
}, | |
description: "Searches Mozilla Add-ons for your words", | |
help: "Doesn't show experimental add-ons (like ubiquity) yet. Enter (part of) the name or the description of an add-on. The first 5 results will be displayed in the preview, hit return to go to the search page", | |
url: "https://addons.mozilla.org/en-US/firefox/search?q={QUERY}", |
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
--- a/pci/hda/patch_nvhdmi.c 2010-03-05 17:05:06.000000000 -0600 | |
+++ b/pci/hda/patch_nvhdmi_gt220.c 2010-03-06 14:27:18.000000000 -0600 | |
@@ -1335,6 +1335,8 @@ | |
.patch = patch_nvhdmi_8ch_89 }, | |
{ .id = 0x10de000b, .name = "GT21x HDMI", | |
.patch = patch_nvhdmi_8ch_89 }, | |
+ { .id = 0x10de000a, .name = "GT220 HDMI", | |
+ .patch = patch_nvhdmi_8ch_89 }, | |
{ .id = 0x10de000d, .name = "GT240 HDMI", | |
.patch = patch_nvhdmi_8ch_89 }, |
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
# Insert this into a non-login .rc file (.bashrc is good) | |
export EDITOR="emacsclient_smartframe.sh" | |
alias edit="${EDITOR} -n" |
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
package com.unsubsonic; | |
import java.security.MessageDigest; | |
import org.apache.commons.codec.binary.Hex; | |
public class Main { | |
public static void main(String[] a) { | |
String s = "[email protected]"; | |
try { |
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
obj-m += mod1.o |
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 | |
# wget https://gist.github.com/raw/707468/cm-ec2-init.sh && . cm-ec2-init.sh | |
# Epic CM-on-EC2 Init Script for ami-4a0df923 | |
# Preemptively agree to the JDK license | |
echo "sun-java6-bin shared/accepted-sun-dlj-v1-1 boolean true" | sudo debconf-set-selections | |
# Get required packages | |
sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner" | |
sudo aptitude update |
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
#NoTrayIcon | |
; Original tab switch behavior for most applications | |
#IfWinNotActive ahk_class MozillaWindowClass | |
Browser_Back::^PgUp | |
Browser_Forward::^PgDn | |
#IfWinNotActive | |
; Firefox-specific behavior for Home Dash | |
#IfWinActive ahk_class MozillaWindowClass |
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
VirtualDub.Open(VirtualDub.params[0],"",0); | |
VirtualDub.audio.SetSource(0); | |
VirtualDub.audio.SetMode(0); | |
VirtualDub.audio.SetInterleave(1,500,1,0,0); | |
VirtualDub.audio.SetClipMode(1,1); | |
VirtualDub.audio.SetConversion(0,0,0,0,0); | |
VirtualDub.audio.SetVolume(); | |
VirtualDub.audio.SetCompression(); | |
VirtualDub.audio.EnableFilterGraph(0); | |
VirtualDub.video.SetInputFormat(0); |
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
package com.olearyp.ponyboard; | |
import android.app.Activity; | |
import android.os.Bundle; | |
import android.view.Window; | |
import android.webkit.WebSettings; | |
import android.webkit.WebSettings.ZoomDensity; | |
import android.webkit.WebView; | |
public class PonySWFLauncherActivity extends Activity { |
OlderNewer