This gist is a formatted collection of personal notes taken during local Rust setup on a macbook laptop in preperation for "The Book".
This is written for Jacob (the author) to look back on and question his own decisions. Follow at your own risk.
This gist is a formatted collection of personal notes taken during local Rust setup on a macbook laptop in preperation for "The Book".
This is written for Jacob (the author) to look back on and question his own decisions. Follow at your own risk.
tl;dr Git is like video game save points for coding. It is a separate service from Github, but they work closely together.
import React from 'react' | |
import PropTypes from 'prop-types' | |
import Chip from '@material-ui/core/Chip' | |
import TextField from '@material-ui/core/TextField' | |
// import InputAdornment from '@material-ui/core/InputAdornment' | |
import { withStyles } from '@material-ui/core/styles' |
export const fetchResume = (profile, params) => { | |
if (!params.token) { | |
throw new Error('Required params not given to download resume.'); | |
} | |
return { | |
[RSAA]: { | |
endpoint: `/profiles/${profile.get('id')}/download${buildUrlParams( | |
params | |
)}`, |
import { RSAA, getJSON } from "redux-api-middleware"; | |
import { openDialog } from "redux-dialog-extended"; | |
import { fromJS } from "immutable"; | |
import { | |
hasBilling, | |
showCreditBanner, | |
showCardExpiredBanner | |
} from "../helpers/discovery"; | |
import * as selectors from "../selectors"; |
# fuckingwifi cycles wifi on and off to reset | |
fuckingwifi () { | |
networksetup -setairportpower en0 off | |
sleep 1 | |
echo "Fucking WiFi..." | |
sleep 1 | |
echo "I swear to god, if Steve Jobs wasn't dead..." | |
sleep 1 | |
echo "I'd punch him in his stupid turtleneck..." | |
networksetup -setairportpower en0 on |