- Homebrew/terminal/bash
- Window Management: Spectacle
- OSX Settings - Dock/Finder
- Firefox - Extensions - Tabliss, OneTab,
- Node.js - nvm
- Code Editor - Vs code
- Code Editor Extensions
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
// example for 2 phase commit transaction | |
const { Client } = require("pg"); | |
const jsforce = require("jsforce"); | |
const pgClient = new Client({ | |
connectionString: "postgres://user:password@localhost:5432/db1", | |
}); | |
const sfConn = new jsforce.Connection({ | |
loginUrl: "https://the-salesforce-instance-url.com", |
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 | |
# Add Z Shell to any container | |
## 1. Ensure your container has git | |
## 2. Ensure your container has openssh and wget | |
## (checking os is not necessarily, fails will be failed 😉) | |
apt-get install openssh-client wget # apline | |
apk --update add openssh-client wget # debian | |
brew install openssh-client wget # mac 😂 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 | |
git filter-branch --env-filter ' | |
WRONG_EMAIL="thien.ly@tikii.vn" | |
NEW_NAME="Lý Lưỡng Thiên" | |
NEW_EMAIL="thien.ly@tiki.vn" | |
if [ "$GIT_COMMITTER_EMAIL" = "$WRONG_EMAIL" ] | |
then | |
export GIT_COMMITTER_NAME="$NEW_NAME" |
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/sh | |
YEAR="1990" | |
read -p "GitHub username: " USERNAME | |
if [ -z "$USERNAME" ] | |
then | |
exit 1 | |
fi |
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
.cddn0xzi { | |
background:linear-gradient(141deg,#F63138 0,#4699E1 75%)!important; | |
} | |
.em6zcovv { | |
fill: #ffffff; | |
} | |
.aaxa7vy3 { | |
fill: #fac; | |
} | |
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
! 2020-09-06 https://www.facebook.com | |
www.facebook.com##.bqdfd6uv.aovydwv3.j83agx80.buofh1pr.taijpn5t.ojvp67qx.thodolrn | |
! 2020-10-22 https://www.facebook.com | |
www.facebook.com##.hzawbc8m.m9osqain.lrazzd5p.g1cxx5fr.jagab5yi.iv3no6db.c8b282yb.mau55g9w.fe6kdd0r.d3f4x2em.aigsh9s9.nxhoafnm.keod5gw0.a8c37x1j.rrkovp55.c1et5uql.qv66sw1b.hpfvmrgz.d2edcug0 > .ojkyduve.l9j0dhe7.stjgntxs.ni8dbmo4.a8c37x1j | |
www.facebook.com##div:nth-of-type(1) > .l9j0dhe7 > .aodizinl.e5nlhep0.cbu4d94t.j83agx80.du4w35lb.l9j0dhe7.rq0escxv > .tgvbjcpo.buofh1pr.cbu4d94t.j83agx80.du4w35lb.l9j0dhe7.rq0escxv > .dati1w0a.hv4rvrfc.d2edcug0.pfnyh3mw.cbu4d94t.j83agx80.du4w35lb.l9j0dhe7.rq0escxv > .irj2b8pg.ew0dbk1b.cbu4d94t.j83agx80 > .knvmm38d.qzhwtbm6 > .hpfvmrgz.d2edcug0.lzcic4wl.p1ri9a11.l94mrbxd.gmql0nx0 > .oo9gr5id.lrazzd5p.g1cxx5fr.jagab5yi.mdeji52x.c8b282yb.mau55g9w.fe6kdd0r.d3f4x2em.aigsh9s9.nxhoafnm.keod5gw0.a8c37x1j.rrkovp55.c1et5uql.qv66sw1b.hpfvmrgz.d2edcug0 > .jeutjz8y.btwxx1t3.owycx6da.bp9cbjyn.i1fnvgqd.pfnyh3mw.j83agx80.du4w35lb.l9j0d |
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
# Generated by Powerlevel10k configuration wizard on 2020-09-15 at 21:25 +07. | |
# Based on romkatv/powerlevel10k/config/p10k-classic.zsh, checksum 49789. | |
# Wizard options: nerdfont-complete + powerline, small icons, classic, unicode, dark, | |
# slanted separators, sharp heads, slanted tails, 1 line, compact, many icons, concise, | |
# instant_prompt=verbose. | |
# Type `p10k configure` to generate another config. | |
# | |
# Config for Powerlevel10k with classic powerline prompt style. Type `p10k configure` to generate | |
# your own config based on it. | |
# |
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 | |
xset led named "Scroll Lock" | |
xset -led named "Scroll Lock" | |
xmodmap -e 'add mod3 = Scroll_Lock' | |
sudo apt-get install imwheel zenity | |
################################################### | |
#!/bin/bash | |
# Version 0.1 Tuesday, 07 May 2013 | |
# Comments and complaints http://www.nicknorton.net | |
# GUI for mouse wheel speed using imwheel in Gnome |
NewerOlder