Six months ago apticknor posed a challenge to spot the problems in five different implementations of the picture element. He never received any solutions. So he brought it back up with hopes that several of the FEDs had an opportunity to try picture / srcset at this point and will be able to find the problems in these samples.
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
// lets complain to server command line if you forgot --settings when running Meteor | |
Meteor.startup(function () { | |
if (Meteor.isServer) { | |
if (Object.keys(Meteor.settings).length === 0) { | |
console.log("You forgot to run Meteor with --settings!"); | |
} | |
} | |
}); |
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
# Docs @ https://github.com/causes/scss-lint/blob/master/lib/scss_lint/linter/README.md | |
linters: | |
BorderZero: | |
enabled: false # nerdery - no existing standard for 'none' or '0' | |
CapitalizationInSelector: | |
enabled: false # nerdery - capitalization in camelCase is possible | |
ColorKeyword: |
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
Solarized | |
#FDF6E3,#EEE8D5,#93A1A1,#FDF6E3,#EEE8D5,#657B83,#2AA198,#DC322F | |
Solarized Dark | |
#073642,#002B36,#B58900,#FDF6E3,#CB4B16,#FDF6E3,#2AA198,#DC322F | |
This collection of files serves as a simple static demonstration of how to post to a google spreadsheet from an external html <form>
following the example by Martin Hawksey
Depreciation Warning: This code is not maintained, and should be seen as reference implementation only. If you're looking to add features or update, fork the code and update as needed.
You should be able to just open index.html
in your browser and test locally.
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
Template.signup.events( | |
'submit form': (e,t) -> | |
# Prevent form from submitting. | |
e.preventDefault() | |
# Grab the user's details. | |
user = | |
email: t.find('[name="emailAddress"]').value | |
password: t.find('[name="password"]').value |
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
/** | |
* Retrieves all the rows in the active spreadsheet that contain data and logs the | |
* values for each row. | |
* For more information on using the Spreadsheet API, see | |
* https://developers.google.com/apps-script/service_spreadsheet | |
*/ | |
function readRows() { | |
var sheet = SpreadsheetApp.getActiveSheet(); | |
var rows = sheet.getDataRange(); | |
var numRows = rows.getNumRows(); |
- Includes Linux Homebrew, Node, Meteor and Meteorite.
To launch, copy and paste the code below into setup.sh
, run chmod 777 setup.sh
and then type ./setup.sh
.
Alternatively...
Just paste curl https://gist.githubusercontent.com/aaronthorp/9384266/raw/setup.sh | /bin/sh
in the terminal and watch the magic happen.