- Zen and the Art of Motorcycle Maintenance, by Robert M. Pirsig
CLI
#!/bin/bash | |
if [ "$1" = "-h" -o "$1" = "--help" -o -z "$1" ]; then cat <<EOF | |
appify v3.0.1 for Mac OS X - http://mths.be/appify | |
Creates the simplest possible Mac app from a shell script. | |
Appify takes a shell script as its first argument: | |
`basename "$0"` my-script.sh |
CLI
@import '//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css'; | |
*[id^='cyo'], | |
*[id^='cyo'] ~ * { | |
display: none; | |
} | |
*[id^='cyo']:last-of-type ~ * { | |
display: block; | |
} | |
*[id^='cyo']:target ~ * { | |
display: block; |
"use strict"; | |
const fs = require("fs"); | |
const jwt = require("jsonwebtoken"); | |
const privateKey = fs.readFileSync("AuthKey.p8").toString(); | |
const teamId = "ABCDE12345"; | |
const keyId = "ABCDE12345"; | |
const jwtToken = jwt.sign({}, privateKey, { |
You should have the following completed on your computer before the workshop:
yarn
with brew install yarn
.function ProviderComposer({ contexts, children }) { | |
return contexts.reduceRight( | |
(kids, parent) => | |
React.cloneElement(parent, { | |
children: kids, | |
}), | |
children | |
); | |
} |
import SwiftUI | |
import PlaygroundSupport | |
struct ContentView: View { | |
@State var text = "" | |
var body: some View { | |
SearchBar(text: $text) | |
} | |
} |