Skip to content

Instantly share code, notes, and snippets.

Cassy Jens CassyJens

View GitHub Profile
@CassyJens
CassyJens / SassMeister-input-HTML.html
Created Mar 23, 2015
Generated by SassMeister.com.
View SassMeister-input-HTML.html
<div class='container'>
<div class='block'> </div>
<div class='block'> </div>
<div class='block'> </div>
<div class='block'> </div>
</div>
@CassyJens
CassyJens / SassMeister-input-HTML.html
Created Mar 23, 2015
Generated by SassMeister.com.
View SassMeister-input-HTML.html
<div class='container'>
<div class='block'> </div>
<div class='block'> </div>
<div class='block'> </div>
<div class='block'> </div>
</div>
@CassyJens
CassyJens / SassMeister-input-HTML.html
Created Mar 21, 2015
Generated by SassMeister.com.
View SassMeister-input-HTML.html
<div class='container'>
<div class='block'> </div>
<div class='block'> </div>
<div class='block'> </div>
<div class='block'> </div>
</div>
View vertically-center-text.txt
height: 24px;
line-height: 24px;
vertical-align: middle;
@CassyJens
CassyJens / responsive.txt
Created Mar 16, 2015
Responsive design HTML & CSS
View responsive.txt
<meta name="viewport" content="width=device-width, initial-scale=1">
@media all and (max-width: 600px) {
}
@CassyJens
CassyJens / vertical-center-div
Created Jan 8, 2015
vertical center div for all browsers
View vertical-center-div
.outer {
display: table;
height: 100%;
position: absolute;
width: 100%;
}
.middle {
display: table-cell;
vertical-align: middle;
View vertical-align-text
height: 200px;
line-height: 200px;
vertical-align: middle;
@CassyJens
CassyJens / pg-restore
Created Nov 11, 2014
postgresql - restore from .dump
View pg-restore
pg_restore --verbose --clean --no-acl --no-owner -h localhost -U user -d database latest.dump
@CassyJens
CassyJens / start-stop-postgresql.txt
Created Nov 11, 2014
start/stop postgresql server
View start-stop-postgresql.txt
pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start
pg_ctl -D /usr/local/var/postgres stop -s -m fast
@CassyJens
CassyJens / running-processes
Created Nov 10, 2014
view running processes
View running-processes
ps aux
or
ps aux | grep forever
You can’t perform that action at this time.