View .Xresources
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
Xft.dpi: 130 |
View docker-compose.yml
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
version: "3" | |
# See: https://hackernoon.com/a-better-way-to-develop-node-js-with-docker-cd29d3a0093 | |
# This is the v3 syntax to achieve essentially the same thing. Note that if you launched this with a simple | |
# `docker-compose up` it would attempt to start every definition at the service level, which is not what you | |
# want! However, you can leverage the fact that `depends_on` launches the listed services prior to the | |
# dependent service, so in this example `docker-compose up myproject_web` would start the db container | |
# before the web container. Alternatively, you could just throw the stuff you don't want started with `up` | |
# into a separate YAML file, as the article demonstrates. | |
services: |
View git-logout
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
#!/bin/bash | |
# Logout current GitHub credentials and remove global user.name, user.email | |
echo -e "host=github.com\nprotocol=https\n" | git credential-osxkeychain erase | |
git config --unset-all --global user.name | |
git config --unset-all --global user.email |
View Board.js
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 Board() {} | |
Board.prototype.save = function () { | |
ApiFacade.putBoard(this, function (payload) { | |
// TODO: use response here in some fashion? Error handling? | |
console.log("Payload returning from save(): ", payload); | |
}); | |
} | |
Board.prototype.load = function () { |