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
# Customize BASH PS1 prompt to show current GIT repository and branch. | |
# by Mike Stewart - http://MediaDoneRight.com | |
# SETUP CONSTANTS | |
# Bunch-o-predefined colors. Makes reading code easier than escape sequences. | |
# I don't remember where I found this. o_O | |
# Reset | |
Color_Off="\[\033[0m\]" # Text Reset |
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
## DOCKER | |
# formatting container list | |
alias dockerps='docker ps --format="ID\t{{.ID}}\nNAME\t{{.Names}}\nIMAGE\t{{.Image}}\nPORTS\t{{.Ports}}\nCOMMAND\t{{.Command}}\nCREATED\t{{.CreatedAt}}\nSTATUS\t{{.Status}}\n"' | |
# formatting images list | |
alias dockerimages='docker images --format="ID\t{{.ID}}\nREPOSITORY\t{{.Repository}}\nTAG\t{{.Tag}}\nCREATED\t{{.CreatedAt}}\nSIZE\t{{.Size}}\n"' |
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
Clone the repo: git clone https://github.com/antonioyon/chromium-vim.git | |
Switch branches to issue-716-fix-broken-hints | |
choco install make | |
Run npm install and then make. | |
Go to chrome://extensions in browser and select the "Load Unpacked Extension" button (may need developer mode enabled). | |
Navigate to the git cloned directory | |
copy/paste this config: let blacklists = ["*://192.168.68.8:8080","https://mail.google.com/*","*://mail.google.com/*","@https://mail.google.com/mail/*","https://codesandbox.io/*","https://learn.freecodecamp.org/*","https://codepen.io/*"] | |
Once all of this is done, go back to chrome://extensions and turn off developer mode |
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
I. Delete local/temp files and folders | |
*) Press WINDOWS-R on the keyboard to bring up the Run window. | |
*) Type %TMP% and then click OK. | |
*) Delete the contents of the folder that opens up. | |
II. Delete windows update files manually (Windows 7 / 10) | |
*) Stop the Windows update service before we can clear the update cache. To do that, search for “Services” in the Start menu and open it. If you are using your system as a standard user, then open it as an administrator using the right-click menu. | |
*) Run as administrator Windows Services | |
*) Once the Services window has been opened, find the service “Windows Update,” right-click on it and then select the option “Stop.” This action stops the Windows update service | |
*) Stop Windows Update Service |
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
{ | |
"compilerOptions": { | |
"esModuleInterop": true, | |
"allowSyntheticDefaultImports": true, | |
"module": "commonjs", | |
"removeComments": true, | |
"sourceMap": true, | |
"target": "es5", | |
"outDir": "dist" | |
}, |
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
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | |
# dependencies | |
/node_modules | |
/.pnp | |
.pnp.js | |
# testing | |
/coverage |
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
# template ref: https://github.com/github/gitignore | |
# Custom | |
build/ | |
.cache-loader/ | |
cdn/ | |
coverage | |
cypress | |
development | |
dist |
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
// when pulling sub directories from git clone | |
git pull --depth=1 origin master |
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
// VIM | |
// When copy/pasting react code, turn off vim autoclose tags | |
:CloseTagDisableBuffer | |
:CloseTagEnableBuffer | |
// vim batch command | |
:cdo s/pattern/newpattern/g | update | |
// repeat a macro with visual mode |
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
// Basic Setup | |
// Create a Dockerfile and .dockerignore in root directory | |
// Run any npm scripts required (ie. babel build scripts) | |
// Build the container (don't forget the period at the end) | |
docker build -t <username>/<app name> . | |
ie. docker build -t pak11273/example:1.0.0 . | |