jq is useful to slice, filter, map and transform structured json data.
brew install jq
| javascript: (function () { | |
| new_window = window.open(); | |
| new_window.document.body.innerHTML = $("iframe") | |
| .contents() | |
| .find("iframe") | |
| .contents() | |
| .find("body") | |
| .get(1).innerHTML; | |
| new_window.document.body.querySelector("#content-overlays").remove(); | |
| })(); |
| var p1 = { | |
| x: 20, | |
| y: 20 | |
| }; | |
| var p2 = { | |
| x: 40, | |
| y: 40 | |
| }; |
| 13:15 <xQuasar> | HASKELL IS FOR FUCKIN FAGGOTS. YOU'RE ALL A BUNCH OF | |
| | FUCKIN PUSSIES | |
| 13:15 <xQuasar> | JAVASCRIPT FOR LIFE FAGS | |
| 13:16 <luite> | hello | |
| 13:16 <ChongLi> | somebody has a mental illness! | |
| 13:16 <merijn> | Wow...I suddenly see the error of my ways and feel | |
| | compelled to write Node.js! | |
| 13:16 <genisage> | hi | |
| 13:16 <luite> | you might be pleased to learn that you can compile | |
| | haskell to javascript now |
| #!/bin/bash | |
| # If you are developing on OSX on Windows | |
| # but you want to run on linux - or in docker - or on AWS Lambda | |
| # PhantomJS must be the binary for that OS... | |
| # https://github.com/sindresorhus/pageres/issues/275 | |
| # | |
| # Easiest solution, download inside a docker, running on linux | |
| # | |
| # This script should be run from within the docker container | |
| # |
Setup:
bookmarklet below (open this "raw" link so it's not truncated). Yes it's huge, that's fine. You can name the bookmark "Roam Link" or whatever you like.
roam/css, and create a CSS code block (``` for code block, then change the language selector dropdown to CSS) and paste the CSS below.Usage: