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 -ur telepathy-rakia-0.7.4.orig/rakia/call-channel.c telepathy-rakia-0.7.4/rakia/call-channel.c | |
--- telepathy-rakia-0.7.4.orig/rakia/call-channel.c 2012-05-08 18:51:51.000000000 +0200 | |
+++ telepathy-rakia-0.7.4/rakia/call-channel.c 2012-09-10 23:06:47.180994786 +0200 | |
@@ -690,6 +690,7 @@ | |
media_added_cb (RakiaSipSession *session, RakiaSipMedia *media, | |
RakiaCallChannel *self) | |
{ | |
+ TpBaseChannel *bc = TP_BASE_CHANNEL(self); | |
TpCallContentDisposition disposition; | |
const gchar *name; |
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/python | |
import gobject | |
import dbus | |
import pyinotify | |
from dbus.mainloop.glib import DBusGMainLoop | |
class CpufreqController(pyinotify.ProcessEvent): | |
minfreq = 125000 | |
def getMinfreq(self): |
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/sed -nf | |
# | |
# Generate RSS-Feed from http://www.german-bash.org/action/latest | |
# | |
# Copyright (C) 2008,2011 by Stefan Siegl <[email protected]> | |
# License: GPLv3+ | |
# | |
# Use it like this: | |
# wget -U "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100618 Iceweasel/3.5.9 (like Firefox/3.5.9)" \ | |
# -q -O- "http://www.german-bash.org/action/latest" | gbo-to-rss |
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
import gobject | |
import dbus | |
from dbus.mainloop.glib import DBusGMainLoop | |
def msg_filter(_bus, msg): | |
if msg.get_member() != "Notify": return | |
args = msg.get_args_list() | |
print "%s:%s" % (args[3], args[4]) | |
if __name__ == '__main__': |
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
;;; php-doc.el --- doc block generator/extractor for php | |
;; Copyright (C) 2010, 2013 Stefan Siegl <[email protected]> | |
;; Maintainer: Stefan Siegl <[email protected]> | |
;; Author: Stefan Siegl <[email protected]> | |
;; Keywords: php docblock | |
;; Created: 2010 | |
;; Modified: 2013-09-14 | |
;; X-URL: https://gist.github.com/stesie |
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
(require 'ansi-color) | |
(defvar karma-buffer | |
"*karma-node-specs-buffer*") | |
(defun karma-compile () | |
"Run Karma" | |
(interactive) | |
(shell-command "karma run" (get-buffer-create karma-buffer)) | |
(display-buffer karma-buffer) | |
(with-current-buffer karma-buffer |
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
PHP_ARG_ENABLE(hello, whether to enable Hello | |
World support, | |
[ --enable-hello Enable Hello World support]) | |
if test "$PHP_HELLO" = "yes"; then | |
AC_DEFINE(HAVE_HELLO, 1, [Whether you have Hello World]) | |
PHP_NEW_EXTENSION(hello, hello.c, $ext_shared) | |
fi |
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
<?php | |
require_once __DIR__.'/V8JsNodeModuleLoader_FileAccessInterface.php'; | |
require_once __DIR__.'/V8JsNodeModuleLoader_NormalisePath.php'; | |
/** | |
* Simple Node.js module loader for use with V8Js PHP extension | |
* | |
* This class understands Node.js' node_modules/ directory structure | |
* and can require modules/files from there. | |
* |
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
<!doctype html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>AWS IoT Pub/Sub Demo</title> | |
</head> | |
<body> | |
<h1>AWS IoT Pub/Sub Demo</h1> | |
<form> | |
<button type="button" id="connect">connect!</button> |
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 bash | |
set -e | |
## SCAN settings | |
FORMAT="-l 0 -t 0 -x 210 -y 297" | |
MODE=color | |
RESOLUTION=300 | |
LANG=deu | |
postprocess_scan() { |
OlderNewer