Skip to content

Instantly share code, notes, and snippets.

@tiggerk
tiggerk / .git-commit-template.txt
Created March 1, 2020 02:33 — forked from adeekshith/.git-commit-template.txt
This commit message template helps you write great commit messages and enforce it across teams.
# <type>: (If applied, this commit will...) <subject> (Max 50 char)
# |<---- Using a Maximum Of 50 Characters ---->|
# Explain why this change is being made
# |<---- Try To Limit Each Line to a Maximum Of 72 Characters ---->|
# Provide links or keys to any relevant tickets, articles or other resources
# Example: Github issue #23
@tiggerk
tiggerk / vim keys Macros.kmlibrary
Created January 6, 2018 05:29
keyboard maestro vim key setting
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Author</key>
<string>tiggerk</string>
<key>AuthorURL</key>
<string></string>
<key>CanDragToMacroGroup</key>
<true/>
@tiggerk
tiggerk / uninstall_parallels.md
Created April 23, 2017 00:33
패러럴즈 깨끗하게 삭제
rm -rf ~/Documents/Parallels/
rm -rf ~/Applications\ \(Parallels\)/
rm -rf ~/Library/Preferences/com.parallels.*
rm -rf ~/Library/Preferences/parallels
rm -rf ~/Library/Logs/parallels.log
sudo rm -rf /library/logs/parallels.log
sudo rm -rf /library/preferences/parallels
sudo rm -rf /private/var/db/Parallels
sudo rm -rf /private/var/.Parallels_swap
@tiggerk
tiggerk / migrating-to-lodash.md
Last active January 6, 2018 05:26
Migrating to loadsh from Underscore
  • Underscore _.any is Lodash _.some
  • Underscore _.compose is Lodash _.flowRight
  • Underscore _.contains is Lodash _.includes
  • Underscore _.each doesn’t allow exiting by returning false
  • Underscore _.findWhere is Lodash _.find
  • Underscore _.flatten is deep by default while Lodash is shallow
  • Underscore _.indexBy is Lodash _.keyBy
  • Underscore _.invoke is Lodash _.invokeMap
  • Underscore _.mapObject is Lodash _.mapValues
  • Underscore _.max combines Lodash _.max & _.maxBy
@tiggerk
tiggerk / you_might_not_need_underscore.md
Last active January 6, 2018 05:26
You Might Not Need Underscore (ES6, ES2015)

Arrays

Iterate

  • Underscore

    _.each(array, iteratee)