Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Jeroen Baert Forceflow

🎯
Focusing
View GitHub Profile
@Forceflow
Forceflow / leopold.csv
Created Jun 14, 2020
Leopold Standbeelden TSP input
View leopold.csv
Place Activity Lat Long
Antwerpen Rubenslei 51.213160 4.413070
Aarlen 49.675160 5.824240
Bergen 50.453330 3.948740
Brussel Troonplein 50.840870 4.364400
Brussel Koningstuin 50.821673 4.371278
Ekeren 51.277136 4.418265
Gent 51.0447935 3.73233438
Genval 50.721161 4.493880
Halle 50.733190 4.237188
@Forceflow
Forceflow / url_to_ip.py
Created Jun 12, 2020
Python script to convert URL to IP and Country
View url_to_ip.py
import os
import argparse
import socket
import requests
# Get IP and Country from a URL using freegeoip online service
def get_ip_country_freegeoip(url):
print("FreeGeoIP: " + url + ": ", end='')
r = requests.get("http://freegeoip.net/json/"+url)
if not r.status_code // 100 == 2:
@Forceflow
Forceflow / stripmetadata.sh
Created Oct 10, 2019
Strip all metadata from video file using ffmpeg
View stripmetadata.sh
#!/bin/bash
#Usage: ./stripmetadata.sh filename.mp4 (or whatever video format ffmpeg takes)
# Fancy colors
RED='\033[1;31m'
GREEN='\033[1;32m'
NC='\033[0m'
# Grab variables
View gist:36f298d4c7a18f694baf798a045a9ef3
echo "Downloading latest argo tunnel / cloudflared"
wget https://bin.equinox.io/c/VdrWdbjqyF/cloudflared-stable-linux-arm.tgz
tar -xvzf cloudflared-stable-linux-arm.tgz
sudo service cloudflared stop
sudo cp ./cloudflared /usr/local/bin
sudo chmod +x /usr/local/bin/cloudflared
sudo service cloudflared start
echo "Updated cloudflared to"
cloudflared -v
echo "Removing downloaded files"
View Windows1809_endpoints_hosts
# MICROSOFT ENDPOINTS from https://docs.microsoft.com/en-us/windows/privacy/manage-windows-1809-endpoints
# ADDITIONAL ENDPOINTS from network logs
store-images.s-microsoft.com
ctldl.windowsupdate.com
login.live.com
dmd.metaservices.microsoft.com.akadns.net
dmd.metaservices.microsoft.com
cy2.vortex.data.microsoft.com.akadns.net
v10.vortex-win.data.microsoft.com
v20.vortex-win.data.microsoft.com
@Forceflow
Forceflow / Oculus_OVR_startstop.bat
Created Aug 4, 2017
Simple script to start/stop Oculus OVR runtime on Windows. Run as admin.
View Oculus_OVR_startstop.bat
net start "OVRService"
if %errorlevel% == 2 net stop "OVRService"
View gist:6e7fb5f4adc94073a92a
### Keybase proof
I hereby claim:
* I am Forceflow on github.
* I am jbaert (https://keybase.io/jbaert) on keybase.
* I have a public key whose fingerprint is 2981 6707 40E8 FF23 0509 47EA 30F2 857D 9129 3519
To claim this, I am signing this object:
You can’t perform that action at this time.