Skip to content

Instantly share code, notes, and snippets.

View wolf128058's full-sized avatar
🏠
Working from home

Wolf wolf128058

🏠
Working from home
  • 22:42 (UTC +01:00)
View GitHub Profile
@wolf128058
wolf128058 / gitaliases.sh
Created February 28, 2024 18:41
Set my favourite git-aliases
#!/bin/bash
git config --global alias.pushhash '!f() { branch=$(git rev-parse --abbrev-ref HEAD); git push $1 $2:$branch; }; f'
@wolf128058
wolf128058 / 7vsWild-Panama-Locations.osm
Created November 21, 2022 23:21
For those of you, that use (J)OSM. These are the guessed location of 7vsWild-Panama-Participants.
<?xml version='1.0' encoding='UTF-8'?>
<osm version='0.6' generator='JOSM'>
<bounds minlat='8.1856646' minlon='-79.2105676' maxlat='8.3439914' maxlon='-79.0200235' origin='CGImap 0.8.8 (2833719 spike-06.openstreetmap.org)' />
<node id='-142162' action='modify' visible='true' lat='8.31172035841' lon='-79.11800183064'>
<tag k='addr:unit' v='1' />
<tag k='contact:facebook' v='knossi' />
<tag k='contact:instagram' v='knossi' />
<tag k='contact:tiktok' v='TheRealKnossi' />
<tag k='contact:twitch' v='threalknossi' />
<tag k='contact:twitter' v='TheRealKnossi' />
#!/bin/bash
USER='MYCONTROLLERUSERNAME'
PASS='MYCONTROLLERPASSWORD'
URL='https://127.0.0.1:8443'
SITE='default'
# LOGIN
curl -s $URL'/api/login' -k -X POST \
-H "Referer: $URL/manage/account/login" \
@wolf128058
wolf128058 / quicksetuprobin.sh
Last active January 12, 2021 03:20
Quicksetup4Robin
#!/bin/sh
wget https://raw.githubusercontent.com/wolf128058/firmware/feature_robin4routers/files/usr/sbin/wgetspeedtest.sh -O /usr/sbin/wgetspeedtest.sh
chmod +x /usr/sbin/wgetspeedtest.sh
wget https://raw.githubusercontent.com/wolf128058/firmware/feature_robin4routers/files/usr/sbin/robin_print_map.sh -O /usr/sbin/robin_print_map.sh
chmod +x /usr/sbin/robin_print_map.sh
@wolf128058
wolf128058 / robin_print_map.sh
Last active October 25, 2020 01:04
Dem Robin sein Printmap
#!/bin/sh
# Print out local connection data for map creation
# do not do anything without maplevel "all"
map_level="$(uci -q get freifunk.@settings[0].publish_map 2> /dev/null)"
# [[ $map_level != "all" ]] && exit 0
# exit if uptime is less than an hour
uptime=$(awk '{print(int($1))}' /proc/uptime)

Keybase proof

I hereby claim:

  • I am re4jh on github.
  • I am wolf84 (https://keybase.io/wolf84) on keybase.
  • I have a public key ASC0KxaMxeVph-3VgMsen_KS89IsWh08ee8wToFgZj_Mhwo

To claim this, I am signing this object: