Skip to content

Instantly share code, notes, and snippets.

View benchonaut's full-sized avatar
👻

Benjamin Freitag benchonaut

👻
  • ( yes )
  • World
  • 04:10 (UTC +02:00)
View GitHub Profile
http://www.jobware.de/Job/Engineer-Presales-Security-und-IT-Grundschutz-m-w.69963535.html?jw_search_id=25289782633177197&jw_search_index=39
http://www.jobware.de/Job/IT-Fachbearbeiter-m-w-Schwerpunkt-Linux-Administration.69218245.html?jw_chl_seg=CRITEO
http://www.jobware.de/Job/Systemberater-in-Linux-Administration.69703615.html
http://www.jobware.de/Job/Systemadministrator-m-w-Linux-UNIX.69991525.html
http://www.jobware.de/Job/Linux-Admin-m-w.69346245.html
https://myracloud.com/de/karriere-job-und-praktikum/junior-linux-admin-in-berlin/
http://www.pro-linux.de/news/1/21898/nachwuchs-hacker-gesucht-cyber-security-challenge-in-berlin.html
https://www.monster.de/jobs/q-it-system-engineer-__2d-linux-server__2fhpc-__28m__2fw__29-__2d-217__2d05__2f2-jobs-l-berlin.aspx
## MAIN PROBLEM : WEAVE(FFSYNC) syncs no more than 2 montths or 5000 items of history, hardcoded (b*llsh*t)
## ALSO NO MORE THAN 5000 BOOKMARKS ARE SYNCED
##SOLUTION : use FEBE (https://addons.mozilla.org/en-US/firefox/addon/febe/contribute/roadblock/) ,
## export all history ( and bookmarks if more than 5000 ) to json , merge them , reimport
## ->note FEBE history*.json is not indexed, so we have to look for duplicates on our own
## NOTE:MOBILE-Firefox doesnt do FEBE (trid hard..) but the way is to install firefox40 with custom fxa addon,
#####then use custom sync server, and after that upgrade to a recent verssion
#######
opkg install kmod-usb-storage ip odhcpd vnstat zram-swap openvpn-polarssl kmod-usb-ohci usbutils screen block-mount kmod-usb2 fstools kmod-fs-ext4 kmod-sit e2fsprogs ip6table fdisk kmod-scsi-generic kmod-usb-uhci kmod-usb-storage-extras kmod-scsi-core
##CHROOTED: echo nameserver 8.8.8.8> /etc/resolv.conf ; mkdir -p /var/lock;opkg update
/ip dns static
add regexp=".*.windowsupdate.microsoft.com" address=10.0.0.2
add regexp=".*.update.microsoft.com" address=10.0.0.2
add regexp=".*.windowsupdate.com" address=10.0.0.2
add regexp=".*.download.windowsupdate.com" address=10.0.0.2
add regexp=".*.a.vimeocdn.com" address=10.0.0.2
add regexp=".*.b.vimeocdn.com" address=10.0.0.2
add regexp=".*.pdl.vimeocdn.com" address=10.0.0.2
add regexp=".*.player.vimeo.com" address=10.0.0.2
add regexp=".*.youtube.com" address=10.0.0.2
/ip dns static
add name=lb.usemaxserver.de address=10.0.0.2
add name=tracking.klickthru.com address=10.0.0.2
add name=gsmtop.net address=10.0.0.2
add name=click.buzzcity.net address=10.0.0.2
add name=ads.admoda.com address=10.0.0.2
add name=stats.pflexads.com address=10.0.0.2
add name=a.glcdn.co address=10.0.0.2
add name=wwww.adleads.com address=10.0.0.2
add name=ad.madvertise.de address=10.0.0.2
@benchonaut
benchonaut / .y0l0_lib.bash
Last active August 28, 2017 12:45
scripts
#__pictures_by_camera() { mkdir pictures_by_camera/;find -type f|sort|uniq |grep -e jpg$ -e log$ -e LOG$ -e JPG |while read file;do ( file $file|grep EXIF|sed 's/: JPEG.\+//g';while read exiffile;do datebase=$(exiftool -t $exiffile |grep -e Date|base64 -w0 ) ; modelbase=$(exiftool -t $exiffile |grep -e Model|base64 -w0 );echo -ne "\n"$(echo $exiffile|sed 's/.\+\///g')"...d..."$(echo $datebase|md5sum|cut -d" " -f1)"...m..."$(echo $modelbase|md5sum|cut -d" " -f1)"\n$(echo $datebase|base64 -d|while read timestampline;do echo $timestampline|head -c8 ;echo "$timestampline"|cut -f2-;done)" & done ) ; done ; } ;
# y0pid() { $(hostname -a)"::"$(id -u|cut -d" " -f1;)"::==::"$(id -un)::$$ ; } ;
ytdlpts="--all-subs --xattrs --embed-subs --add-metadata --xattrs --prefer-avconv ";ytdlfrstrnpts=" --no-post-overwrites";
n3t_flickrhosts() { curl -k "https://www.flickr.com/help/test"|grep test.png|sed 's/href="/\nhref="/g'|grep ^href|cut -d"/" -f3|sort|uniq ; echo flickr.com;echo www.flickr.com ; } ;
deb-src http://de.archive.ubuntu.com/ubuntu/ precise main restricted
deb http://de.archive.ubuntu.com/ubuntu/ precise-updates main restricted
deb-src http://de.archive.ubuntu.com/ubuntu/ precise-updates main restricted
deb http://de.archive.ubuntu.com/ubuntu/ precise universe
deb-src http://de.archive.ubuntu.com/ubuntu/ precise universe
deb http://de.archive.ubuntu.com/ubuntu/ precise-updates universe
deb-src http://de.archive.ubuntu.com/ubuntu/ precise-updates universe
deb http://de.archive.ubuntu.com/ubuntu/ precise multiverse
deb-src http://de.archive.ubuntu.com/ubuntu/ precise multiverse
deb http://de.archive.ubuntu.com/ubuntu/ precise-updates multiverse
##GOTO http://forum.odroid.com/viewtopic.php?f=79&t=12604
##LOAD https://mega.co.nz/#F!tpYmibgK!McPkWcmZ0nhz3KHVlAgl1Q
#H->#unxz odroid-u3-debian-jessie.img.xz
#H->#pv odroid-u3-debian-jessie.img | sudo tee /dev/mmcblk0 >/dev/null;time sync
##he forgot ssh keys in image
rm /etc/ssh/ssh*.pub /etc/ssh/*key
##get missing firmware
mkdir -p /lib/firmware/s5p-mfc/;
for file in s5p-mfc-v6.fw s5p-mfc.fw ;do curl -k "https://raw.githubusercontent.com/cernekee/linux-firmware/master/s5p-mfc/$fil""$file" > /lib/firmware/s5p-mfc/$file;done
apt-get update && apt-get upgrade
@benchonaut
benchonaut / README.md
Created November 19, 2017 12:38
mindmup → tiddlywiki

Mindmup WAS cool , but they choose do switch to closed source (B1TCHM0VE) , and require a Google/NSA Account as well ( Go4ckUSlts), so even their import / export function in MindSlt2 is nonsense. Luckily .mup files are simple json ,# and tiddywiki with map plugins also export/import to/from .json ... the troubles faced might be resolved...

IMAGES

both have base64 images, but mindmup defines width & height, tiddlymap needs an single image/png tiddler , icons have a size ( which shouldn't be higher than 150), so we choose to take the largest dimension and scale it by factor 0.2 ( if images in your mindmup scale to 1400px in largest dimension, use 0.1)

>

@benchonaut
benchonaut / hits.md
Last active November 20, 2017 00:46
hits

nightcall m83 - midnight city

BØRNS - 10,000 Emerald Pools

chemical brothers - galvanize

college & electric youth - a real hero

sebastian tellier - ritourne