Skip to content

Instantly share code, notes, and snippets.

View phaus's full-sized avatar
🦓

Philipp Haussleiter phaus

🦓
View GitHub Profile
@phaus
phaus / keybase.md
Last active August 29, 2015 13:57
keybase.md

Keybase proof

I hereby claim:

  • I am phaus on github.
  • I am phaus (https://keybase.io/phaus) on keybase.
  • I have a public key whose fingerprint is 005E CB60 0036 1E85 2D7C 81C5 153A 4947 48B2 1898

To claim this, I am signing this object:

@phaus
phaus / Vagrantfile
Created August 18, 2014 20:44
Vagrant OmniOS Crossbow Config
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "OmniOS-crossbow"
config.vm.box_url = "http://omnios.omniti.com/media/OmniOS_r151006c-r1.box"
config.vm.hostname = "omnios-crossbow"
config.vm.network "private_network", type: "dhcp"
config.vm.network :private_network, ip: "192.168.0.1"
#!/usr/bin/php
<?php
function getPlugins($url){
$opts = array('http' =>
array(
'method' => 'GET',
'header' => "Content-Type: text/html\r\n",
'content' => $body,
'timeout' => 60
)
{
"login": "consolving",
"id": 3236400,
"url": "https://api.github.com/orgs/consolving",
"repos_url": "https://api.github.com/orgs/consolving/repos",
"events_url": "https://api.github.com/orgs/consolving/events",
"members_url": "https://api.github.com/orgs/consolving/members{/member}",
"public_members_url": "https://api.github.com/orgs/consolving/public_members{/member}",
"avatar_url": "https://avatars.githubusercontent.com/u/3236400?v=2",
"name": "Consolving Network Solutions",
@phaus
phaus / Vagrantfile
Last active August 29, 2015 14:07
vagrant-mesos
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# All Vagrant configuration is done here. The most common configuration
# options are documented and commented below. For a complete reference,
# please see the online documentation at vagrantup.com.
{
"execution": "failed",
"chain_results": [
{
"result": "All parameters OK!",
"error": "",
"name": "common.validate_params",
"started_at": "2015-08-02T18:16:48.867Z",
"finished_at": "2015-08-02T18:16:48.871Z"
},
==> Downloading http://mercurial.selenic.com/release/mercurial-2.0.1.tar.gz
File already downloaded in /Library/Caches/Homebrew
/usr/bin/tar xf /Library/Caches/Homebrew/mercurial-2.0.1.tar.gz
==> make PREFIX=/usr/local/Cellar/mercurial/2.0.1 build
make PREFIX=/usr/local/Cellar/mercurial/2.0.1 build
python setup.py build
running build
running build_mo
creating mercurial/locale
creating mercurial/locale/da
@phaus
phaus / brew doctor
Created January 7, 2012 14:55
install mercurial with different path settings
Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected dylibs:
/usr/local/lib/libcdt.5.dylib
/usr/local/lib/libcgraph.6.dylib
/usr/local/lib/libgraph.5.dylib
/usr/local/lib/libgvc.5.0.0.dylib
#cloud-config
hostname: "coreos1"
# include one or more SSH public keys
ssh_authorized_keys:
- ssh-rsa XXX
coreos:
units:
@phaus
phaus / HowTo.txt
Created May 9, 2012 19:47
HowTo Setup a Play! Framework App
Download http://download.playframework.org/releases/play-2.0.1.zip and unzip it to your OSs optional Folder (e.g. /opt)
https://gist.github.com/
Add the script "play" to your Path.
Go into your play app and run
"play run"
(you can also use play start/stop for running the app in the background, then play status gives you an overview over the current app status)