This file contains 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
Test. |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset='UTF-8'/> | |
<title></title> | |
</head> | |
<body> | |
<div id='main'></div> | |
<script data-main='js/main.js' src='js/require.js'></script> | |
</body> |
This file contains 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
=slide-horizontal | |
.slideleft, .slideright | |
-webkit-animation-timing-function: ease-in-out | |
.slideleft | |
&.in | |
-webkit-animation-name: slideLeftIn | |
&.out | |
-webkit-animation-name: slideLeftOut |
This file contains 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
CA_COLOR_OPAQUE=1 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone\ Simulator.app/Contents/MacOS/iPhone\ Simulator |
This file contains 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
<!DOCTYPE html> | |
<html lang='en' xmlns='http://www.w3.org/1999/xhtml'> | |
<head> | |
<meta charset='utf-8'> | |
<title>CSS Reference and Sort Order</title> | |
<style> | |
body { | |
counter-reset: linenumbers; | |
margin-left: 2em; } | |
This file contains 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
box-sizing supported by: <bit.ly/HM42F3> | |
Chrome, IE 8+, Firefox (-moz), Safari 5.1+, Opera | |
iOS <= 4 & Android <= 2.3 (-webkit), Firefox (-moz) | |
:before and :after pseudo-elements supported by: | |
Chrome, IE 8+, Firefox, Safari, Opera 4.0+: | |
::before and ::after pseudo-elements supported by: | |
Chrome, IE 9+, Firefox, Safari, Opera 7.0+: | |
<mzl.la/Q5hf09> <bit.ly/YCpGPd> <bit.ly/XV046x> |
This file contains 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
<!DOCTYPE html> | |
<html class='no-js' lang='en' xml:lang='en' xmlns='http://www.w3.org/1999/xhtml'> | |
<head> | |
<meta charset='UTF-8' /> | |
<title>April 2014</title> | |
<meta content='initial-scale=1, width=device-width' name='viewport' /> | |
<style type='text/css'> | |
*, *::before, *::after { | |
box-sizing: border-box; | |
} |
This file contains 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
class ApplicationController < ActionController::Base | |
before_action :detect_device_type | |
private | |
def detect_device_type | |
case request.user_agent | |
when /ip(hone|od)/i | |
request.variant = :ipod | |
when /android.+mobile/i |
This file contains 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
#!/usr/bin/env ruby | |
require 'pathname' | |
require 'optparse' | |
require 'ostruct' | |
require 'rmagick' | |
class RespImgs | |
CONTAINER_WIDTH = { xs: 320, sm: 750, md: 970, lg: 1170 } | |
NUM_COLUMNS = 12 |
This file contains 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
#!/bin/sh | |
/usr/bin/find . -type d -empty -exec touch {}/.keep \; | |
/usr/local/bin/git add --all /Users/ptb/Copy/; /usr/local/bin/git commit --message='' --allow-empty-message |
OlderNewer