This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
// Proxy URL (optional) | |
const proxyUrl = ''; | |
// paths to relevant directories | |
const dirs = { | |
src: './src', | |
dest: './dist' | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @name fluxTouchDirective | |
* @description | |
* Simple directive for adding touchstart and touchend events to an element | |
* | |
* @author Todd Miller | |
* @version 1.0.0 | |
*/ | |
(function () { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="nav-wrap"> | |
<ul class="group" id="example-one"> | |
<li class="current_page_item"><a href="#">Home</a></li> | |
<li><a href="#">Buy Tickets</a></li> | |
<li><a href="#">Group Sales</a></li> | |
<li><a href="#">Reviews</a></li> | |
<li><a href="#">The Show</a></li> | |
<li><a href="#">Videos</a></li> | |
<li><a href="#">Photos</a></li> | |
<li><a href="#">Magic Shop</a></li> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# SSH Agent | |
# | |
# force ssh passphrase to start terminal | |
SSH_ENV="$HOME/.ssh/environment" | |
function start_agent { | |
echo "Initialising new SSH agent..." | |
/usr/local/bin/ssh-agent | sed 's/^echo/#echo/' > "${SSH_ENV}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Automatically pygmentize 'more' output | |
function moar() { | |
local file=$1; | |
local ext=${file##*.}; | |
# if it’s a dotfile, treat it as shell script | |
if [[ $file == .* ]]; then | |
more $file | pygmentize -l sh; | |
# if a lexer exists for the file ext, use that |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<style type="text/css"> | |
body { | |
background-color:#e2e2e2; | |
font-family:Helvetica, Arial, sans-serif; | |
font-size: 12px; | |
} | |
a:hover, a:visited, a:link { | |
text-decoration:none; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<configuration> | |
<system.webServer> | |
<defaultDocument> | |
<files> | |
<clear /> | |
<add value="index.php" /> | |
</files> | |
</defaultDocument> | |
<rewrite> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div> | |
<!--[if gte mso 9]> | |
<v:background xmlns:v="urn:schemas-microsoft-com:vml" fill="t"> | |
<v:fill type="tile" src="http://tinyurl.com/oacdd7n" color="#7bceeb"/> | |
</v:background> | |
<![endif]--> | |
<table cellpadding="0" cellspacing="0" border="0" style="width: 422px; height: 147px;"> | |
<tr> | |
<td valign="top" align="left" background="http://tinyurl.com/oacdd7n"> | |
<table width="100%" cellpadding="0" cellspacing="0" border="0" style="font-family: 'Arial'; font-weight: 700; font-size: 16px; color: white;"> |