Skip to content

Instantly share code, notes, and snippets.

View wifionice_login.sh
#!/bin/sh
URL=http://www.wifionice.de/de/
COOKIEFILE=$(mktemp /tmp/wifionice_login.XXXXXX)
CSRF=$(curl -s $URL -D $COOKIEFILE | grep -oe "<input type=\"hidden\" name=\"CSRFToken\" value=\"[a-z0-9]*\">" | cut -d \" -f 6)
curl -S '$URL' -b $COOKIEFILE --data "login=true&CSRFToken=$CSRF&connect="
rm $COOKIEFILE
exit 0
@NiciDieNase
NiciDieNase / fahrplan_mappings.json
Last active Dec 28, 2019
mapping EventFahrplan build-flavours to relevant conferences
View fahrplan_mappings.json
{
"ccc35c3": ["35C3-chaoswest","35C3-oio","35c3", "35c3-wikipakawg"],
"cccamp2019" : [ "camp2019"],
"ccc36c3" : ["36c3"]
}
@NiciDieNase
NiciDieNase / example_streams_v2.json
Created Dec 27, 2018
Example for streaming.media.ccc.de/streams/v2.json based on query from 35c3, replaced stream urls with dummys
View example_streams_v2.json
[
{
"conference": "35C3",
"slug": "35c3",
"author": "CCC",
"description": "Live streaming from the 35th Chaos Communication Congress",
"keywords": "35C3, Hacking, Chaos Computer Club, Video, Music, Podcast, Media, Streaming, Hacker, Leipzig, Refreshing Memories",
"schedule": "http://data.c3voc.de/35C3/everything.schedule.xml",
"startsAt": "2018-12-27T05:00:00+0000",
"endsAt": "2018-12-30T19:00:00+0000",
@NiciDieNase
NiciDieNase / hs-sshuttle.sh
Last active Nov 24, 2015
SSH-Tunnel/sshuttle-Skript für das Netz der HS Karlsruhe
View hs-sshuttle.sh
#!/bin/bash
# HS-Kürzel
HSUSER=
# User auf Zielrechner (für sshuttle)
REMOTEUSER=
# sshuttle-Zielhost
SSHUTTLEHOST=
# local port for to forward remote port to
FORWARDPORT=9222
View keybase.md

Keybase proof

I hereby claim:

  • I am nicidienase on github.
  • I am nicidienase (https://keybase.io/nicidienase) on keybase.
  • I have a public key whose fingerprint is E8E4 A1DB AE0D B02E CCA2 C133 675E 97E3 00FD D4CC

To claim this, I am signing this object: