Skip to content

Instantly share code, notes, and snippets.

version 5
server_torrent_ports="tcp/6881:6999 udp/4444"
client_torrent_ports="default"
server_torrentdht_ports="udp/6881"
client_torrentdht_ports="default"
# Accept all client traffic on any interface
interface "eth0 wlan0 wlan1" world
[ 57%] Built target iris_kopete_automoc
[ 57%] Building CXX object kopete/protocols/jabber/libiris/CMakeFiles/iris_kopete.dir/iris_kopete_automoc.o
In file included from /home/bkudria/tmp/kdenetwork/kopete/protocols/jabber/libiris/iris/xmpp/xmpp-core/xmpp.h:35,
from /home/bkudria/tmp/kdenetwork-build/kopete/protocols/jabber/libiris/../../../../../kdenetwork/kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/im.h:28,
from /home/bkudria/tmp/kdenetwork-build/kopete/protocols/jabber/libiris/../../../../../kdenetwork/kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/xmpp_ibb.h:29,
from /home/bkudria/tmp/kdenetwork-build/kopete/protocols/jabber/libiris/moc_xmpp_ibb.cpp:10,
from /home/bkudria/tmp/kdenetwork-build/kopete/protocols/jabber/libiris/iris_kopete_automoc.cpp:4:
/home/bkudria/tmp/kdenetwork/kopete/protocols/jabber/libiris/iris/xmpp/xmpp-core/xmpp_clientstream.h:23:20: error: QtCrypto: No such file or directory
In file included from /home/bku
(defun ido-goto-symbol ()
"Will update the imenu index and then use ido to select a symbol to navigate to"
(interactive)
(imenu--make-index-alist)
(let ((name-and-pos '())
(symbol-names '()))
(flet ((addsymbols (symbol-list)
(when (listp symbol-list)
(dolist (symbol symbol-list)
(let ((name nil) (position nil))
#! /bin/zsh -f
zstyle ':completion:*' completer _expand _complete _ignored _match _correct _approximate _prefix
zstyle ':completion:*' expand prefix suffix
zstyle ':completion:*' file-sort name
zstyle ':completion:*' group-name ''
zstyle ':completion:*' ignore-parents parent pwd
zstyle ':completion:*' list-colors ''
zstyle ':completion:*' matcher-list 'm:{[:lower:]}={[:upper:]}' '+m:{[:lower:][:upper:]}={[:upper:][:lower:]}' '+r:|[._-]=** r:|=**' '+l:|=* r:|=*'
zstyle ':completion:*' max-errors 1
(defun sane-beginning-of-line ()
"Moves to beginning-of-line, skipping indent"
(interactive)
(move-beginning-of-line 1)
(skip-chars-forward " \t"))
Test gist - can I update this with a PUT to the Gist URL?
(defun create-tags-file ()
(interactive)
(let*
((project-dir (read-directory-name "Project directory? "))
(project-tags-file (concat project-dir ".tags"))
(project-files (concat project-dir "*"))
(ctags-args '()))
(call-process "ctags-exuberant" nil nil t "-e" "-f" project-tags-file " " project-files))
)
class JavaClass {
int magicNumber;
public JavaClass (int inputNumber) {
magicNumber = inputNumber + 1;
}
}
HASHSTRING=`hostname`
if [[ $DISTRO = "CentOS" ]]; then
HASHSTRING="`hostname -f`"
fi
HOSTCOLORCODE=$(hosts.rb -d $HASHSTRING)
HOSTCOLORESCAPE=$'%{\e[38;5;%}'$HOSTCOLORCODE$'%{m%}'
@bkudria
bkudria / gist:69927
Created February 25, 2009 01:13
YQL query to get all followers' real names from the TimesPeople API
use 'http://github.com/bkudria/yql-tables/raw/dcf34a2d0be5b75b0a0d44bdb5d308f5f3a1f7f5/nyt/nyt.people.followers.xml' as followers;
select user_displayname from followers where apikey='your:api:key' and user-id='56039348'