The following document outlines the existing array behaviour in composers and how they could be tightly converted into the new format.
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
javascript:(function(){ var style = document.createElement(%27style%27), styleContent = document.createTextNode(%27* { cursor: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsCAYAAAAehFoBAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJBJREFUeNrs2dEKgDAIhWEN3/+VLYtBF12MppHwDxY0uvg4DJpORcSl0bB4uPcwq+oFHu8/956pbtJsAAYMGDBgwIABA044t3pMEgb8VU2XsWdn1o/aUUn4bchPBWNFYWvVidxbCFGmr7YULBs1YDPfsYcXEi9ryvDjAAwYMGDAgAED7nK8bHG7qNLs6nYXYAAheh5j8Qw5fwAAAABJRU5ErkJggg==) 22 22, auto !important}%27); style.appendChild(styleContent ); var caput = document.getElementsByTagName(%27head%27); caput[0].appendChild(style); })(); |
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
# | |
## Setup | |
GitHub token | |
Repo name | |
Path for image upload | |
Path for markdown upload | |
Choose image |
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
# Takes a file CSV file called "data.csv" and outputs each row as a YAML file named after first column. | |
# Data in the first row of the CSV is assumed to be the column heading. | |
# Original work borrowed from: https://github.com/hfionte/csv_to_yaml | |
# Import the python library for parsing CSV files. | |
import csv | |
from datetime import datetime | |
# Open our data file in read-mode. | |
csvfile = open('data.csv', 'r') |
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
import codecs | |
from datetime import datetime | |
import json | |
import os | |
import posixpath | |
import re | |
import shutil | |
import sys | |
# This script will import your instagram photos to your static site. It should work for most, assuming you customize the POST_TEMPLATE to match what your site uses. |
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
{ | |
"icons":{ | |
"e597":{ | |
"name":"activity" | |
}, | |
"e089":{ | |
"name":"address-book" | |
}, | |
"e092":{ | |
"name":"adjust" |
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
# Make a copy of sprites with a name that has no uniqueness of the hash. | |
on_sprite_saved do |filename| | |
if File.exists?(filename) | |
FileUtils.cp filename, filename.gsub(%r{-s[a-z0-9]{10}\.png$}, '.png') | |
# Note: Compass outputs both with and without random hash images. | |
# To not keep the one with hash, add: (Thanks to RaphaelDDL for this) | |
FileUtils.rm_rf(filename) | |
end | |
end | |
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
# Make a copy of sprites with a name that has no uniqueness of the hash. | |
on_sprite_saved do |filename| | |
if File.exists?(filename) | |
FileUtils.cp filename, filename.gsub(%r{-s[a-z0-9]{10}\.png$}, '.png') | |
# Note: Compass outputs both with and without random hash images. | |
# To not keep the one with hash, add: (Thanks to RaphaelDDL for this) | |
FileUtils.rm_rf(filename) | |
end | |
end | |
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
<select name="calendar-days"> | |
<option value="Sunday">Sunday</option> | |
<option value="Monday">Monday</option> | |
<option value="Tuesday">Tuesday</option> | |
<option value="Wednesday">Wednesday</option> | |
<option value="Thursday">Thursday</option> | |
<option value="Friday">Friday</option> | |
<option value="Saturday">Saturday</option> | |
</select> |
NewerOlder