this'll allow for commenting + discussion + editing, probably better than a doc in the repo (or an issue, for that matter)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| </head> | |
| <body> | |
| <input type="text"/> |
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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <title>MetaDB bookmarklets</title> | |
| <style> | |
| body { | |
| font-family: sans-serif; |
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
| # start with a bunch of PNG images of your zine pages | |
| # convert them all to PDF | |
| for i in *.png | |
| do | |
| # imagemagick is the best thing in the world | |
| convert $i $i.pdf | |
| done | |
| # pdftk is awesome for combining pdfs into a single pdf | |
| pdftk *.pdf cat output zine.pdf |
So if this is our site wrapper:
function Main (props) {
return (
<div>
<SiteHeader />
{props.children}
</div>
)
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
| /* default tables to look like bootstrap's `.table.table-bordered` | |
| if no class is passed through (this is to allow users to insert tables | |
| with T4 and have them look like tables on the rest of the site). using | |
| the `:not([class])` selector to target tables without a class attribute | |
| and not affect global table styles for those using separate styles. | |
| */ | |
| table:not([class]) { | |
| border: 1px solid #dddddd; | |
| border-left: 0; | |
| border-collapse: separate; |
- buck wild
- chuck filed
- duck child
- duck dialed
- fuck mild
- huck spiraled
- stuck smiled
- muck styled
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
| /* global $ */ | |
| /** | |
| * jQuery uses CSS selectors to target elements. You can use `#` to target | |
| * elements by their ID (which _should_ be unique), `.` | |
| */ | |
| $('[data-oclc]').each(function (idx, el) { | |
| var $item = $(this) | |
| var num = $item.data('oclc') |
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
| // script to gather unique circulations from WMS All_Checked_out reports, stored in './data' directory | |
| var fs = require('fs') | |
| var path = require('path') | |
| var Level = require('level') | |
| var split = require('split2') | |
| var rimraf = require('rimraf') | |
| var db = Level('./db') | |
| var LevelUnique = require('level-unique-filter') |