Skip to content

Instantly share code, notes, and snippets.

Sean sshadmand

Block or report user

Report or block sshadmand

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
sshadmand / Breech_Checker.js
Last active Sep 29, 2018
Check Passwords Against BreechList Fast
View Breech_Checker.js
import sha1 from "sha1";
import axios from "axios";
isBreeched = password => {
const pwSha1 = sha1(password).toUpperCase();
const salt = pwSha1.slice(0, 5);
const pepper = pwSha1.slice(5);
return axios
sshadmand / In Terminal
Last active Nov 9, 2018
When Public WiFi (like Airport) wont re-prompt for login
View In Terminal
// Based on answer from Gareth here:
#> ifconfig
// this will give you a list of MAC addresses
// or
#> sudo ifconfig en0
// will give you a specific MAC address (you will be prompted for your system's admin password
sshadmand / Basic script
Created Jul 21, 2017
Pitchbook API with JS and JQuery
View Basic script
const BASE_URL = ""
headers: { 'authorization': TOKEN }
const generalSearch = function(name) {
var def = jQuery.Deferred();
sshadmand / .bash_profile
Last active Jun 28, 2017
A great Bash profile
View .bash_profile
# always list date and size info
alias ll='ls -all'
# make sure you are on a protected branch and prome remote and local where no remote exists
alias gitclean='git checkout development; git branch | egrep -v "master|development" | xargs git branch -D'
# list all branch and remote branches
alias gitlist='git branch -a'
View Delete images without a tag
# This works becuase tagless images look like this:
# <none> <none> 39c3774dd2fb 10 minutes ago 417 MB
docker rmi $(docker images -a | grep none)
sshadmand / Adding tmux
Last active Jul 16, 2019 — forked from spicycode/tmux.conf
The best and greatest tmux.conf ever
View Adding tmux
Create a tmux conf file
#> touch ~/.tmux.conf
Install TMP
#> git clone ~/.tmux/plugins/tpm
[Copy and paste tmux.conf below into local file.]
Load tmux configurations
#> tmux source-file ~/.tmux.conf
sshadmand / filter_tree.js
Last active Oct 15, 2016
Recursive Filter on Tree Dict (JSON)
View filter_tree.js
outline = [{
id: 1,
children: [{
id: 3,
label: 'goodbye',
children: []
label: 'hello'
sshadmand / Advanced Reads
Created Oct 9, 2016
Arduino Pressure Sensitive Fabric Tutorial Code
View Advanced Reads
#include <math.h>
int myPin = 0;
int touching = false;
int touchingCount = 0;
void setup() {
sshadmand /
Last active Jan 7, 2019
FB Messenger Webhook Ported to Python
import json
import requests
from django.views.decorators.csrf import csrf_exempt
def respond_FB(sender_id, text):
json_data = {
"recipient": {"id": sender_id},
sshadmand / Audio Player
Last active Oct 6, 2015
Sample Polymer 1.0 Elements
View Audio Player
<link rel="import" href="../../bower_components/polymer/polymer.html">
Plays audio files.
You can’t perform that action at this time.