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
body { | |
background: #e6e6e6; | |
} | |
.corners { | |
background: #f6f6f6; | |
height: 700px; | |
margin: 50px auto; | |
max-width: 600px; | |
position: relative; | |
width: 80%; |
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
.inner-border { | |
background: #000; | |
color: #fff; | |
margin: 50px; | |
padding: 15px; | |
position: relative; | |
} | |
.inner-border:before { | |
border: 5px solid #000; | |
content: ""; |
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
/** | |
* Non-form Fieldset Style | |
*/ | |
.fieldset { | |
position: relative; | |
border: 1px solid #ddd; | |
padding: 10px; | |
} |
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
/** | |
* Simple Styles for hrs (http://css-tricks.com/examples/hrs/) | |
*/ | |
hr.style-one { | |
border: 0; | |
height: 1px; | |
background: #333; | |
background-image: -webkit-linear-gradient(left, #ccc, #333, #ccc); | |
background-image: -moz-linear-gradient(left, #ccc, #333, #ccc); |
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
/** | |
* Corner Ribbon (css-tricks) | |
*/ | |
.wrapper { | |
margin: 50px auto; | |
width: 280px; | |
height: 370px; | |
background: white; | |
border-radius: 10px; |
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
sleep (Time.now.round + 1 - Time.now).to_r | |
puts "Time is now #{"%10.5f" % Time.now.to_f}" | |
start_time = current_time = Time.now | |
while current_time.min == start_time.min | |
i = 0 | |
while Time.now.sec == current_time.sec | |
i += 1 | |
end | |
puts "Ran #{i} in the last sec #{"%10.5f" % Time.now.to_f}" |
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
package main | |
import ( | |
"fmt" | |
"time" | |
) | |
func main() { | |
count := 0 |
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
//https://developers.google.com/analytics/devguides/collection/analyticsjs/advanced#multipletrackers | |
ga('create', 'UA-54906935-2', 'auto', {'name': 'lifefuelsTracker'}); | |
ga('require', 'ec'); | |
ga('ec:setAction', 'purchase', { | |
'id': 'SET_TRANS_ID_HERE', // (Required) Transaction id (string). | |
'revenue': 'SET_TOTAL_HERE', // Revenue (currency). | |
'coupon': 'SET_COUPON_HERE' // Transaction coupon (string). | |
}); | |
ga('lifefuelsTracker.send', 'event', 'preorders', 'completed purchase'); |
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
#! /bin/sh | |
if test -z "${REAL_OPT_DIR}"; then | |
# next line to be replaced according to OPTWARE_TARGET | |
REAL_OPT_DIR=/volume1/@optware | |
fi | |
case "$1" in | |
start) | |
echo "Starting Optware." |
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
source "https://rubygems.org" | |
gem 'pry' | |
# gem "ascii-image" | |
gem "rmagick", "=2.13.1" | |
gem "rainbow", "= 1.1.4" | |
gem "pry-rescue" | |
gem "paint" |