Skip to content

Instantly share code, notes, and snippets.

@stevenhaddox
stevenhaddox / ds215j_provisioner.md
Last active June 16, 2018 08:35
Bootstrap Synology DS215j DSM 5.x provisioner steps

Boostrap the Synology DS215j with optware, ipkg, and sudo

Inspired mostly from the Bootstrap DS215j blog post

Download & Install ipkg in a persistent manner

# Create a directory that won't get nuked during DSM security updates
mkdir /volume1/@optware
cd /volume1/@optware
@arvidkahl
arvidkahl / recunrar.sh
Created February 21, 2012 13:50
recursive unrar script (with rm) that keeps directory structure intact
#!/bin/bash
for f in `find . -type f -name "*.rar"`
do
echo "Unpacking " $f " into " `dirname $f`
unrar x -y $f `dirname $f`
rm $f
done
@chrisroos
chrisroos / hsbc-friendly-account-names.user.js
Created February 7, 2014 13:00
A simple Greasemonkey style user script to replace account numbers with friendly names in the HSBC business banking user interface
// ==UserScript==
// @name HSBC - Friendly account names
// @namespace http://chrisroos.co.uk/
// @description Replace account numbers with friendly names to help differentiate accounts in HSBC UK Business banking
// @include https://www.business.hsbc.co.uk/*
// ==/UserScript==
(function() {
var accounts = {
'12345678': 'Current account',