Skip to content

Instantly share code, notes, and snippets.

View stmh's full-sized avatar

Stephan Maximilian Huber stmh

View GitHub Profile
'brskroom/cask'
tap "caskroom/versions"
#docker sync
tap 'eugenmayer/dockersync'
brew 'unison'
brew 'unox'
brew 'rsync'
# benchmarking tool
brew 'wrk'
# Core Homebrew
@stmh
stmh / autoload.php
Last active January 4, 2016 22:01
a barebone composer.json to install drupal 8.0 in a subfolder of a project-folder.The included autoload.php replaces the autoload.php from drupal, so all dependencies gets resolved.
<?php
/**
* @file
* Includes the autoloader created by Composer.
*
* @see composer.json
* @see index.php
* @see core/install.php
* @see core/rebuild.php
@stmh
stmh / Dockerfile
Created March 30, 2015 21:39
dockerfile for dpxdt, phantomjs, etc
FROM node:0.10
MAINTAINER Stephan Maximilian Huber "stephan@factorial.io"
RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y -q chrpath libfreetype6 libfreetype6-dev libssl-dev libfontconfig1 python python-dev python-distribute python-pip build-essential imagemagick
RUN curl -O -L https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-linux-x86_64.tar.bz2
RUN tar xvjf phantomjs-1.9.8-linux-x86_64.tar.bz2
RUN mv phantomjs-1.9.8-linux-x86_64/bin/phantomjs /usr/local/bin/
RUN rm -f phantomjs-1.9.8-linux-x86_64.tar.bz2 && rm -rf phantomjs-1.9.8-linux-x86_64/bin/phantomjs
@stmh
stmh / readme.md
Last active August 29, 2015 14:14
Sublime, code_sniffer and drupal

Sublime general settings

Open your user-preferences, and add/edit the following settings:

{
	"default_line_ending": "unix",
	"ensure_newline_at_eof_on_save": true,
	"fallback_encoding": "UTF-8",
 "rulers":

Keybase proof

I hereby claim:

  • I am stmh on github.
  • I am stephanhuber (https://keybase.io/stephanhuber) on keybase.
  • I have a public key whose fingerprint is 2C75 058B 5178 5CDA 5BE9 AC76 6F36 6FB7 E807 C49E

To claim this, I am signing this object:

@stmh
stmh / web-app.html
Created July 5, 2012 12:47 — forked from tfausak/ios-8-web-app.html
Web app with icons and startup images for iOS
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta content="yes" name="apple-mobile-web-app-capable">
<!-- iPhone -->
<link href="http://taylor.fausak.me/static/images/apple-touch-icon-57x57.png"
sizes="57x57"
/**
* Provides requestAnimationFrame in a cross browser way.
* @author greggman / http://greggman.com/
*/
if ( !window.requestAnimationFrame ) {
window.requestAnimationFrame = ( function() {
return window.requestAnimationFrame ||