Skip to content

Instantly share code, notes, and snippets.

View ItsMeAra's full-sized avatar
👋

Ara L Abcarians ItsMeAra

👋
View GitHub Profile
##################################################
# .htaccess Files for the Rest of Us
# http://net.tutsplus.com/articles/news/htaccess-files-for-the-rest-of-us/
##################################################
# Redirections #
# Redirect to new location
# Redirect 301 ^old\.html$ http://localhost/new.html
@ItsMeAra
ItsMeAra / workflow.txt
Last active February 22, 2016 19:06
Use SSH to set up your own Git repos on your server. http://net.tutsplus.com/tutorials/tools-and-tips/ssh-what-and-how/
$ ssh user@example.com
$ cd /path/to/repo
$ git init
$ git checkout -b staging
$ git checkout master
$ exit
$ cd /local/repo
$ git init
$ git add .
$ git commit -am "some message"
p – balanced for paragraphs or body copy
t – balanced for headlines or titles
Arial, “Helvetica Neue”, Helvetica, sans-serif - p, t
Baskerville, “Times New Roman”, Times, serif - p
Baskerville, Times, “Times New Roman”, serif - t
Cambria, Georgia, Times, “Times New Roman”, serif - p, t
@ItsMeAra
ItsMeAra / .bash_profile
Created January 8, 2013 06:25
Terminal hotness via http://markdotto.com/2012/10/18/terminal-hotness/ open ~/.bash_profile in your favorite editor, and add the following snippet:
export PS1='\e[0:35m⌘\e[m \e[0:36m\w/\e[m \e[0:33m`git branch 2> /dev/null | grep -e ^* | sed -E s/^\\\\\*\ \(.+\)$/\(\\\\\1\)\ /`\e[m'
function traverseFileTree(item, path) {
path = path || "";
if (item.isFile) {
// Get file
item.file(function(file) {
console.log("File:", path + file.name);
});
} else if (item.isDirectory) {
// Get folder contents
var dirReader = item.createReader();

Contract Killer 3

Revised date: 07/11/2012

Between us [company name] and you [customer name]

Summary:

We’ll always do our best to fulfil your needs and meet your expectations, but it’s important to have things written down so that we both know what’s what, who should do what and when, and what will happen if something goes wrong. In this contract you won’t find any complicated legal terms or long passages of unreadable text. We’ve no desire to trick you into signing something that you might later regret. What we do want is what’s best for both parties, now and in the future.

module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
php: {
dev: {
options: {
hostname: '127.0.0.1',
/*!
* Grunt
* $ npm install grunt-contrib-uglify grunt-autoprefixer grunt-contrib-cssmin grunt-contrib-imagemin grunt-contrib-sass grunt-contrib-watch grunt-contrib-concat grunt-contrib-clean grunt-contrib-jshint grunt-notify --save-dev
*/
module.exports = function(grunt) {
grunt.initConfig({
// Sass

Contract Killer

The popular open-source contract for web designers and developers by Stuff & Nonsense

  • Originally published: 23/12/2008
  • Revised date: 15/12/2013
  • Original post

@ItsMeAra
ItsMeAra / html5-schema.org-markup.html
Last active October 19, 2015 16:59 — forked from gregrickaby/html5-schema.org-markup.html
Proper SCHEMA.ORG markup
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="robots" content="noodp, noydir" />
<link rel="dns-prefetch" href="//cdnjs.cloudflare.com">
<link rel="canonical" href="http://mysite.com/" />
<link rel="stylesheet" href="http://mysite.com/style.css" type="text/css" />