Skip to content

Instantly share code, notes, and snippets.

View peterdemartini's full-sized avatar
😎
being awesome

Peter DeMartini peterdemartini

😎
being awesome
View GitHub Profile

Citrix Skill

  • task
  • my task
  • notifications
  • podio notifications
  • meetings
  • my meetings
  • create meeting
  • netscaler status
@peterdemartini
peterdemartini / common-dependencies-rpi-gateblu.md
Created March 18, 2016 14:59
RPi Gateblu common dependencies

apt-get install build-essential python-dev libbluetooth-dev

@peterdemartini
peterdemartini / .travis.yml
Created April 20, 2016 20:04
Build on tags on Travis CI and Appveyor
branches:
only:
- /^v[0-9]/
Getting Started Links
"Windows UI Installer (32-bit)" -> https://s3-us-west-2.amazonaws.com/gateblu/gateblu-ui/latest/gateblu-win32-ia32.exe
"Windows UI Installer (64-bit)" -> https://s3-us-west-2.amazonaws.com/gateblu/gateblu-ui/latest/gateblu-win32-x64.exe
"Windows Service 32-bit" -> https://s3-us-west-2.amazonaws.com/gateblu/gateblu-service/latest/GatebluService-win32-ia32.msi
"Windows Service 64-bit" -> https://s3-us-west-2.amazonaws.com/gateblu/gateblu-service/latest/GatebluService-win32-x64.msi
Windows Docs
Gateblu UI Installer
set -g default-command /usr/local/bin/fish
set -g default-shell /usr/local/bin/fish
Trigger {Name}
Trigger hello {Name}
Trigger hi {Name}
Trigger start {Name}
Trigger open {Name}
Trigger trigger {Name}
Trigger {Name} there is a problem
Trigger {Name} I need help
Trigger {Name} {SymptomPrefix} {Symptom}
Trigger tell the {Name} {SymptomPrefix} {Symptom}
@peterdemartini
peterdemartini / one-liner.js
Last active November 28, 2016 17:17
SumTotalHack
m_objCurrentSco.TimeSession = `0000:${(Math.floor(Math.random() * (30 - 10 + 1)) + 10)}:${Math.floor(Math.random() * 55)}`; m_objCurrentSco.ScoreRaw = "100"; m_objCurrentSco.LessonStatus = "completed"; API.SetTotalTime(); API.SetPostComplete(true)
@peterdemartini
peterdemartini / gist:1bbcb83a6fcf02f6a92fa28337e22fc6
Created January 10, 2017 22:19
Find slow queries from compose mongo logs
zgrep -E ".*keysExamined.*[0-9]{3,}ms" mongodb82.log-2017-01-08.gz
http://localhost:3000/magic-link?uuid=6e0a26ac-765c-429a-bbe0-12fc7a97a80f&token=9ce75c5c6663bba7d14ba6ef120cadb23d9fb87a