mirror of
https://github.com/jbranchaud/til
synced 2026-01-03 15:18:01 +00:00
ac041cd8a2b1b8fc170c246f49cf1756512c7fe0
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.
clojure
- Expanding Macros
- Quick Clojure Docs
- Specify the Directory of a Shell Command
- Splitting On Whitespace
- Swap Two Items in a Vector
- Type of Anything
git
- Checkout Old Version Of A File
- Checkout Previous Branch
- Clean Out All Local Branches
- Delete All Untracked Files
- Dry Runs in Git
- Intent To Add
- List Untracked Files
- Staging Changes Within Vim
- Stashing Untracked Files
- Verbose Commit Message
go
postgres
rails
- Attribute Getter without the Recursion
- Attribute Was
- Capybara Page Status Code
- Creating Records of Has_One Associations
- Show Pending Migrations
ruby
- Are They All True?
- Create an Array of Stringed Numbers
- Destructuring Arrays In Blocks
- Limit Split
- Parallel Bundle Install
- Summing Collections
vim
- Close the Current Buffer
- Generate and Edit Rails Migration
- Head of File Name
- Help For Non-Normal Mode Features
- Horizontal to Vertical and Back Again
- Interactive Buffer List
- Joining Lines Together
- List All Buffers
- Marks Across Vim Sessions
- Moving To A Specific Line
- NETRW Listing Styles
- Open an Unnamed Buffer
- Opening a URL
- Preventing Typos with Abbreviations
- Previous Buffer
- Previous Visual Selection
- Quick File Info
- Quick Man Pages
- Quick Quickfix List Navigation
- Rename Current File
- Repeat The Previous Change
- Scrolling Relative to the Window
- Split Different
- Tabs To Spaces
- The Vim Info File
- View Commit History of a File
- Whole Line Auto-Completion
- Wrap With Some Room
zsh
- Clear The Screen
- Killing A Frozen SSH Session
- Search History
- Watch This Run Repeatedly
- Where Are The Binaries?
About
I shamelessly stole this idea from thoughtbot/til.
License
© 2015 Josh Branchaud
This repository is licensed under the MIT license. See LICENSE for
details.
Languages
Markdown
100%