Skip to content

Instantly share code, notes, and snippets.

View john20xdoe's full-sized avatar
:shipit:

Lee Alexis john20xdoe

:shipit:
  • Philippines
View GitHub Profile
@john20xdoe
john20xdoe / .bash_profile
Last active April 2, 2018 00:52
Mac OS bash profile for improving terminal and common needs
# MAC commands
# Alias commands for enable show.hide all files
alias showFiles='defaults write com.apple.finder AppleShowAllFiles YES; killall Finder /System/Library/CoreServices/Finder.app'
alias hideFiles='defaults write com.apple.finder AppleShowAllFiles NO; killall Finder /System/Library/CoreServices/Finder.app'
# iTerm2
# Set CLICOLOR if you want Ansi Colors in iTerm2
export CLICOLOR=1
# Set colors to match iTerm2 Terminal Colors
@john20xdoe
john20xdoe / System Design.md
Created March 26, 2018 08:05 — forked from vasanthk/System Design.md
System Design Cheatsheet

System Design Cheatsheet

Picking the right architecture = Picking the right battles + Managing trade-offs

Basic Steps

  1. Clarify and agree on the scope of the system
  • User cases (description of sequences of events that, taken together, lead to a system doing something useful)
    • Who is going to use it?
    • How are they going to use it?
@john20xdoe
john20xdoe / launch.json
Created January 24, 2018 01:27
VS Code config for Atlassian SDK developers
{
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
/*
* This attaches the VSCode debugger to the JIRA instance created by a `atlas-debug` command.
* Before attaching the debugger, you need to run `atlas-debug` to spin up a JIRA instance.
* Default port is 5005.
* Reference: https://developer.atlassian.com/server/framework/atlassian-sdk/creating-a-remote-debug-target/
*/
"version": "0.2.0",
"configurations": [
@john20xdoe
john20xdoe / docker_clear.txt
Last active January 18, 2018 03:29
Docker clear image commands (local copies)
# stop all instances and remove
docker stop $(docker ps -a -q) && docker rm $(docker ps -a -q)
# force remove wih sudo
docker rm -f -v $(sudo docker ps -a -q)
# remove only untagged
docker rmi -f $(docker images | grep "<none>" | awk "{print \$3}")
@john20xdoe
john20xdoe / keybase.md
Last active January 24, 2018 01:28
Keybase proof of ownership

Keybase proof

I hereby claim:

  • I am john20xdoe on github.
  • I am arekkushisu (https://keybase.io/arekkushisu) on keybase.
  • I have a public key whose fingerprint is 2F88 CF26 9C22 AAB9 5291 8B14 8462 63D0 D793 88B6

To claim this, I am signing this object: