- Set up user account
- Name computer
- Check trackpad settings
- Install Google Chrome
- Install Homebrew http://brew.sh/
- Brew should auto-install Xcode Developer Tools for you
$ brew doctor
$ brew install git
- Download node.js (I prefer the installer over brew) http://nodejs.org/download/
npm
is now installed, too
This file contains 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
/** | |
* A function to take a string written in dot notation style, and use it to | |
* find a nested object property inside of an object. | |
* | |
* Useful in a plugin or module that accepts a JSON array of objects, but | |
* you want to let the user specify where to find various bits of data | |
* inside of each custom object instead of forcing a standardized | |
* property list. | |
* | |
* @param String nested A dot notation style parameter reference (ie "urls.small") |
This file contains 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
<?php | |
/* | |
Plugin Name: Videos | |
Plugin URI: | |
Author: Dave Rupert | |
Author URI: http://www.daverupert.com | |
Description: A custom post type that adds videos and custom taxonomies. | |
Version: 1.0 | |
*/ |
This file contains 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
{ | |
"_index": ".ds-metrics-apm.internal-default-2022.07.25-000006", | |
"_id": "CMO1ooIBzPFW3SMwqU5-", | |
"_version": 1, | |
"_score": 0, | |
"_source": { | |
"container": { | |
"id": "b2f7a1658b1d0df18aaab5dd5b9c3d43b2572c957386ea39c13e6c9af3fa0803" | |
}, | |
"system.process.cpu.total.norm.pct": 0.0004199563245422476, |
This file contains 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
#!/usr/bin/env bash | |
get() { | |
sudo systemsetup -gettimezone | |
} | |
set() { | |
sudo systemsetup -settimezone $1 | |
} |
I hereby claim:
- I am jasonrhodes on github.
- I am elasticjason (https://keybase.io/elasticjason) on keybase.
- I have a public key ASCGpw7vdP3quswdwWcZCOqRRMt-felhYC-kXMp9EO-ZYAo
To claim this, I am signing this object:
This file contains 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
/** | |
* Scientist.js | |
* | |
* A small helper library for working with Google Analytics. | |
* | |
* @author Jason Rhodes | |
* @version 0.2 | |
* | |
*/ | |
var Scientist = function (analytics) { |
Student Fit Problem
T is the number of total students
n is the number of teachers/classes
c is the number of students per class
c = T / n
for every value of n
, I want to also compute r
, or "the number of students you can add to T
to get c
to rise to the next whole number"
This file contains 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
import { trackUiMetric } from '../wherever' | |
export function TrackVisit({ app, path, delay = 0 }) { | |
if (!delay) { | |
trackUiMetric(app, `visit__${path}`) // something like visit__transactions_list_page | |
} | |
useEffect(() => { | |
if (!delay) { | |
return; | |
} |
This file contains 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
react@^16.2.0, react@^16.6.0, react@^16.8.0: | |
version "16.8.2" | |
resolved "https://registry.yarnpkg.com/react/-/react-16.8.2.tgz#83064596feaa98d9c2857c4deae1848b542c9c0c" | |
integrity sha512-aB2ctx9uQ9vo09HVknqv3DGRpI7OIGJhCx3Bt0QqoRluEjHSaObJl+nG12GDdYH6sTgE7YiPJ6ZUyMx9kICdXw== | |
dependencies: | |
loose-envify "^1.1.0" | |
object-assign "^4.1.1" | |
prop-types "^15.6.2" | |
scheduler "^0.13.2" |
NewerOlder