This file contains hidden or 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
1 gandro@ThinkPad ..examples/hello (git)-[master] % rustc --target=x86_64-rumprun-netbsd hello.rs :( | |
error: linking with `x86_64-rumprun-netbsd-gcc` failed: exit code: 1 | |
note: "x86_64-rumprun-netbsd-gcc" "-Wl,--as-needed" "-m64" "-L" "/home/gandro/Projekte/rust-rumprun/rumprun-packages/rust/build/destdir/lib/rustlib/x86_64-rumprun-netbsd/lib" "hello.0.o" "-o" "hello" "-Wl,--gc-sections" "/home/gandro/Projekte/rust-rumprun/rumprun-packages/rust/build/destdir/lib/rustlib/x86_64-rumprun-netbsd/lib/libstd-bb943c5a.rlib" "/home/gandro/Projekte/rust-rumprun/rumprun-packages/rust/build/destdir/lib/rustlib/x86_64-rumprun-netbsd/lib/libcollections-bb943c5a.rlib" "/home/gandro/Projekte/rust-rumprun/rumprun-packages/rust/build/destdir/lib/rustlib/x86_64-rumprun-netbsd/lib/librustc_unicode-bb943c5a.rlib" "/home/gandro/Projekte/rust-rumprun/rumprun-packages/rust/build/destdir/lib/rustlib/x86_64-rumprun-netbsd/lib/librand-bb943c5a.rlib |
This file contains hidden or 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
#ifndef __fat32_ebpb_DEV_H | |
#define __fat32_ebpb_DEV_H 1 | |
/* | |
* DEVICE DEFINITION: FAT32 Extended BIOS Parameter Block (EBPB) | |
* | |
* Copyright (c) 2010, ETH Zurich. | |
* All rights reserved. | |
* | |
* This file is distributed under the terms in the attached LICENSE | |
* file. If you do not find this file, copies can be found by |
This file contains hidden or 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 json, sys | |
from urllib.request import urlopen | |
API='http://xisbn.worldcat.org/webservices/xid/isbn/{isbn}?method=getMetadata&format=json&fl=*' | |
OPT_KEYS = ['author', 'city', 'ed', 'form', 'lang', 'lccn', | |
'originalLang', 'publisher', 'year'] | |
def get_metadata(isbn): | |
rawjson = urlopen(API.format(isbn=isbn)).readall().decode('utf-8') | |
response = json.loads(rawjson) |
This file contains hidden or 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 | |
set +o posix | |
BASEDIR="$(dirname "$(realpath "$0")")" | |
############################################################################## | |
# path to text file with line separted list of feed urls | |
FEED_FILE="${BASEDIR}/feeds.txt" |
This file contains hidden or 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 | |
function get_property() { | |
cat /sys/devices/platform/smapi/BAT0/$1 | |
} | |
PREFIX="/usr/share/icons/gnome/24x24/status/" | |
while true ; do | |
PERCENT=$(get_property remaining_percent) |
This file contains hidden or 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
#--------------------------------------------- | |
# TINT2 CONFIG FILE | |
#--------------------------------------------- | |
# For more information about tint2, see: | |
# http://code.google.com/p/tint2/wiki/Welcome | |
# | |
# For more config file examples, see: | |
# http://crunchbanglinux.org/forums/topic/3232/my-tint2-config/ | |
#--------------------------------------------- | |
# BACKGROUND AND BORDER |
This file contains hidden or 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
// Version 10.8.12 | |
var URL=unescape( | |
document.getElementById("movie_player").getAttributeNode("flashvars").value). | |
replace(/.*fmt_url_map=([0-9]+)\|.*&t=([^&]+).*&video_id=([A-Za-z0-9_-]+).*/, | |
"http://www.youtube.com/get_video?video_id=$3&t=$2&asv=&fmt=$1"); | |
alert(URL); |
This file contains hidden or 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 | |
# Version 10.8.12 | |
URL="http://www.youtube.com/get_video"$(wget -q -O - "$1" | echo -e "$(sed 's/+/ /g; s/%/\\x/g')" | grep 'var swfHTML' | \ | |
sed -re 's/.*fmt_url_map=([0-9]+)\|.*&t=([^&]+)&.*&video_id=([A-Za-z0-9_-]+).*/?video_id=\3\&t=\2\&asv=\&fmt=\1/') | |
echo "$URL" |
This file contains hidden or 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 | |
WIDTH=1280 | |
HEIGHT=800 | |
setterm -cursor off | |
mplayer -vo fbdev2 -quiet -zoom -screenw ${WIDTH} -screenh ${HEIGHT} -vf scale=${WIDTH}:-2 -sws 0 -fs ${@} | |
setterm -cursor on -clear |
This file contains hidden or 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
[B]§ 1 Anwendung dieser Regeln[/B] | |
Diese Regeln gelten für alle Mitglieder des Forums, inklusive Gäste (Gästeboard) und der Verwaltung (Administratoren und Moderatoren). | |
[B]§ 2 Was ist verboten?[/B] | |
[list=1] | |
[*] Beleidigungen, Hetze, Mobbing und Diskriminierung jeglicher Art innerhalb wie ausserhalb des Forums. | |
[*] Menschenverachtende, rechtsradikale oder gesetzeswidrige Äußerungen innerhalb wie ausserhalb des Forums. | |
[*] Angebot oder Nachfrage von urheberrechtlich- oder lizenzgeschützten Inhalten. |