Skip to content

Instantly share code, notes, and snippets.

View enilsen16's full-sized avatar
πŸ™‹β€β™‚οΈ
Oh hai

Erik Nilsen enilsen16

πŸ™‹β€β™‚οΈ
Oh hai
View GitHub Profile
@enilsen16
enilsen16 / my_app.ex
Created November 1, 2016 20:19 — forked from alanpeabody/my_app.ex
Websockets in Elixir with Cowboy and Plug
defmodule MyApp do
use Application
def start(_type, _args) do
import Supervisor.Spec, warn: false
children = [
Plug.Adapters.Cowboy.child_spec(:http, MyApp.Router, [], [
dispatch: dispatch
])
@enilsen16
enilsen16 / up-and-running-with-edeliver-on-do.md
Created March 26, 2016 22:24 — forked from mattweldon/up-and-running-with-edeliver-on-do.md
Getting Elixir / Phoenix running on Digital Ocean with edeliver

Build Server

  • Go to Digital Ocean
  • Create new droplet
  • London
  • Ubuntu
  • No apps
  • Add SSH keys
@enilsen16
enilsen16 / JSRat.ps1
Created January 29, 2016 06:12
Fileless JavaScript Reverse HTTP Shell
<#
Author: Casey Smith @subTee
License: BSD3-Clause
.SYNOPSIS
Simple Reverse Shell over HTTP. Execute Commands on Client.
@enilsen16
enilsen16 / osx-for-hackers.sh
Last active October 4, 2015 00:41 — forked from brandonb927/osx-for-hackers.sh
OSX for Hackers: Yosemite Edition. This script tries not to be *too* opinionated and any major changes to your system require a prompt. You've been warned. Also, please don't email me about this script, my poor inbox...
#!/bin/sh
# Alot of these configs have been taken from the various places
# on the web, most from here
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
# Set the colours you can use
black='\033[0;30m'
white='\033[0;37m'
red='\033[0;31m'