Resources for learning web design & front-end development:
ONLINE
Design
[alias] | |
co = checkout | |
pd = push origin develop | |
st = -p status | |
cm = commit | |
w = whatchanged | |
last = cat-file commit HEAD | |
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit | |
ls = show --pretty="format:" --name-only | |
alias = ! git config --get-regexp ^alias\\. | sed -e s/^alias\\.// -e s/\\ /\\ =\\ / |
/* Device pixel densities based on: */ | |
/* - Test for CSS by @marcedwards from @bjango */ | |
/* (http://bjango.com/articles/min-device-pixel-ratio/) */ | |
/* - Retina Display Media Query */ | |
/* (https://css-tricks.com/snippets/css/retina-display-media-query/)*/ | |
/* 1.25 dpr */ | |
@media | |
(-webkit-min-device-pixel-ratio: 1.25), | |
(min-resolution: 120dpi){ |
Resources for learning web design & front-end development:
ONLINE
Design
// The path for our ionicons font files, relative to the built CSS in www/css | |
$ionicons-font-path: "../lib/ionic/fonts" !default; | |
src:url("#{$ionicons-font-path}/ionicons.eot?v=#{$ionicons-version}"); |
/* First all you need too install express as a dependency | |
* $ npm i express --save | |
* For more information about express visit http://expressjs.com/ | |
*/ | |
var express = require('express'); | |
var app = express(); | |
// __dirname + '/' refers to the folder you have created index.html | |
app.use('/', express.static(__dirname + '/')); |