ISH3030 TCS TürControlSysteme https://www.tcsag.de/fileadmin/user_upload/TCS_DE/Metanavigation/Downloads/Bedienungsanleitungen/BA_ISH3030.pdf
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
package main | |
import ( | |
"errors" | |
"fmt" | |
"net" | |
"os" | |
"sort" | |
"time" | |
) |
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
" tango-style vim color scheme | |
" 02/2014 by sithkarm <[email protected]> | |
" based on tango colorscheme <[email protected]> | |
" place into .vim/colors/krmnn | |
set background=dark | |
hi clear | |
if exists("syntax_on") | |
syntax reset |
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
" .vimrc | |
" 2009-2013 Thomas Karmann | |
" Lots of cool stuff robbed from http://ruderich.org/simon/config/vimrc | |
" set the runtime path to include Vundle and initialize | |
set nocompatible | |
filetype off | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() |
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
#!/usr/bin/env bash | |
# Put this script in "/etc/network/if-up.d/" and make it executable (chmod +x) | |
[ -z "$(iwconfig 2>/dev/null| grep 'WIFIonICE')" ] && exit | |
URL=http://www.wifionice.de/de/ | |
CSRF_TOKEN=$(curl http://www.wifionice.de/de/|grep -oE 'value="[0-9a-f]{32}"' | cut -d = -f2|sed 's/"//g') | |
POST_DATA=" | |
login=true&CSRFToken=${CSRF_TOKEN}&connect=" | |
curl -v -d "$(echo $POST_DATA |sed 's/ /%20/g')" curl -v -A "Mozilla/9000.0 (X11; Linux x86_64; rv:65.0) Gecko/20000000 Firefox/1337" -H "Cookie: csrf=${CSRF_TOKEN}" -d "${POST_DATA}" $URL |
- Whats the uid?
- psql -U gitea -W -d gitea -h localhost
- \c gitea
- DELETE from two_factor where uid = 1;
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/sh | |
PORT=$(vagrant ssh-config | grep Port | grep -o '[0-9]\+') | |
ssh -q \ | |
-o UserKnownHostsFile=/dev/null \ | |
-o StrictHostKeyChecking=no \ | |
-i ~/.vagrant.d/insecure_private_key \ | |
vagrant@localhost \ | |
-p $PORT \ | |
"$@" |
NewerOlder