Skip to content

Instantly share code, notes, and snippets.

@shapeshed
shapeshed / ee2_permissions.sh
Created July 27, 2010 11:24
Sets permissions on an ExpressionEngine 2 install
#!/bin/bash
# File: exp_permissions.sh
# Description: Sets permssions on a ExpressionEngine 2 install
#
# Copyright 2010 George Ornbo (Shape Shed)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
@shapeshed
shapeshed / reading_list.md
Last active February 1, 2018 14:40
Cryptocurrency Reading List

Privacy

  • [Zerocash][1]
  • [Cryptonote][2]
  • [Mimblewimble][3]
  • [Tumblebit][4]
  • [Hawk][5]
  • [Mobius][6]
  • [Enigma][7]
  • [Dash][8]
@shapeshed
shapeshed / tmux settings
Last active August 29, 2017 15:32
tmux cricket status bar
set-option -g status on
set-option -g status-left-length 80
set-option -g status-interval 2
set-option -g status-left '#(curl -k -L -s http://www.cricinfo.com/ci/engine/match/1031661.html | pup "title text{}" | cut -d "|" -f 1)'
#!/bin/sh
xrandr --output HDMI2 --off --output HDMI1 --primary --mode 3840x2160 --scale 1x1 --pos 0x0 --rotate normal --output DP1 --off --output eDP1 --mode 3840x2160 --pos 0x2160 --rotate normal --output DP2 --off
@shapeshed
shapeshed / ethup.sh
Created August 16, 2017 09:01
ethup - bring up an eth cluster and unlock accounts
#!/usr/bin/env bash
set -eEu -o pipefail
NODES=(node0 node1)
ETHDATA=~/.ethraft
GETH=/home/go/.gvm/pkgsets/go1.8.1/global/src/github.com/ethereum/go-ethereum/build/bin/geth
VERBOSITY=9
for n in ${NODES[@]}; do
@shapeshed
shapeshed / replace_investment_banking_system.sh
Created September 16, 2011 12:27
Replace Investment Banking System. Humans don't work
# !/bin/bash
# Script: replace_investment_banking_system.sh
# Task: Replace Investment Banking System. Humans don't work
# Author: George Ornbo <george@shapeshed.com>
#
# Copyright (C) 2011 by George Ornbo
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
0xF436D87D0F0238F1078392cc6c58E7798a81E8fD
@shapeshed
shapeshed / whatsapp_phone_enumerator_floated_div.js
Created May 12, 2017 12:17
PoC WhatsApp enumeration of phonenumbers, profile pics, about texts and online statuses (floated div)
/*
PoC WhatsApp enumeration of phonenumbers, profile pics, about texts and online statuses
Floated div edition
01-05-2017
(c) 2017 - Loran Kloeze - loran@ralon.nl
This script creates a UI on top of the WhatsApp Web interface. It enumerates certain kinds
of information from a range of phonenumbers. It doesn't matter if these numbers are part
of your contact list. At the end a table is displayed containing phonenumbers, profile pics,
about texts and online statuses. The online statuses are being updated every
package main
import (
"fmt"
"io/ioutil"
"log"
"net/http"
"net/http/httputil"
"os"
)
@shapeshed
shapeshed / gist:5433860
Created April 22, 2013 10:41
PhantomJS & CasperJS install script Tested on Ubuntu 12.04 (32-bit)
#!/bin/sh
cd /usr/local/share
wget https://phantomjs.googlecode.com/files/phantomjs-1.9.0-linux-i686.tar.bz2
tar -xjf /usr/local/share/phantomjs-1.9.0-linux-i686.tar.bz2
sudo ln -sf /usr/local/share/phantomjs-1.9.0-linux-i686/bin/phantomjs /usr/local/bin/phantomjs
git clone git://github.com/n1k0/casperjs.git /usr/local/src/casperjs
cd /usr/local/src/casperjs
git checkout tags/1.0.2
ln -sf /usr/local/src/casperjs/bin/casperjs /usr/local/bin/casperjs