Skip to content

Instantly share code, notes, and snippets.

obj-m += mod1.o
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 {
# Insert this into a non-login .rc file (.bashrc is good)
export EDITOR="emacsclient_smartframe.sh"
alias edit="${EDITOR} -n"
--- 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 },
@pao
pao / ubiquity_addons.js
Created January 22, 2010 01:51 — forked from folarb/x
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}",
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 {