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 / gist:b77a1532ee5fb9beb121
Last active August 29, 2015 14:14
CS resources
@enilsen16
enilsen16 / autoexec.cfg
Created February 16, 2015 19:36
CS GO Config
// Crosshair(big light green crosshair)
cl_crosshairstyle "4"
cl_crosshairsize "5"
cl_crosshairthickness "1"
cl_crosshairgap "1"
cl_crosshair_drawoutline "1"
cl_crosshaircolor "4"
cl_crosshairdot "1"
// Viewmodel(Counter Stike Source Style for couch mode) and Movement Shifting
@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'
@enilsen16
enilsen16 / dropkick.sh
Created December 18, 2015 22:10
Disable Wifi Cameras
#!/bin/bash
#
# DROPKICK.SH
#
# Detect and Disconnect the DropCam and Withings devices some people are using to
# spy on guests in their home, especially in AirBnB rentals. Based on Glasshole.sh:
#
# http://julianoliver.com/output/log_2014-05-30_20-52
#
# This script was named by Adam Harvey (http://ahprojects.com), who also
@enilsen16
enilsen16 / enable_tor.sh
Last active September 28, 2018 17:58
Enable/Disable Tor
#!/bin/bash
INTERFACE=Wi-Fi
networksetup -setsocksfirewallproxy $INTERFACE 127.0.0.1 9050 off
networksetup -setsocksfirewallproxystate $INTERFACE on
tor
networksetup -setsocksfirewallproxystate $INTERFACE off
2016-01-25 12:53:38 -0800
./build.py
--confirm
--jobs
8
This is the Qt Open Source Edition.
@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.
javascript:void( (function(){ var current_location=location.href.replace(/^http\:\/\/(.*)$/,"$1"); var current_location=current_location.split("?")[0]; location.href="http://www.google.com/search?q=c..."+escape(current_location); })())
@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 / twilio_token.ex
Last active August 21, 2016 22:24
Twilio Compadibility Tokens in elixir
defmodule TwilioToken do
import Joken
@app Application.get_env(:speaker, :twilio_app)
@sid Application.get_env(:ex_twilio, :account_sid)
@token Application.get_env(:ex_twilio, :auth_token)
def generate do
%{scope: "scope:client:outgoing?appSid=#{@app}"}
|> token