- Install homebrew
- Install fish
- Add homebrew to fish path
fish_add_path /opt/homebrew/bin/
- Install https://github.com/jorgebucaran/fisher
- Install https://github.com/jorgebucaran/nvm.fish
- Install https://www.nerdfonts.com/font-downloads, Fira Code Nerd Font, Fira Code Nerd Font Retina Complete
omf install bobthefish
set -g theme_nerd_fonts yes
- Get EnvPane to set env variables for desktop and terminal apps: https://github.com/hschmidt/EnvPane/releases
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
[ | |
{ | |
"name": "Acadia", | |
"photo": "https://upload.wikimedia.org/wikipedia/commons/thumb/b/b1/Bass_harbor_head_light_20041002_123635_1.1504x1000.jpg/200px-Bass_harbor_head_light_20041002_123635_1.1504x1000.jpg", | |
"location": "Maine", | |
"dateFounded": "1919-02-26", | |
"area": 49075.26, | |
"visitors": 3509271 | |
}, | |
{ |
- white - white
- snow - grey-100
- sleet - grey-200
- slush - grey-300
- smoke - grey-400
- smog - grey-500
- carbon - grey-600
- silver - grey-700
- slate - grey-800
- steel - grey-900
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
(function() { | |
var canvas = document.createElement("canvas"); | |
var ctx = canvas.getContext("2d") | |
var devicePixelRatio = window.devicePixelRatio || 1; | |
var backingStoreRatio = ctx.webkitBackingStorePixelRatio || | |
ctx.mozBackingStorePixelRatio || | |
ctx.msBackingStorePixelRatio || | |
ctx.backingStorePixelRatio || 1 | |
console.log("devicePixelRatio: " + devicePixelRatio + "; backingStoreRatio: " + backingStoreRatio); | |
}()); |
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
{ | |
// Taken from Visual Studio Code Defaults | |
// Enable / disable JavaScript validation | |
"javascript.validate.enable": true, | |
| |
// Defines space handling after a comma delimiter | |
"javascript.format.insertSpaceAfterCommaDelimiter": true, | |
| |
// Defines space handling after a semicolon in a for statement | |
"javascript.format.insertSpaceAfterSemicolonInForStatements": true, |
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
[ | |
{ | |
"id": 4, | |
"name": "1.3.2 Explore", | |
"iframes": [ | |
{ | |
"url": "https:\/\/coretools.ldc.org\/#\/curriculumLibrary", | |
"button": "\u00d7Click here to explore library" | |
} | |
] |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
/** | |
* @license | |
* lodash 3.5.0 (Custom Build) <https://lodash.com/> | |
* Build: `lodash modern -o ./lodash.js` | |
* Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/> | |
* Based on Underscore.js 1.8.2 <http://underscorejs.org/LICENSE> | |
* Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors | |
* Available under MIT license <https://lodash.com/license> | |
*/ | |
;(function() { |
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
# in config/environments/production.rb | |
if ENV['HTTP_AUTH'].present? | |
config.middleware.use '::Rack::Auth::Basic' do |u, p| | |
[u, p] == ENV['HTTP_AUTH'].split(',') | |
end | |
end | |
# Set HTTP_AUTH on staging: | |
# $ heroku config:set HTTP_AUTH=username,password |
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
/* TOKENIZE -- demonstrates a way to tokenize a string, with adjacent delimiters | |
* returned as empty strings. | |
* Partially based on: http://stackoverflow.com/questions/874161 | |
*/ | |
#include <stdlib.h> | |
#include <string.h> | |
#include <stdio.h> | |
/* Function declarations */ |