Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Philipp Haussleiter phaus

🎯
Focusing
Block or report user

Report or block phaus

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
@phaus
phaus / dalmatinerfe.log
Created Jul 17, 2018
dalmatinerfe errors
View dalmatinerfe.log
==> /data/dalmatinerfe/log/console.log <==
2018-07-17 23:29:23.562 [info] <0.659.0> Application lager started on node 'dalmatinerfe@192.168.168.233'
2018-07-17 23:29:23.568 [info] <0.659.0> Application cowboy started on node 'dalmatinerfe@192.168.168.233'
2018-07-17 23:29:23.568 [info] <0.659.0> Application epgsql started on node 'dalmatinerfe@192.168.168.233'
2018-07-17 23:29:23.569 [info] <0.659.0> Application dflow started on node 'dalmatinerfe@192.168.168.233'
2018-07-17 23:29:23.579 [info] <0.659.0> Application ddb_connection started on node 'dalmatinerfe@192.168.168.233'
2018-07-17 23:29:23.590 [info] <0.659.0> Application pgapp started on node 'dalmatinerfe@192.168.168.233'
2018-07-17 23:29:23.590 [info] <0.659.0> Application dqe_idx_ddb started on node 'dalmatinerfe@192.168.168.233'
2018-07-17 23:29:23.591 [info] <0.659.0> Application dqe_fun started on node 'dalmatinerfe@192.168.168.233'
2018-07-17 23:29:23.591 [info] <0.659.0> Application sqlmig started on node 'dalmatinerfe@192.168.168.233'
@phaus
phaus / checkGC.sh
Last active Sep 27, 2016
check for OBJC_IMAGE_SUPPORTS_GC macOS Sierra compatibility
View checkGC.sh
#!/bin/bash
checkFile(){
FILE=$1
OTOOL=`which otool`
TAIL=`which tail`
IFS='/' read -ra ADDR <<< "$FILE"
unset APP
for i in "${ADDR[@]}"; do
if [[ ! "${i-}" = $'\n' ]]; then
@phaus
phaus / openldap.json
Last active Jun 13, 2016
that zone worked
View openldap.json
{
"alias": "ldap",
"hostname": "ldap",
"brand": "lx",
"kernel_version": "3.10.0",
"cpu_shares": 20,
"max_physical_memory": 512,
"quota": 5,
"image_uuid": "07b33b7a-27a3-11e6-816f-df7d94eea009",
"resolvers": [
@phaus
phaus / gitlab.json
Created Jun 13, 2016
failed to login after zone setup
View gitlab.json
{
"alias": "gitlab",
"hostname": "gitlab",
"brand": "lx",
"kernel_version": "3.10.0",
"max_physical_memory": 1024,
"cpu_shares": 40,
"quota": 64,
"image_uuid": "07b33b7a-27a3-11e6-816f-df7d94eea009",
"resolvers": [
@phaus
phaus / 2fact.js
Last active Jan 21, 2016
run a Docker Container on SmartOS
View 2fact.js
{
"alias": "2fact",
"brand": "lx",
"kernel_version": "3.13.0",
"docker": true,
"cpu_shares": 1000,
"zfs_io_priority": 1000,
"max_physical_memory": 1024,
"quota": 10,
"nowait": true,
View coreos1-config-coreos.yml
#cloud-config
hostname: "coreos1"
# include one or more SSH public keys
ssh_authorized_keys:
- ssh-rsa XXX
coreos:
units:
View job.output.format.json
{
"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"
},
@phaus
phaus / Vagrantfile
Last active Aug 29, 2015
vagrant-mesos
View Vagrantfile
# -*- 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.
View github.consolving.json
{
"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",
View installPlugins
#!/usr/bin/php
<?php
function getPlugins($url){
$opts = array('http' =>
array(
'method' => 'GET',
'header' => "Content-Type: text/html\r\n",
'content' => $body,
'timeout' => 60
)
You can’t perform that action at this time.