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/sh | |
# Uses notify-send command. | |
# Install ruby-notify on Debian | |
"$@" | |
ret=$? | |
cmd="$@" | |
lvl=normal |
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 | |
# Depends on notify-send. Invoked from MDA (fetchmail etc). | |
while IFS= read -r line; do | |
#header="$header$line\n" | |
if [[ x$line = "xSubject:"* ]]; then | |
subject="$line" | |
fi | |
if [[ x$line = "xFrom:"* ]]; then |
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
#!/usr/bin/env python | |
# liuw | |
# Nasty hack to raise exception for other threads | |
import ctypes # Calm down, this has become standard library since 2.5 | |
import threading | |
import time | |
NULL = 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
diff --git a/arch/x86/xen/p2m.c b/arch/x86/xen/p2m.c | |
index 1b267e7..2a6f677 100644 | |
--- a/arch/x86/xen/p2m.c | |
+++ b/arch/x86/xen/p2m.c | |
@@ -724,7 +724,9 @@ int m2p_add_override(unsigned long mfn, struct page *page, | |
return 0; | |
} | |
EXPORT_SYMBOL_GPL(m2p_add_override); | |
-int m2p_remove_override(struct page *page, bool clear_pte) | |
+int m2p_remove_override(struct page *page, bool clear_pte, |