Skip to content

Instantly share code, notes, and snippets.

View binodluitel's full-sized avatar

Binod Luitel binodluitel

  • StackPath
  • Dallas, Texas
View GitHub Profile
@binodluitel
binodluitel / openconnect.md
Created March 4, 2019 18:15 — forked from moklett/openconnect.md
OpenConnect VPN on Mac OS X

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

@binodluitel
binodluitel / mage-set-perms
Created April 25, 2017 02:14 — forked from amineasli/mage-set-perms
Setup Magento permissions/ownership following the recommendations of the official article : http://devdocs.magento.com/guides/m1x/install/installer-privileges_after.html
#!/bin/bash
#Check root access
if [ "$UID" != 0 ]
then
echo "This shell script must be run as root."
exit 2
fi
package main
import (
"github.com/streadway/amqp"
"log"
"os"
"os/signal"
"runtime"
"syscall"
"time"