Setting up mysql on mac with sequel pro and homebrew
MacOS high sierra 10.13.6
Homebrew version 1.7.6
Assuming you've installed homebrew...
export type PerformanceServerTimings = Record< | |
string, | |
Array<PerformanceServerTiming> | |
> | |
/** | |
* Run this on the server to get a `time` function that can be used to time | |
* server-side operations and add them to the `Server-Timing` header. | |
*/ | |
export function getServerTiming() { |
initialize
: once, when the controller is first instantiatedconnect
: anytime the controller is connected to the DOM// Changes to original version | |
// 1. Calculate the distance between any nodes in the dataset, without needing to edit the problem dictionary. | |
// 2. Prevent algorithm from going back to start node if loops exist in graph (e.g., in problem below) | |
const problem = { | |
start: {A: 5, B: 2}, | |
A: {start: 1, C: 4, D: 2}, | |
B: {A: 8, D: 7}, | |
C: {D: 6, finish: 3}, | |
D: {finish: 1}, |
ember g model item title:string points:number time:unix-date timeAgo:string url:string domain:string |
Getting started: git checkout steps/0
https://gist.github.com/serenaf/2e270f631b647bc4c51631a71ed7b70e
Adding routes: git checkout steps/1
https://gist.github.com/serenaf/635760360bc5afa12b1388dd1bbd5c03
Creating item model: git checkout steps/2
Want to inject some flavor into your everyday text chat? You're in luck! Discord uses Markdown, a simple plain text formatting system that'll help you make your sentences stand out. Here's how to do it! Just add a few characters before & after your desired text to change your text! I'll show you some examples...
What this guide covers:
const problem = { | |
start: {A: 5, B: 2}, | |
A: {C: 4, D: 2}, | |
B: {A: 8, D: 7}, | |
C: {D: 6, finish: 3}, | |
D: {finish: 1}, | |
finish: {} | |
}; | |
const lowestCostNode = (costs, processed) => { |
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<style> | |
.links line { | |
stroke: #999; | |
stroke-opacity: 0.6; | |
} | |
.nodes circle { |
const ACTIVITIES = [ | |
{name: 'side-project', time: 10, xp: 12}, | |
{name: 'algorithms', time: 3, xp: 7}, | |
{name: 'networking', time: 1, xp: 0.5}, | |
{name: 'exercise', time: 2, xp: 1.5}, | |
{name: 'systems design', time: 4, xp: 4}, | |
{name: 'making CSS codepens', time: 3, xp: 4} | |
]; | |
/** |