03.02.10

Browsershots-Fabriken

Link: http://browsershots.org/

Ich hatte vor geraumer Zeit schon einmal auf BrowserShots verwiesen und bin vor kurzem wieder darauf gestoßen.

Dabei fiel mir dann auf, dass die Screenshots der Webseiten dort von Freiwilligen erstellt werden: der Hauptserver nimmt die Anfragen entgegen und verteilt sie an die einzelnen Factories/Fabriken. Auch der Code der Server und Factories scheint komplett offen zu liegen.

Also musste ich natürlich auch ein paar Fabriken auf meinem Server einrichten.

Full story »

29.01.10

Fleischfresser

Na dann..

Vielleicht hab ich da ja in der Hitze des Fegefeuers (oder in der Vorfreude darauf) auch wieder mal Lust drauf! ;|

Siehe auch: http://www.stupidedia.org/stupi/Fleischfresser und http://www.stupidedia.org/stupi/Vegetarier

Von Daniel in jaja, triviale Weisheiten29.01.10 German (DE) E-Mail
Schlagworte: , ,

27.01.10

TortoiseSVN/VCS GUI integration in jEdit

I've created the following macros to easily launch various SVN commands in TortoiseSVN at work.

To use them yourself, just create the displayed files (VCS/*.bsh) in your personal "macros" directory (~/.jedit/macros).

Code:

for i in ~/.jedit/macros/VCS/*; do echo "$i:"; cat $i; done
 
VCS/blame_current_file.bsh:
exec = "c:\\Programme\\TortoiseSVN\\bin\\TortoiseProc.exe /command:blame /path:\""+buffer.getPath()+"\" /line:"+(textArea.getCaretLine()+1);
exec( exec );
 
VCS/commit_current_file.bsh:
exec = "c:\\Programme\\TortoiseSVN\\bin\\TortoiseProc.exe /command:commit /path:\""+buffer.getPath()+"\" /logmsg:\""+buffer.getName()+": \"";
exec( exec );
 
VCS/diff_current_file.bsh:
exec = "c:\\Programme\\TortoiseSVN\\bin\\TortoiseProc.exe /command:diff /path:\""+buffer.getPath()+"\"";
exec( exec );
 
VCS/log_current_file.bsh:
exec = "c:\\Programme\\TortoiseSVN\\bin\\TortoiseProc.exe /command:log /path:\""+buffer.getPath()+"\"";
exec( exec );

You can now execute those macros either by calling them from the "Macros" menu, assign a shortcut to them or (my preferred way) via Ctrl-Enter, typing parts of them and then TAB-completing it (e.g. Ctrl-Enter, "log_", TAB, Enter).

They do not have "svn" in the name, since they might get extended to use the appropriate VCS GUI command in the future, for example by testing if there's a .svn control directory or using commands like "bzr st" or "git status" to check if it's a Bazaar/Git/... file.

(For debugging, you can use Macros.message( view, exec ); to display the "exec" value in a message)

By Daniel in development, Snippets2010-01-27 English (EU) Email

25.01.10

"Wild vor Wut / Weil wir viele sind" und nicht teilen wollen

Xavier Naidoo singt so etwas wie "Wir werden euch besiegen, weil es viel mehr von uns gibt" in "Wild vor Wut", aber wenn man dann nach Lyrics sucht, findet man Nachrichten wie:

Die Songtexte von "Xavier Naidoo" dürfen leider aufgrund von Einspruch der Rechteinhaber oder aus sonstigen rechtlichen Gründen (Jugendschutz/Verfassungsschutz) nicht auf Songtexte.com verlinkt werden.

So erreicht man nicht wirklich die Masse und die (insgesamt grossen) Kleinen.

15.01.10

Generic web proxy, available via hostname extension

I've just resurrected my generic web proxy (which fetches web pages for you and might alter them).

You can start browsing the internet on "l337" (leet speak) via http://www.google.com.leet.proxy.hackscheibe.de/ - or starting with any other host you like.

Anything works, as long as you append ".proxy.hackscheibe.de" to the host name.
"leet" will do a simple search and replace on the website contents, but e.g. "tor" will work, too: this allows you to surf anonymously via TOR (you might want to start with http://www.google.com.tor.proxy.hackscheibe.de ). Additionally, http://www.google.com.leet.tor.proxy.hackscheibe.de will let you surf anonymously on "leet speak".

More to come, watch http://proxy.hackscheibe.de/ - which holds TODOs currently only (and a simple link to reset your confirmation cookie).
Enjoy.

By Daniel in web life, Privacy2010-01-15 English (EU) Email

14.01.10

ftplicity/duply/duplicity: Get list of files in backup sorted by size

To get a list of files in your current backup, sorted by (current) file size, you can use the following snippet, which will create a file backup-size.list with the result.

Code:

for i in $(ftplicity moby list | tail -n +10 | head -n -1 | cut -b26-); do
  FILE="/$i";
  test -f $FILE && du $FILE;
done | sort -n -r > backup-size.list

I've used this to find the biggest files in the current backup which are not required to get backed up and excluded them via the exclude list feature of ftplicity/duply/duplicity (ftplicity or duply are frontends for duplicity).

1 2 3 4 5 6 7 8 9 10 11 ... 27 >>

Seitenleiste