Skip to content

Instantly share code, notes, and snippets.

View Michaela-Davis's full-sized avatar

Michaela D. Davis Michaela-Davis

View GitHub Profile
@joekarasek
joekarasek / index.html
Created March 16, 2018 01:43
Emmet examples (html)
<!-- div.row -->
<div class="row"></div>
<!-- div.row.myFirstRow -->
<div class="row myFirstRow"></div>
<!-- div#myId -->
<div id="myId"></div>
<!-- div#myId.row.anotherClass -->
@Michaela-Davis
Michaela-Davis / terminal
Created March 31, 2017 18:59
Terminal Colors and Breaks: from Improve your Terminal @ http://portlandcodeschool.github.io/jsi/2015/08/10/welcome/
In terminal
atom ~/.bash_profile
Add the following lines to that file:
export PS1="\[$(tput bold)\]\[$(tput setaf 5)\]\u\[$(tput sgr0)\]:\[$(tput bold)\]\[$(tput setaf 2)\]\h\[$(tput sgr0)\]:\[$(tput bold)\]\[$(tput setaf 4)\]\w\[$(tput sgr0)\]\n$ \[$(tput sgr0)\]"
export PATH="$HOME/bin:/usr/local/bin:/usr/local/sbin:$PATH"
export CLICOLOR=1
export LSCOLORS=ExFxCxDxBxegedabagacad
export PAGER="less"
@bseaver
bseaver / styles.less
Last active March 22, 2017 03:15
Atom Tab and Tree size
.tree-view, .tab-bar .tab .title {
font-size: 150%;
}
@joekarasek
joekarasek / gist:98d830efc3a1e937bc0c
Created February 11, 2016 21:20
commands to set up a new php/silex project
#!/bin/sh
echo "project name:"
read PROJECT_NAME
echo "port to use:"
read PORT
mkdir ~/${PROJECT_NAME}
cd ~/${PROJECT_NAME}
mkdir app web src views
echo vendor/ > .gitignore
echo "<?php \n\t\$website = require_once __DIR__.'/../app/app.php'; \n\t\$website->run(); ?>" > web/index.php
:+1:
:-1:
:airplane:
:art:
:bear:
:beer:
:bike:
:bomb:
:book:
:bulb: