- [PostgreSQL] is where our database exists - service name:
myDatabase
- [heroku] hosts
myDatabase
via a push using the "heroku toolbar" - a command line/terminal tool - [heroku] allows [many technologies] to query their hosted databases, especially valuable to us thanks to a [NodeJS-friendly] API to query
myDatabase
- service name:herokuPostgreSQL
herokuPostgreSQL
: ([express.js] built on top of [NodeJS])MyWebApi
queriesherokuPostgreSQL
to get data from databaseMyWebApi
is hosted on [heroku] - and connected with [our MyWebApi GitHub] repository for simple deploymentMyWebApi
communicates withherokuPostgreSQL
to verify user credentials, query the database and/or CRUD operations
This file contains hidden or 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
# To the extent possible under law, the author(s) have dedicated all | |
# copyright and related and neighboring rights to this software to the | |
# public domain worldwide. This software is distributed without any warranty. | |
# You should have received a copy of the CC0 Public Domain Dedication along | |
# with this software. | |
# If not, see <http://creativecommons.org/publicdomain/zero/1.0/>. | |
# base-files version 4.2-2 | |
# ~/.bash_profile: executed by bash(1) for login shells. |
This file contains hidden or 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
/* Mixin */ | |
@mixin vertical-align($position: relative) { | |
position: $position; | |
top: 50%; | |
transform: translateY(-50%); | |
} |
This file contains hidden or 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
/* | |
* ----------------------------------------------------------------------------------------- | |
* ==== End goal is to have an object, `myObject` look like this: ========================= | |
* ----------------------------------------------------------------------------------------- | |
* myObject: { | |
* 'firstKey': ['valueOne', 'valueTwo', 'valueThree', 'valueFour', 'value-firstKey'], | |
* 'secondKey': ['valueOne', 'valueTwo', 'valueThree', 'valueFour', 'value-secondKey'], | |
* 'thirdKey': ['valueOne', 'valueTwo', 'valueThree', 'valueFour', 'value-thirdKey'] | |
* } | |
*/ |
This file contains hidden or 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
/* CSS for VS Code */ | |
/* | |
Feel free to remove these comments - just documenting why we do what we do... | |
*/ | |
/* This is the left-hand pane or "tree-view" */ | |
.monaco-split-view, | |
/* These are for any `.js` or `.jsx` files */ | |
.editor-container[data-mode-id~="javascript"], | |
.editor-container[data-mode-id~="javascriptreact"] { |
This file contains hidden or 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
// `File > Preferences > User Settings`(WINDOWS) | |
// Place your settings in this file to overwrite the default settings | |
{ | |
"editor.fontSize": 14, | |
"editor.fontFamily": "'Fira Code', Consolas, 'Courier New', monospace", | |
"editor.fontLigatures": true, | |
"editor.fontWeight": "normal", | |
"editor.tabSize": 2, | |
"editor.formatOnSave": true, |
This file contains hidden or 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 anagram(wordOne, wordTwo) { | |
var isAnagram = false; | |
if (wordOne.split('').length === wordTwo.split('').length) { | |
wordOne.split('').sort().every(function(one, two) { | |
return isAnagram = one === wordTwo.split('').sort()[two]; | |
}); | |
} | |
return isAnagram; | |
} | |
console.log(anagram("jordan", "najorad")); |
This file contains hidden or 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
export NVM_DIR=~/.nvm | |
source ~/.nvm/nvm.sh |
This file contains hidden or 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
//------------------------ | |
// General/Matchmaking Settings (begin) | |
//------------------------ | |
mm_dedicated_search_maxping “70″ | |
cl_autowepswitch "0" | |
cl_loadout_colorweaponnames "1" | |
cl_mute_enemy_team "1" | |
cl_bob_lower_amt 0 | |
cl_bobamt_lat 0 | |
cl_bobamt_vert 0 |
This file contains hidden or 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
// ==== Ligature fonts for atom | |
// JM 12/14/2016 | |
// Sources: | |
// - https://github.com/tonsky/FiraCode | |
// - http://www.dafont.com/flottflott.font | |
// | |
// Reference (original): https://medium.com/@docodemore/an-alternative-to-operator-mono-font-6e5d040e1c7e#.nm9fchwv1 | |
// Reference (improved): https://gist.github.com/MattMcFarland/e41ef709b1d82adea800563a86805559#gistcomment-1835618 | |
@fontsize: 16px; |