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
https://speckyboy.com/top-50-free-icon-sets-2016/ |
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
http://thenewcode.com/1089/Web-Developer-Reading-List-Scrolling-Effects |
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
Settings |
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
# interactive update of global packages | |
npm-check -u -g | |
# interactive update for a project you are working on | |
npm-check -u |
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
~/.bashrc | |
# For Terminix and Powerline | |
if [[ $TERMINIX_ID ]]; then | |
. /etc/profile.d/vte.sh | |
fi | |
if [ -f `which powerline-daemon` ]; then | |
powerline-daemon -q | |
POWERLINE_BASH_CONTINUATION=1 | |
POWERLINE_BASH_SELECT=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
componentDidMount() { | |
this.updateDimensions() | |
window.addEventListener('resize', this.updateDimensions) | |
} | |
componentWillUnmount() { | |
window.removeEventListener('resize', this.updateDimensions) | |
} | |
updateDimensions = () => { |
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
image: "node:6.9" | |
variables: | |
BUNDLE_CACHE: "node_modules/" | |
cache: | |
untracked: false | |
paths: | |
- ~/.npm/ | |
- node_modules/ | |
stages: | |
- test |
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
const test = await User.find() | |
test.forEach(async (doc) => { | |
const id = nanoid() | |
await User.update({ _id: doc._id }, { $set: { id } }) | |
}) |
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
/* | |
This is for demonstration purposes. Ideally, you should never use the star selector. | |
I recommend that you use this early on in your development, and then once you've established | |
your HTML element palette, go back and replace * with a comma-separated list of your | |
tag names. Additionally, the !important shouldn't have to be used, but I'm leaving it here | |
because some enterprising goons will probably copy and paste this directly into their project - | |
the !important will ensure these settings override other attempts that were either never | |
deleted or are part of an installed CSS file the user is unaware of. | |
*/ | |
* { |
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 | |
# ECHO COMMAND | |
# echo Hello World! | |
# VARIABLES | |
# Uppercase by convention | |
# Letters, numbers, underscores | |
NAME="Bob" | |
# echo "My name is $NAME" |