Mou, the missing Markdown editor for web developers.
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
%% Cost Analysis of Bike Shares in Durham | |
rpm = 1:105; % rides per month | |
L1 = rpm; | |
L2 = 14 * ceil(rpm/100); | |
S1 = 5 * ceil(rpm/6); | |
S2 = 29 + 0*rpm; | |
figure(1), clf | |
subplot(2,1,1) |
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
+-------------------------+ | |
| [POWER] [LIGHT] | KEY_POWER SOURCE | |
| SOURCE | | |
| [ 1 ] [ 2 ] [ 3 ] | KEY_1 KEY_2 KEY_3 | |
| | | |
| [ 4 ] [ 5 ] [ 6 ] | KEY_4 KEY_5 KEY_6 | |
| | | |
| [ 7 ] [ 8 ] [ 9 ] | KEY_7 KEY_8 KEY_9 | |
| | | |
| [ - ] [ 0 ] PRE-CH | KEY_TEXT KEY_0 KEY_PREVIOUS |
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
# Please make this file available to others | |
# by sending it to <winlirc.configs@gmail.com> | |
# | |
# this config file was automatically generated | |
# using lirc-0.9.0(MCE) on Fri Feb 24 09:12:40 2017 | |
# | |
# contributed by David Bradway | |
# | |
# brand: Samgung |
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
# | |
ssh-keygen -t rsa -C "dpb6@duke.edu" | |
eval "$(ssh-agent -s)" | |
ssh-add ~/.ssh/id_rsa | |
git config --global user.email "dpb6@duke.edu" | |
git config --global user.name "David Bradway" |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Based on Mike Bostock’s [World Map][0], modified to automatically colour countries such that no adjacent countries share the same colour.
This is done by extracting the topology via [TopoJSON][1] and greedily picking colours until the constraint is fulfilled.
See also: [Graph coloring][2] on Wikipedia.
Update: Greedily colouring is now performed in a single line, thanks to Mike Bostock!
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
height: 960 |