Skip to content

Instantly share code, notes, and snippets.

Wim Mostmans Sitebase

Block or report user

Report or block Sitebase

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Sitebase
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": "http://example.com/1",
"created": "2016-09-15",
"priority": "HIGH",
"project": "API",
"reported_by": "msmith@hubspot.com",
@Sitebase
Sitebase / index.html
Last active Jul 10, 2017
Ambassify default email template
View index.html
<html xmlns="http://www.w3.org/1999/xhtml"><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
Sitebase / LRDropboxPublish.sh
Last active Aug 22, 2016
Lightroom post-processing script to publish albums on Dropbox
View LRDropboxPublish.sh
# 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"]')
EXPORT_ROOT="$DROPBOX_ROOT/Photos/Albums"
LOGFILE="$EXPORT_ROOT/lightroom-export.log"
View keybase.md

Keybase proof

I hereby claim:

  • I am sitebase on github.
  • I am sitebase (https://keybase.io/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
Sitebase / device-detect.sh
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.
View device-detect.sh
# usage ./device-detect.sh 192.168.1.5
nmap -sn $1 | grep -q latency
result=$?
if [ "$result" -eq "1" ];
then
echo "Device is offline"
else
echo "Device is online"
@Sitebase
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": "wim@bla.com",
"authorUrl": "http://sitebase.be",
View index.html
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8">
<link href='https://fonts.googleapis.com/css?family=Lobster' rel='stylesheet' type='text/css'>
<style>
body{
font-family: 'Lobster', cursive;
font-weight:normal;
font-size:3em;
You can’t perform that action at this time.