# TIL > Today I Learned A collection of concise write-ups on small things I learn day to day across a variety of languages and technologies. These are things that don't really warrant a full blog post. These are mostly things I learn by pairing with smart people at [Hashrocket](http://hashrocket.com/). ### clojure - [Expanding Macros](clojure/expanding-macros.md) - [Quick Clojure Docs](clojure/quick-clojure-docs.md) - [Specify the Directory of a Shell Command](clojure/specify-the-directory-of-a-shell-command.md) - [Splitting On Whitespace](clojure/splitting-on-whitespace.md) - [Swap Two Items in a Vector](clojure/swap-two-items-in-a-vector.md) - [Type of Anything](clojure/type-of-anything.md) ### devops - [Check The Status of All Services](devops/check-the-status-of-all-services.md) - [Push Non-master Branch To Heroku](devops/push-non-master-branch-to-heroku.md) - [Reload The nginx Configuration](devops/reload-the-nginx-configuration.md) - [Wipe A Heroku Postgres Database](devops/wipe-a-heroku-postgres-database.md) ### git - [Accessing a Lost Commit](git/accessing-a-lost-commit.md) - [Checkout Old Version Of A File](git/checkout-old-version-of-a-file.md) - [Checkout Previous Branch](git/checkout-previous-branch.md) - [Clean Out All Local Branches](git/clean-out-all-local-branches.md) - [Delete All Untracked Files](git/delete-all-untracked-files.md) - [Dry Runs in Git](git/dry-runs-in-git.md) - [Intent To Add](git/intent-to-add.md) - [Last Commit A File Appeared In](git/last-commit-a-file-appeared-in.md) - [List Filenames Without The Diffs](git/list-filenames-without-the-diffs.md) - [List Untracked Files](git/list-untracked-files.md) - [Single Key Presses in Interactive Mode](git/single-key-presses-in-interactive-mode.md) - [Staging Changes Within Vim](git/staging-changes-within-vim.md) - [Staging Stashes Interactively](git/staging-stashes-interactively.md) - [Stashing Only Unstaged Changes](git/stashing-only-unstaged-changes.md) - [Stashing Untracked Files](git/stashing-untracked-files.md) - [Verbose Commit Message](git/verbose-commit-message.md) ### go - [Not So Random](go/not-so-random.md) ### javascript - [Character Codes from Keyboard Listeners](javascript/character-codes-from-keyboard-listeners.md) - [Throttling A Function Call](javascript/throttling-a-function-call.md) - [Truthiness of Integer Arrays](javascript/truthiness-of-integer-arrays.md) ### postgres - [Auto Expanded Display](postgres/auto-expanded-display.md) - [Checking The Type Of A Value](postgres/checking-the-type-of-a-value.md) - [Configure The Timezone](postgres/configure-the-timezone.md) - [Count Records By Type](postgres/count-records-by-type.md) - [Default Schema](postgres/default-schema.md) - [Extracting Nested JSON Data](postgres/extracting-nested-json-data.md) - [Fizzbuzz With Common Table Expressions](postgres/fizzbuzz-with-common-table-expressions.md) - [Generate Series Of Numbers](postgres/generate-series-of-numbers.md) - [Intervals Of Time By Week](postgres/intervals-of-time-by-week.md) - [Limit Execution Time Of Statements](postgres/limit-execution-time-of-statements.md) - [List All Columns Of A Specific Type](postgres/list-all-columns-of-a-specific-type.md) - [Send A Command To psql](postgres/send-a-command-to-psql.md) - [String Contains Another String](postgres/string-contains-another-string.md) - [Temporarily Disable Triggers](postgres/temporarily-disable-triggers.md) - [Temporary Tables](postgres/temporary-tables.md) - [Timestamp Functions](postgres/timestamp-functions.md) - [Toggling The Pager In PSQL](postgres/toggling-the-pager-in-psql.md) - [Turning Timing On](postgres/turning-timing-on.md) - [Use Argument Indexes](postgres/use-argument-indexes.md) - [Using Intervals To Offset Time](postgres/using-intervals-to-offset-time.md) - [Who Is The Current User](postgres/who-is-the-current-user.md) - [Word Count for a Column](postgres/word-count-for-a-column.md) ### rails - [All or Nothing Database Transactions](rails/all-or-nothing-database-transactions.md) - [Attribute Getter without the Recursion](rails/attribute-getter-without-the-recursion.md) - [Attribute Was](rails/attribute-was.md) - [Capybara Page Status Code](rails/capybara-page-status-code.md) - [Conditional Class Selectors in Haml](rails/conditional-class-selectors-in-haml.md) - [Creating Records of Has_One Associations](rails/creating-records-of-has-one-associations.md) - [Pretend Generations](rails/pretend-generations.md) - [Retrieve An Object If It Exists](rails/retrieve-an-object-if-it-exists.md) - [Show Pending Migrations](rails/show-pending-migrations.md) ### ruby - [Are They All True?](ruby/are-they-all-true.md) - [Comparing Class Hierarchy Relationships](ruby/comparing-class-hierarchy-relationships.md) - [Create an Array of Stringed Numbers](ruby/create-an-array-of-stringed-numbers.md) - [Destructuring Arrays In Blocks](ruby/destructuring-arrays-in-blocks.md) - [Disassemble Some Codes](ruby/disassemble-some-codes.md) - [Evaluating One-Off Commands](ruby/evaluating-one-off-commands.md) - [FactoryGirl Sequences](ruby/factory-girl-sequences.md) - [Finding The Source of Ruby Methods](ruby/finding-the-source-of-ruby-methods.md) - [Limit Split](ruby/limit-split.md) - [Override The Initial Sequence Value](ruby/override-the-initial-sequence-value.md) - [Parallel Bundle Install](ruby/parallel-bundle-install.md) - [Percent Notation](ruby/percent-notation.md) - [Question Mark Operator](ruby/question-mark-operator.md) - [Squeeze Out The Extra Space](ruby/squeeze-out-the-extra-space.md) - [Summing Collections](ruby/summing-collections.md) ### tmux - [Create A Named tmux Session](tmux/create-a-named-tmux-session.md) - [List All Key Bindings](tmux/list-all-key-bindings.md) - [Organizing Windows](tmux/organizing-windows.md) - [Reclaiming The Entire Window](tmux/reclaiming-the-entire-window.md) - [tmux in your tmux](tmux/tmux-in-your-tmux.md) ### vim - [The Black Hole Register](vim/the-black-hole-register.md) - [Buffer Time Travel](vim/buffer-time-travel.md) - [Check Your Current Color Scheme](vim/check-your-current-color-scheme.md) - [Close the Current Buffer](vim/close-the-current-buffer.md) - [Coerce The Current Filetype](vim/coerce-the-current-filetype.md) - [Count the Number of Matches](vim/count-the-number-of-matches.md) - [Create A New File In A New Directory](vim/create-a-new-file-in-a-new-directory.md) - [End Of The Word](vim/end-of-the-word.md) - [Generate and Edit Rails Migration](vim/generate-and-edit-rails-migration.md) - [Head of File Name](vim/head-of-file-name.md) - [Help For Non-Normal Mode Features](vim/help-for-non-normal-mode-features.md) - [Horizontal to Vertical and Back Again](vim/horizontal-to-vertical-and-back-again.md) - [Incremental Searching](vim/incremental-searching.md) - [Interactive Buffer List](vim/interactive-buffer-list.md) - [Joining Lines Together](vim/joining-lines-together.md) - [List All Buffers](vim/list-all-buffers.md) - [List Of Plugins](vim/list-of-plugins.md) - [Marks Across Vim Sessions](vim/marks-across-vim-sessions.md) - [Moving To A Specific Line](vim/moving-to-a-specific-line.md) - [NETRW Listing Styles](vim/netrw-listing-styles.md) - [Open an Unnamed Buffer](vim/open-an-unnamed-buffer.md) - [Opening a URL](vim/opening-a-url.md) - [Preventing Typos with Abbreviations](vim/preventing-typos-with-abbreviations.md) - [Previous Buffer](vim/previous-buffer.md) - [Previous Visual Selection](vim/previous-visual-selection.md) - [Quick File Info](vim/quick-file-info.md) - [Quick Man Pages](vim/quick-man-pages.md) - [Quick Quickfix List Navigation](vim/quick-quickfix-list-navigation.md) - [Re-indenting Your Code](vim/reindenting-your-code.md) - [Rename Current File](vim/rename-current-file.md) - [Repeat The Previous Change](vim/repeat-the-previous-change.md) - [Scrolling Relative to the Window](vim/scrolling-relative-to-the-window.md) - [Set Your Color Scheme](vim/set-your-color-scheme.md) - [Split Different](vim/split-different.md) - [Swap Occurrences Of Two Words](vim/swap-occurrences-of-two-words.md) - [Tabs To Spaces](vim/tabs-to-spaces.md) - [The Vim Info File](vim/the-vim-info-file.md) - [Verbose Commits With Fugitive](vim/verbose-commits-with-fugitive.md) - [View Commit History of a File](vim/view-commit-history-of-a-file.md) - [Viewing Man Pages with man.vim](vim/viewing-man-pages-with-man-vim.md) - [Vim Without The Extras](vim/vim-without-the-extras.md) - [Whole Line Auto-Completion](vim/whole-line-auto-completion.md) - [Wrap With Some Room](vim/wrap-with-some-room.md) ### zsh - [All The Environment Variables](zsh/all-the-environment-variables.md) - [Cat A File With Line Numbers](zsh/cat-a-file-with-line-numbers.md) - [Check If A Port Is In Use](zsh/check-if-a-port-is-in-use.md) - [Clear The Screen](zsh/clear-the-screen.md) - [Create A File Descriptor with Process Substitution](zsh/create-a-file-descriptor-with-process-substitution.md) - [Killing A Frozen SSH Session](zsh/killing-a-frozen-ssh-session.md) - [Repeat Yourself](zsh/repeat-yourself.md) - [Saying Yes](zsh/saying-yes.md) - [Search History](zsh/search-history.md) - [Switch Versions of a Brew Formula](zsh/switch-versions-of-a-brew-formula.md) - [Watch The Difference](zsh/watch-the-difference.md) - [Watch This Run Repeatedly](zsh/watch-this-run-repeatedly.md) - [Where Are The Binaries?](zsh/where-are-the-binaries.md) ## About I shamelessly stole this idea from [thoughtbot/til](https://github.com/thoughtbot/til). ## Other TIL Collections - [Today I Learned by Hashrocket](https://til.hashrocket.com) - [jwworth/til](https://github.com/jwworth/til) - [thoughtbot/til](https://github.com/thoughtbot/til) ## License © 2015 Josh Branchaud This repository is licensed under the MIT license. See `LICENSE` for details.