Skip to content

Instantly share code, notes, and snippets.

View roachhd's full-sized avatar

Lachlan Seward roachhd

View GitHub Profile
@roachhd
roachhd / README.md
Created December 27, 2014 11:38
Solarized COLOR palette for Adobe Photoshop
@roachhd
roachhd / README.md
Created December 27, 2014 07:47
7 easy ways to shake up your daily routine

7 easy ways to shake up your daily routine

For busy professionals, daily routines and rituals provide much-needed structure and comfort in the midst of a hectic schedule. A granola bar in the morning, for instance, might keep you going into the afternoon. Thirty minutes of cardio after work gets your body ready for the next day. An episode of Seinfeld before you doze off makes you wake up smiling the next morning. These are just a few of the types of habits that many people grow accustomed to.

Sometimes, though, routines become stale. You might, for instance, feel uninspired about the exercise regimen you've practiced for half a decade. Or, maybe you can no longer bring yourself to complete mundane daily tasks, like logging your receipts or making a healthy breakfast.

If your chores or routine could use some pep, check out these seven tips on how to shake up your day.

1. Make a healthy breakfast for the entire week in five minutes

@roachhd
roachhd / README.md
Created December 26, 2014 16:32
Print these pics for maddy

baby panda

@roachhd
roachhd / README a.md
Last active August 29, 2015 14:12
Top Ten ways to protect your kids on the Internet. Part One

Online Rule of Agreement



This is part one in my Top Ten ways to protect your kids on the Internet.

STEP ONE:

@roachhd
roachhd / README.md
Last active August 29, 2015 14:12
bulk-creating-ad-users-from-excel-sheets
Active Directory

To create a large number of new Active Directory users, you can import the user data from a CSV file, for example export an Excel sheet to CSV.

Next, this piece of code will turn the CSV data into real Active Directory user accounts:

Import-Csv -Path F:\userlist.csv -UseCulture -Encoding Default |
ForEach-Object {
 
@roachhd
roachhd / README.md
Created December 26, 2014 06:43
Aliases - Git. The total Explanation ❤

Aliases - Git SCM Wiki

With aliases, you can avoid typing the same commands over and over again. Aliases were added in Git version 1.4.0.

Table of contents:


To show how to use aliases, suppose you wish you could write git ci instead of git commit. You can achieve this by adding the following section to ~/.gitconfig:

@roachhd
roachhd / quote.md
Created December 26, 2014 06:32
quotes

>‘When you live completely in each moment, without expecting anything, you have no idea of time.’ ~Shunryu Suzuki

@roachhd
roachhd / README.md
Last active May 27, 2025 20:42
Pygments syntax highlighting supported languages

Supported languages¶

Pygments supports an ever-growing range of languages. Watch this space...

Programming languages¶

  • ActionScript
  • Ada
  • ANTLR
  • AppleScript
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc
. ~/.bashrc
mkdir ~/local
mkdir ~/node-latest-install
cd ~/node-latest-install
curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1
./configure --prefix=~/local
make install # ok, fine, this step probably takes more than 30 seconds...
curl https://www.npmjs.org/install.sh | sh
@roachhd
roachhd / README.md
Last active August 29, 2015 14:12
text expansion in windows

![How to Use Text Expansion to Save Yourself Hours of Typing Every Week][46]

In a regular day, most of us type the same things over and over again, wasting an enormous amount of time in the process. Why not let your computer do some of that work for you? That's where text expansion comes in.

What Is Text Expansion?

Text expansion utilities monitor your typing and trigger rules when you type a predefined phrase or key combination. When you type one of those pre-defined phrases, your text expansion utility removes your short version and replaces it with a longer phrase without requiring you to type the entire thing—saving you loads of keystrokes and time. Watch the video above for a few examples of text replacement in action.

For instance, you could create a text expansion rule that triggers anytime you type sig and hit the space bar, and fills in your entire email signature line—or you could set a trigger to fill in a canned email response, or just a common word or phrase that would take a long time