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
#!/bin/bash | |
iatest=$(expr index "$-" i) | |
####################################################### | |
# SOURCED ALIAS'S AND SCRIPTS BY zachbrowne.me | |
####################################################### | |
# Source global definitions | |
if [ -f /etc/bashrc ]; then | |
. /etc/bashrc |
<input type="text" ng-bind-attrs="{placeholder: somePropertyOfTheScope, tabindex: anotherPropertyOfTheScope}" > |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
@media only screen and (min-width: 320px) { | |
/* Small screen, non-retina */ | |
} | |
@media | |
only screen and (-webkit-min-device-pixel-ratio: 2) and (min-width: 320px), | |
only screen and ( min--moz-device-pixel-ratio: 2) and (min-width: 320px), | |
only screen and ( -o-min-device-pixel-ratio: 2/1) and (min-width: 320px), |
angular.module('myApp.services', []) | |
.factory('UserFactory', function($http, $q) { | |
var service = { | |
// our factory definition | |
user: {}, | |
setName: function(newName) { | |
service.user['name'] = newName; | |
}, | |
setEmail: function(newEmail) { | |
service.user['email'] = newEmail; |
<theme> | |
<!-- Window Style --> | |
<color id="foreground" red="0.59" green="0.80" blue="0.99" alpha="1.0" /> | |
<color id="background" red=".1" green=".1" blue=".1" alpha=".95" /> | |
<window foregroundColorID="foreground" backgroundColorID="background" shouldUseHUDScrollers="yes" /> | |
<!-- Text View Style --> | |
<color id="tag" red=".48" green=".48" blue=".48" alpha="1.0" /> | |
<color id="handle" extendsColorID="foreground" /> | |
<color id="insertionPoint" red=".4" green=".4" blue=".4" alpha="1.0" /> |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Ansi 0 Color</key> | |
<dict> | |
<key>Blue Component</key> | |
<real>0.31090480089187622</real> | |
<key>Green Component</key> | |
<real>0.31097450852394104</real> |
// Colors Settings | |
$mainColor: #2ba6cb; | |
$secondaryColor: #e9e9e9; | |
$alertColor: #c60f13; | |
$successColor: #5da423; | |
$txtColor: #222; | |
$highlightColor: #ffff99; | |
$black: #000; | |
$white: #fff; | |
$shinyEdge: rgba(#fff, .5); |