Skip to content

Instantly share code, notes, and snippets.

View PhillippOhlandt's full-sized avatar

Phillipp Ohlandt PhillippOhlandt

  • Cisco Systems
  • Hamburg, Germany
  • 06:10 (UTC +02:00)
View GitHub Profile
@PhillippOhlandt
PhillippOhlandt / package-custom.sh
Created December 3, 2016 09:31
deepstream custom build script for raspberry pie
#!/bin/bash
set -e
LTS_VERSION="6"
NODE_VERSION=$( node --version )
NODE_VERSION_WITHOUT_V=$( echo $NODE_VERSION | cut -c2-10 )
COMMIT=$( node scripts/details.js COMMIT )
PACKAGE_VERSION=$( node scripts/details.js VERSION )
UWS_VERSION=0.10.12 #$( node scripts/details.js UWS_VERSION )
PACKAGE_NAME=$( node scripts/details.js NAME )

Keybase proof

I hereby claim:

  • I am PhillippOhlandt on github.
  • I am phillipp (https://keybase.io/phillipp) on keybase.
  • I have a public key whose fingerprint is 02C7 4EF7 1C8E 2F1F ECD7 2D02 4866 DBF5 0E73 9056

To claim this, I am signing this object:

Verifying that +phillipp is my blockchain ID. https://onename.com/phillipp
@PhillippOhlandt
PhillippOhlandt / _head.twig
Created October 21, 2015 12:23
For my Bolt.cm + Pusher tutorial
{{ enablePusher() }}
<script>
(function() {
var records = pusher.subscribe('records');
records.bind('created', function(data) {
if(data.contenttype == 'entries'){
@PhillippOhlandt
PhillippOhlandt / index.twig
Last active October 21, 2015 12:03
For my Bolt.cm + Pusher tutorial
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1 entries">
{% setcontent records = "entries/latest/20" allowpaging %}
{% for record in records %}
<div class="post-preview">
@PhillippOhlandt
PhillippOhlandt / config.yml
Created October 21, 2015 09:00
For my Bolt.cm + Pusher tutorial
sitename: Liveblog Example
payoff: With Bolt and Pusher
theme: clean-blog
@PhillippOhlandt
PhillippOhlandt / nothingToDoHereFunction
Created May 20, 2015 10:00
Nothing to do here ASCII function
function nothingToDoHere($newLine = '<br>'){
return '
──────█▀▄─▄▀▄─▀█▀─█─█─▀─█▀▄─▄▀▀▀─────'.$newLine.'
──────█─█─█─█──█──█▀█─█─█─█─█─▀█─────'.$newLine.'
──────▀─▀──▀───▀──▀─▀─▀─▀─▀──▀▀──────'.$newLine.'
─────────────────────────────────────'.$newLine.'
───────────────▀█▀─▄▀▄───────────────'.$newLine.'
────────────────█──█─█───────────────'.$newLine.'
────────────────▀───▀────────────────'.$newLine.'
─────────────────────────────────────'.$newLine.'