=====
I made a book, its one page.
=====
I made a book, its one page.
// This mixin outputs a property with rem units and a px fallback. | |
// Values passed without units are used as multipliers for the final | |
// rem and px values, all other units are output without modification. | |
// $base-font-size represents the root value of the document font-size | |
// in pixels. | |
// | |
// i.e. html { font-size: 100%;} // -> 16px | |
// Usage: | |
// @include px-and-rem([property], [multiplier | explicit value] [, ...]); |
var isoCountries = { | |
'AF' : 'Afghanistan', | |
'AX' : 'Aland Islands', | |
'AL' : 'Albania', | |
'DZ' : 'Algeria', | |
'AS' : 'American Samoa', | |
'AD' : 'Andorra', | |
'AO' : 'Angola', | |
'AI' : 'Anguilla', | |
'AQ' : 'Antarctica', |
These instructions will guide you through the process of setting up local, trusted websites on your own computer.
These instructions are intended to be used on macOS Sierra, but they have been known to work in El Capitan, Yosemite, Mavericks, and Mountain Lion.
NOTE: You may substitute the edit
command for nano
, vim
, or whatever the editor of your choice is. Personally, I forward the edit
command to Sublime Text:
alias edit="/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl"
Quick and easy way of making Chrome send bittorrent magnet links to a remote Transmission instance using its API on OSX, with PHP, Javascript, and OSX's built-in Apache.
Chrome does not handle default protocol applications without a little encouragement. But we're about to take care of that (see Step 6).
Steps:
Install the shell script transmission-remote-magnet
: cp ~/src/transmission-remote-magnet.sh /usr/local/bin/transmission-remote-magnet
Install the php file, which is required for link handling to work, and will likely require sudo: sudo cp ~/src/trm.php /Library/WebServer/Documents/
{% if first_time_accessed %} | |
<script> | |
(function(dataLayer){ | |
var customer_type = ({{customer.orders_count}} > 1) ? 'repeatcustomer' : 'newcustomer'; | |
var discounts = "{{ order.discounts | map: 'code' | join: ',' | upcase}}"; | |
function strip(text){ | |
return text.replace(/\s+/, ' ').replace(/^\s+/, '').replace(/\s+$/, ''); | |
} |