app/views/templates/404.html.erb
<%= image_tag "glass_magnifying_200x175.jpg", :size => "200x175", :alt => "", :class => "cc-right" %>
| #!/bin/bash | |
| FILES=app/assets/images/*.* | |
| for f in $FILES | |
| do | |
| filename=`basename $f` | |
| echo $filename | |
| ack --ignore-dir=log --ignore-dir=.idea --nobinary $filename | |
| #grep -Ir --exclude=".idea\*" --exclude="*.log" "$filename" ./ | |
| done |
| { | |
| "quotes": [ | |
| { | |
| "author": "Abraham Lincoln", | |
| "quote": "Things may come to those who wait, but only the things left by those who hustle.", | |
| "image": "http://upload.wikimedia.org/wikipedia/commons/1/1b/Abraham_Lincoln_November_1863.jpg" | |
| }, | |
| { | |
| "author": "Adam Smith", | |
| "quote": "The great secret of education is to direct vanity to proper objects.", |
| var inputs = document.querySelectorAll('input'); | |
| for (var i = 0; i < inputs.length; i++) { inputs[i].setAttribute('autocomplete', 'on') }; |
| { | |
| "standups": { | |
| "20140317": { | |
| "time": "22" | |
| }, | |
| "20140318": { | |
| "time": "20" | |
| }, | |
| "20140319": { | |
| "time": "32" |
| .uc-prototype { | |
| color: #474747; | |
| margin: 0; | |
| font-family: Arial,sans-serif; | |
| font-size: 13px; | |
| font-weight: 400; | |
| line-height: 1.5; | |
| padding: 20px; | |
| } | |
| /* Hide Hacks */ |
| { | |
| "terms": [ | |
| { | |
| "startTerm": "Fall", | |
| "startTermYear": "2014", | |
| "endTerm": "Spring", | |
| "endTermYear": "2015", | |
| "totalOffered": 60000, | |
| "totalAccepted": 43500, | |
| "categories": [ |
| // 1. Go to https://github.com/evcohen/eslint-plugin-jsx-a11y/tree/master/docs/rules | |
| // 2. Run the following script: | |
| (() => { | |
| let output = {}; | |
| [...document.querySelectorAll('.files .js-navigation-item .content a[title]')] | |
| .forEach(file => output[`jsx-a11y/${file.getAttribute('title').replace('.md', '')}`] = 2) | |
| console.log(JSON.stringify(output, null, 4)); | |
| })() |
| // Gestalt release notes generation | |
| // 1. Go to https://github.com/pinterest/gestalt/commits/master | |
| // 2. Run the script below | |
| [...document.querySelectorAll('.commit-title')] | |
| .map(commitTitle => `* ${commitTitle.innerText.replace(' …', '')}`) | |
| .join("\n"); |