Skip to content

Instantly share code, notes, and snippets.

View githubber's full-sized avatar

Shane Cooke githubber

View GitHub Profile
@githubber
githubber / config.md
Created June 27, 2022 21:53 — forked from 0XDE57/config.md
Firefox about:config privacy settings

ABOUT

about:config settings to harden the Firefox browser. Privacy and performance enhancements.
To change these settings type 'about:config' in the url bar. Then search the setting you would like to change and modify the value. Some settings may break certain websites from functioning and rendering normally. Some settings may also make firefox unstable.

I am not liable for any damages/loss of data.

Not all these changes are necessary and will be dependent upon your usage and hardware. Do some research on settings if you don't understand what they do. These settings are best combined with your standard privacy extensions (HTTPS Everywhere, NoScript/Request Policy, uBlock origin, agent spoofing, Privacy Badger etc), and all plugins set to "Ask To Activate".

@githubber
githubber / cryptoDashboard.html
Created December 13, 2020 14:43 — forked from stephenlb/cryptoDashboard.html
Realtime Ticker Price Changes for Ethereum, Bitcoin and Litecoin.
<!DOCTYPE html>
<html>
<head>
<title>Crypto Currency Prices</title>
<script src="https://cdn.pubnub.com/sdk/javascript/pubnub.4.18.0.min.js"></script>
<script type="text/javascript" src="https://pubnub.github.io/eon/v/eon/1.0.0/eon.js"></script>
<link type="text/css" rel="stylesheet" href="https://pubnub.github.io/eon/v/eon/1.0.0/eon.css"/>
</head>
<body>
@githubber
githubber / MyEW-ETH
Created May 27, 2017 19:27
ETHfaucet-rinkeby.io
0xF866360C68cf0ad85dCCD0871765a6B87177BB4C
@githubber
githubber / thankyou-eth
Created May 27, 2017 14:38
ETHfaucet-rinkeby.io
0x178625f276907019BdAc70078ff79cF49249DdbF
@githubber
githubber / backup.sh
Created September 16, 2016 12:15 — forked from n2j3/backup.sh
simplified backup script utilising Fabrizi's dropbox uploader. Based on Dave Hope's backup script ( http://davehope.co.uk/Blog/backup-your-linux-vps-to-dropbox/ )
#!/bin/bash
BACKUP_SRC="/root /etc /home"
BACKUP_DST="/tmp"
MYSQL_SERVER="127.0.0.1"
MYSQL_USER="mysql username"
MYSQL_PASS="mysql password"
#VPS_ID="vpsidentifier"
# Stop editing here.
NOW=$(date +"%Y.%m.%d")
### Keybase proof
I hereby claim:
* I am githubber on github.
* I am scooke (https://keybase.io/scooke) on keybase.
* I have a public key ASCZyjOHA56RBBwcx87sSCmTBVxcsAc-ZHsT1OEPRKWe0go
To claim this, I am signing this object:
@githubber
githubber / gist:f2e7b569d85e1a2f7ac7
Last active August 29, 2015 04:34 — forked from Wysie/gist:03934b6a79a715772abd
Upload to Amazon S3 Instead of Server for Sendy Email Image Uploads
//Using S3.php from https://github.com/tpyo/amazon-s3-php-class. Place it in includes/helpers
//Replaces Sendy's includes/create/upload.php
<?php
include('../functions.php');
include('../login/auth.php');
require_once('../helpers/S3.php');
//Init
$file = $_FILES['file']['tmp_name'];
#Insall Ajenti
apt-get update
wget http://repo.ajenti.org/debian/key -O- | apt-key add -
echo "deb http://repo.ajenti.org/ng/debian main main ubuntu" >> /etc/apt/sources.list
apt-get update
apt-get install ajenti
service ajenti restart
# Uninstall Apache2
sudo apt-get autoremove && sudo apt-get remove apache2*
FIXME:
WARNING: Nokogiri was built against LibXML version 2.7.3, but has dynamically loaded 2.7.8
or
ERROR -: Incompatible library version: nokogiri.bundle requires version 11.0.0 or later, but libxml2.2.dylib provides version 10.0.0
gem uninstall nokogiri libxml-ruby
brew update
brew uninstall libxml2
@githubber
githubber / more.md
Created November 7, 2013 03:34 — forked from vasilisvg/more.md

The script below is triggered every day from my Mac. I use Hazel to move the tar.gz to an external hard disk once it's finished. This happens every day without me noticing. You can exclude folders if you want to. You probably want to exclude giant cache folders.

You should have a similar script.