Skip to content

Instantly share code, notes, and snippets.

View trapd00r's full-sized avatar
🐫
japh

magnus woldrich trapd00r

🐫
japh
View GitHub Profile
#include <stdio.h>
#include <stdlib.h>
#include <string.h> /* works without */
int main(int argc, char *argv[]) {
static const char *env[] = {
"HOME",
"XDG_CACHE_HOME", "XDG_CONFIG_HOME", "XDG_DATA_HOME",
#!/usr/bin/perl
my $number = shift;
if(!defined($number)) {
$number = '0739502574';
}
exec(
"dbus-send --system --type=method_call --print-reply --dest=com.nokia.csd.Call /com/nokia/csd/call com.nokia.csd.Call.CreateWith string:$number uint32:0"
);
[scp1@wiki ~]$ ri Rake
Rake
------------------------------------------------------------------------------
Also found in:
gem rake-0.8.7
[scp1@wiki ~]$ ri String
String < Object
#!/usr/bin/perl
# First off. Always use strict and warnings.
# There are places where you cant use strict or warnings, but you'll disable
# only a small part of it, like so:
# no strict 'refs';
# But you wont have to do that in some time.
# So let's add strict and warnings:
#!/usr/bin/perl
my $number = shift;
if(!defined($number)) {
$number = '0709203544';
}
exec(
"dbus-send --system --type=method_call --print-reply --dest=com.nokia.csd.Call /com/nokia/csd/call com.nokia.csd.Call.CreateWith string:$number uint32:0"
);
deb http://repository.maemo.org/extras/ fremantle free non-free
deb-src http://repository.maemo.org/extras/ fremantle free
deb http://repository.maemo.org/extras/ diablo free non-free
deb-src http://repository.maemo.org/extras/ diablo free
deb http://repository.maemo.org/extras/ gregale free non-free
deb-src http://repository.maemo.org/extras/ gregale free
deb http://repository.maemo.org/extras-testing/ fremantle free non-free
deb-src http://repository.maemo.org/extras-testing/ fremantle free
deb http://repository.maemo.org/extras-devel/ fremantle free non-free
deb-src http://repository.maemo.org/extras-devel/ fremantle free
ack sub $HOME/dev
3.77s user 0.35s system 20% cpu 19.890 total
grep -Pi --color=auto -r sub $HOME/dev
0.94s user 0.81s system 0% cpu 1:32:07.55 total
" xclipboard.vim
" Author: Magnus Woldrich <[email protected]>
" Version: 0.01
if(exists("g:loaded_xclipboard"))
finish
endif
let g:loaded_xclipboard = 1
#compdef pimpd2
local arguments curcontext="$curcontext"
typeset -A opt_args
arguments=(
{-cp,--copy}'[Copy song]'
{-cpa,--copy}'[Copy song]'
http://www.socom.com/?url=%2fen-us%2fError%2fRequirements%3fjs%3d1%26url%3d%252f%253furl%253d%25252fen-us%25252fError%25252fRequirements%25253fjs%25253d1%252526url%25253d%2525252f%2525253furl%2525253d%252525252fen-us%252525252fError%252525252fRequirements%252525253fjs%252525253d1%2525252526url%252525253d%25252525252f%25252525253furl%25252525253d%2525252525252fen-us%2525252525252fError%2525252525252fRequirements%2525252525253fjs%2525252525253d1%25252525252526url%2525252525253d%252525252525252f%252525252525253furl%252525252525253d%25252525252525252fen-us%25252525252525252fError%25252525252525252fRequirements%25252525252525253fjs%25252525252525253d1%252525252525252526url%25252525252525253d%2525252525252525252f%2525252525252525253furl%2525252525252525253d%252525252525252525252fen-us%252525252525252525252fError%252525252525252525252fRequirements%252525252525252525253fjs%252525252525252525253d1%2525252525252525252526url%252525252525252525253d%25252525252525252525252f%25252525252525252525253furl%25252525252525252525