// Udo Vetter: Sie haben das Recht zu schweigen

RA Udo Vetters Vortrag, gehalten auf dem 23C3:1)

"Durchsuchung, Beschlagnahme, Vernehmung - Strategien für den Umgang mit Polizei und Staatsanwalt"

Beschreibung:

[…] Wer online lebt und arbeitet, tut dies unter den Augen der Strafverfolger. Der Vortrag schildert, wie Durchsuchungen, Vernehmungen und Ermittlungsverfahren ablaufen. Er erklärt, wie man sich gegenüber Polizei und Staatsanwaltschaft richtig verhält. […]

Die Folien (PPT) sind ebenfalls online verfügbar, die Video-Datei2) kann auf der verlinkten Vortragsseite direkt heruntergeladen werden.3)

1)
viele (inkl. mir selbst), werden das Video schon lange kennen, aber ich hatte erst neulich ein Gespräch darüber, weshalb ich das Video mal wieder hervorkrame
2)
23C3-1346-de-sie_haben_das_recht_zu_schweigen.m4v
3)
falls sich dies einmal ändert, weitere Mirror s. Übersicht

// Little known PHP features: calling echo with multiple parameters

First of all, many PHP newbies do not even know that echo is not a function but a language construct. This means, the following two lines of code do the same:

  echo "Hello world\n"; //because echo is NO function, brackets are not needed.
  echo("Hello world\n");

IMHO, you should use the first variant without brackets to signalize that echo is not a function4).

But even experienced developers do not know the possibility to pass more than one parameter - there is no need to concatenate strings with a dot (which may be useful in some situations). The following code does the same three times:

  $str1 = "one";
  $str2 = "two";
  $str3 = "three\n\n";
 
  //newbie style, most overhead because echo is called more often than needed
  echo $str1;
  echo $str2;
  echo $str3;
 
  //common style with concatenated string (on my machines with PHP 5.2,
  //64bit *ix, this is the fastest)
  echo $str1.$str2.$str3;
 
  //little known: pass more than one parameter (on my machines with PHP <5.1,
  //this is the fastest)
  echo $str1, $str2, $str3;

My personal experience/small note about the performance: the more variables are involved + the bigger their data is, the slower is a concatenated string in comparison to passing the vars as parameter. But the difference is getting really small on PHP >=5.2. Additionally, echo is really fast, no matter if you use concatenation or commas. Just prevent unneeded echo calls and everything is fine. :-)

4)
BTW: same with include[_once] and require[_once]

// Links: development

// Links: IT security and privacy

// Links: Content-Mafia, Abmahnwahn

// Links: misc

// My favorite android applications [Update]

:!: The app names are linking QR Code images,5) containing an Android Market search query. Simply scan the code6) and visit the URL to install. You don't have to type in the stuff on your phone.

Must haves

  • Barcode Scanner - Reads 1D and 2D Barcodes (like QR Code).
  • BeamReader - IMHO the best PDF viewer (does not crash when opening very large PDF files like others).
  • ASTRO File Manager - Basic file manager.
  • ConnectBot - OpenSource SSH and Telnet client/terminal.
  • Last.fm - what to say? Last.fm for your phone..
  • K-9 Mail - OpenSource Email client, much better than the default one.7) Supports e.g. signatures, better IMAP, attachment2SDCard and much more.
  • NetCounter - Keeps track of your GSM/UMTS and WLAN traffic.
  • Signals - Quick overview over important signal codes like ASCII, Morse Codes, US Police Codes and stuff.
  • nswPlayer - Advanced Media Player (Video…).
  • TaskPanel - I really don't know why Android does not have a build-in TaskManager like this one…8)
  • Unit Converter - Convert different units into others (e.g miles2km etc.). Support for really many units.
  • Wifi Analyzer - Helps you to find a less crowded channel for your wireless router.

Nice to have

  • i-nigma - A QR Code scanner with a better pattern recognition as “Barcode Scanner” but less features and a crappy UI.
  • aTrackDog - Keep track of app updates for all your installed stuff (IMHO more comfortable than opening “Market → Downloads”).
  • FahrplanDE - timetable for Deutsche Bahn.
  • Twitter - what to say? Twitter for your phone.
  • Facebook - what to say? Facebook for your phone (I use it more often there than on my PC).
  • Leo - LEO dictionary for your phone.
  • Layar - augmented reality browser.
  • Bubble - simple spirit level for your phone (I know - there will be one day, I am happy to have this even I did not “really” used it until now)
  • Shazam - Listens to music and shows you which track was played.
  • Sniper shot! - Because the enemy sits next to you ;-) LOL
  • Speed Test - speedtest.net for your phone.
  • Talk To Me - Translates spoken stuff - not perfect but good enough. Really impressive.
5)
created with goQR.me/QR-Server
6)
e.g. with the mentioned “Barcode Scanner”
7)
but internally based on it
8)
but you should not kill everything at any time: Hintergrund: Arbeitsspeicher-Verwaltung unter Android :lang_de:

// Links: webdevelopment accessibility

// Links: misc

// VPN Uni Freiburg: use it with Ubuntu Linux

I helped my girlfriend's sister to configure the university's VPN on her Ubuntu notebook a few weeks ago. The available documents simply… :-x. Only two PDFs are containing some hints. Additionally, the IT guys can't help you.9)

However… it worked after all. If someone has the same problem, here are a my hints to get the University Freiburg VPN connection established:

  1. Install VPNC:10) sudo apt-get install network-manager-vpnc
    Please restart your network or reboot after installation, otherwise it may not work.
  2. Open the network manager/VPN applet:
  3. Click on “Add…”. A wizard opens, helping you to create the needed VPN profile. Please choose “Cisco compatible VPN client (vpnc)” and click on “Create…”.
  4. “Username” is your RZ account username.
  5. “Password” is your RAS password (:!: NOT your common RZ account password).
  6. Fill out the gateway11) and groupname + grouppassword:
    • if you are using the campus network (WLAN/red LAN boxes):
      ipsec-rz.vpn.uni-freiburg.de and campus + campus
    • if you want to connect via internet:
      home-rz.vpn.uni-freiburg.de and home + home
  7. Choose NAT-T as NAT-Traversal.

Now you should be able to establish/close the connection by a simple click on the VPN profile using the network manager applet (look at the first screenshot, there you can see the profile “VPN Uni Freiburg Home” I created before writing this post). Hope that helps :-)

9)
really, the RZ support is not able to help 'cause the guys there simply don't know what to do.
10)
VPNC will be embedded into the common VPN GUI of the GNOME network manager, you will find some more options after installing it.
I'm no native speaker (English)
Please let me know if you find any errors (I want to improve my English skills). Thank you!
Recent Comments
QR Code: URL of current page
QR Code: URL of current page start (generated for current page)