Skip to content

Instantly share code, notes, and snippets.

Michael Graf MaerF0x0

Block or report user

Report or block MaerF0x0

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
View keybase.md

Keybase proof

I hereby claim:

  • I am maerf0x0 on github.
  • I am mikegraf (https://keybase.io/mikegraf) on keybase.
  • I have a public key ASC4WntHVSUdVwkA3vP9lffMGqNhIVMdw8k0Jn-iD36azAo

To claim this, I am signing this object:

@MaerF0x0
MaerF0x0 / main.go
Last active May 30, 2018
Quick n dirty redigo pipeline
View main.go
package main
import (
"fmt"
"log"
"os"
"time"
"github.com/garyburd/redigo/redis"
)
@MaerF0x0
MaerF0x0 / openconnect.md
Created May 11, 2016 — forked from moklett/openconnect.md
OpenConnect VPN on Mac OS X
View openconnect.md

Unfortunately, the Cisco AnyConnect client for Mac conflicts with Pow. And by "conflicts", I mean it causes a grey-screen-of-death kernel panic anytime you connect to the VPN and Pow is installed.

As an alternative, there is OpenConnect, a command-line client for Cisco's AnyConnect SSL VPN.

Here's how to get it set up on Mac OS X:

  1. OpenConnect can be installed via homebrew:

     brew update
     brew install openconnect
    
@MaerF0x0
MaerF0x0 / consul.sh
Last active Apr 4, 2016 — forked from ianunruh/consul.sh
Install Consul on Ubuntu 14.04
View consul.sh
#!/bin/bash
apt-get install -y curl unzip
mkdir -p /var/lib/consul
mkdir -p /usr/share/consul
mkdir -p /etc/consul/conf.d
export CONSUL_VER=0.6.4
export CONSUL_FILE=consul_$(CONSUL_VER)_linux_amd64.zip
#eg: https://releases.hashicorp.com/consul/0.6.4/consul_0.6.4_linux_amd64.zip
@MaerF0x0
MaerF0x0 / gist:7242600
Created Oct 31, 2013
Meteor publish and approximate SQL
View gist:7242600
Meteor.publish(
'scores',
function() {
return Scores.find(
{score:{$gt:100}},
{
fields: {user:1,score:1},
sort:{score:-1},
limit:10,
skip:pageNumber*pageSize
@MaerF0x0
MaerF0x0 / error
Created Aug 26, 2013
Error occurring after I modify the minimongo.js code.
View error
mrt
Stand back while Meteorite does its thing
Done installing smart packages
Ok, everything's ready. Here comes Meteor!
[[[[[ ~/programming/nodejs/charter-watch/app ]]]]]
You can’t perform that action at this time.