Skip to content

Instantly share code, notes, and snippets.


Wim Mostmans Sitebase

View GitHub Profile
Sitebase / tickets.json
Last active Sep 4, 2019
Test demo tickets
View tickets.json
"results": [
"objectId": 245,
"title": "API-22: APIs working too fast",
"link": "",
"created": "2016-09-15",
"priority": "HIGH",
"project": "API",
"reported_by": "",
Sitebase / index.html
Last active Jul 10, 2017
Ambassify default email template
View index.html
<html xmlns=""><head>
<meta charset="utf-8"> <!-- utf-8 works for most cases -->
<meta name="viewport" content="width=device-width"> <!-- Forcing initial-scale shouldn't be necessary -->
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <!-- Use the latest (edge) version of IE rendering engine -->
<meta name="x-apple-disable-message-reformatting"> <!-- Disable auto-scale in iOS 10 Mail entirely -->
<title></title> <!-- The title tag shows in email notifications, like Android 4.4. -->
<!-- Web Font / @font-face : BEGIN -->
<!-- NOTE: If web fonts are not required, lines 10 - 27 can be safely removed. -->
View test.scss
body {
background: $color-body;
Sitebase /
Last active Aug 22, 2016
Lightroom post-processing script to publish albums on Dropbox
# Script that can be used a post-processing script in lightroom export dialog
# It will auto move all file to your dropbox and use specific parts of the
# filename to create sub folders
# Example: 201009 - India-DSC_3493.jpg
# will be moved to the EXPORT_ROOT/2010 - India/DSC_3493.jpg
DROPBOX_ROOT=$(cat ~/.dropbox/info.json | python -c 'import sys, json; print json.load(sys.stdin)["personal"]["path"]')

Keybase proof

I hereby claim:

  • I am sitebase on github.
  • I am sitebase ( on keybase.
  • I have a public key whose fingerprint is 6084 694D D6F5 B8AD C85E 7150 2FD7 DED9 8FA5 E27A

To claim this, I am signing this object:

Sitebase /
Created Apr 28, 2016
Detect if a certain device is on the network or not. This should work better then a regular ping when you want to check for example phones that go into deep sleep mode.
# usage ./
nmap -sn $1 | grep -q latency
if [ "$result" -eq "1" ];
echo "Device is offline"
echo "Device is online"
Sitebase / preset.json
Last active Mar 24, 2016
Custom rick roll Ambassify preset
View preset.json
"id": "unity-rickroll",
"name": "Rick Roll",
"description": "You are getting rick rolled.",
"icon": "users",
"creationDate": "Tue Mar 22 2016 15:10:33 GMT+0100 (CET)",
"author": "Wim Mostmans",
"copyright": "(C) 2016 VideoLab NV",
"authorEmail": "",
"authorUrl": "",
View index.html
<!DOCTYPE html>
<html xmlns="">
<meta charset="utf-8">
<link href='' rel='stylesheet' type='text/css'>
font-family: 'Lobster', cursive;