Skip to content

Instantly share code, notes, and snippets.

Ron Scott-Adams tohuw

Block or report user

Report or block tohuw

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
View css3-fancylists.scss
// A demonstration of how to write SASS styling for multi-level lists
// List types vary per level, and list counters are styleable
// Owes greatly to this:
ol {
counter-reset: li;
margin-left: .5em;
li {
counter-increment: li;
View Get-MailboxLocationPermission.ps1
[CmdletBinding (SupportsShouldProcess = $false)]
param (
$Mailboxes = @(),
[switch]$FormatTable = $true
begin {
$MailboxesLocationsPermissions = @()
$LocationsPermissions = @()
tohuw / material-design-colour-palette-variables.scss
Last active Aug 29, 2015 — forked from brandonhimpfen/material-design-colour-palette-variables.scss
Material Design colour palette made into Sass variables.
View material-design-colour-palette-variables.scss
// Material Design Colour Palette
// by Brandon Himpfen
// Red
$md-red-50: #ffebee;
$md-red-100: #ffcdd2;
$md-red-200: #ef9a9a;
$md-red-300: #e57373;
$md-red-400: #ef5350;
$md-red-500: #f44336;
View gist:da46eddccb9c552746ae
userId: "fcfca3bd-4ecf-a3fe-00d2-f35a2ce52b59"
showOnStartup: false
audioBeep: false
projectHome: "/Users/tohuw/Projects"
themes: [
View jekyll-readtime.rb
# jekyll-readtime
# 2015 Ron Scott-Adams, Licensed under MIT:
# Original work:
# Outputs the estimated time the average person might take to read the content.
# 200 is a round figure based on estimates gathered from various studies.
# Usage: {{ page.content | readtime }}
tohuw / Fun with 'Find'
Last active Aug 29, 2015
Fun with 'Find'
View Fun with 'Find'
#! /bin/bash
## Fun with 'Find':
## A small collection of one-liners demonstrating the power of find.
# Find all files larger than a given size
find /foo/bar -type f -size +1024k
# Recursively rename files matching a pattern
find -name '*.JPG' -exec rename .JPG .jpg {} \;
tohuw / Sublime 3 Config
Last active Oct 7, 2016
My Sublime Text 3 Config
View Sublime 3 Config
"auto_complete_commit_on_tab": true,
"auto_complete_delay": 500,
"auto_indent": true,
"auto_match_enabled": true,
You can’t perform that action at this time.