Skip to content

Instantly share code, notes, and snippets.

View benhoIIand's full-sized avatar

Ben Holland benhoIIand

View GitHub Profile
@benhoIIand
benhoIIand / things-you-can-only-say-at-christmas
Created December 13, 2012 15:00
Things you can only say at Christmas
1. I prefer breasts to legs.
2. Tying the legs together keeps the inside moist.
3. Smother the butter all over the breasts.
4. If I don't undo my trousers, I'll burst!
5. I've never seen a better spread!
6. I fancy a little dark meat for a change.
7. Are you ready for seconds yet?
8. It's a little dry, do you still want to eat it?
9. Just wait your turn, you'll get some!
10. Don't play with your meat!

Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/

Basic HTML Meta Tags

<meta charset='UTF-8'>
<meta name='keywords' content='your, tags'>
<meta name='description' content='150 words'>
<meta name='subject' content='your website's subject'>
<meta name='copyright' content='company name'>
@benhoIIand
benhoIIand / CSSLint - All Settings.js
Last active December 11, 2015 10:49
A list of all CSSLint settings with descriptions
{
// Don't use adjoining classes (.foo.bar)
"adjoining-classes": "warning",
// Don't use width or height when using padding or border.
"box-model": true,
// box-sizing doesn't work in IE6 and IE7.
"box-sizing": "warning",
@benhoIIand
benhoIIand / JSHint - All Settings.js
Last active December 11, 2015 10:58
All JSHint settings and descriptions
{
/**
* Enforcing Options
* These options tell JSHint to be more strict towards your code. Use them if you want to allow only a safe subset of JavaScript—very useful when your codebase is shared with a big number of developers with different skill levels.
*/
// This option prohibits the use of bitwise operators such as ^ (XOR), | (OR) and others
"bitwise": false,
// This option allows you to force all variable names to use either camelCase style or UPPER_CASE with underscores.
@benhoIIand
benhoIIand / Simple Git Aliases
Last active February 2, 2016 16:45
Git Setup
[user]
name = YOUR NAME
email = YOUR EMAIL
[core]
# see the other file in this gist
excludesfile = /Users/USERNAME/.gitignore
[color]
# colors all up in your git
ui = 1
[alias]
@benhoIIand
benhoIIand / sublime-build-NET
Last active December 13, 2015 21:19
A Sublime build setting for a .NET project
{
"shell": true,
"working_dir": "${project_path:${folder}}",
"cmd": ["%WINDIR%\\Microsoft.NET\\Framework\\v4.0.30319\\msbuild", "C:\\PATH_TO_SOLUTION\\solution.sln"]
}
# My ~/.gitconfig file
# (with personal information removed)
# Take what you will!
[user]
name = YOUR NAME
email = YOUR EMAIL
[github]
user = YOUR USERNAME
token = YOUR TOKEN
[core]
@benhoIIand
benhoIIand / server-install-script
Last active November 25, 2015 18:47
Server install script
#!/bin/bash
# Install cURL
sudo apt-get install curl
# Install LAMP stack
sudo apt-get update
sudo apt-get install apache2
sudo apt-get install mysql-server libapache2-mod-auth-mysql php5-mysql
sudo mysql_install_db
@benhoIIand
benhoIIand / Preferences.sublime-settings
Last active August 29, 2015 13:56
Sublime Preferences
{
"bold_folder_labels": true,
"caret_style": "phase",
"color_scheme": "Packages/User/SublimeLinter/Flatland Dark (SL).tmTheme",
"ensure_newline_at_eof_on_save": true,
"flatland_sidebar_tree_small": true,
"flatland_square_tabs": true,
"font_face": "Consolas",
"font_size": 14,
"highlight_line": true,
_
\`\
|= |
/- ;.---.
_ __.' (____)
` (_____)
_' ._ .' (____)
` (___)
--`'------'`