mirror of
https://github.com/jbranchaud/til
synced 2026-01-03 15:18:01 +00:00
00c018be30e7a1d83a28d7c987696a37f734bbce
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
devops
git
- Accessing a Lost Commit
- 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 Filenames Without The Diffs
- List Untracked Files
- Single Key Presses in Interactive Mode
- Staging Changes Within Vim
- Staging Stashes Interactively
- Stashing Only Unstaged Changes
- Stashing Untracked Files
- Verbose Commit Message
go
javascript
postgres
rails
- All or Nothing Database Transactions
- Attribute Getter without the Recursion
- Attribute Was
- Capybara Page Status Code
- Conditional Class Selectors in Haml
- Creating Records of Has_One Associations
- Pretend Generations
- Show Pending Migrations
ruby
- Are They All True?
- Create an Array of Stringed Numbers
- Destructuring Arrays In Blocks
- Disassemble Some Codes
- Evaluating One-Off Commands
- Finding The Source of Ruby Methods
- Limit Split
- Parallel Bundle Install
- Squeeze Out The Extra Space
- Summing Collections
tmux
vim
- The Black Hole Register
- Buffer Time Travel
- Close the Current Buffer
- Count the Number of Matches
- Create A New File In A New Directory
- Generate and Edit Rails Migration
- Head of File Name
- Help For Non-Normal Mode Features
- Horizontal to Vertical and Back Again
- Incremental Searching
- 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
- Re-indenting Your Code
- 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
- Viewing Man Pages with man.vim
- Vim Without The Extras
- Whole Line Auto-Completion
- Wrap With Some Room
zsh
- All The Environment Variables
- Cat A File With Line Numbers
- Clear The Screen
- Create A File Descriptor with Process Substitution
- Killing A Frozen SSH Session
- Saying Yes
- Search History
- Switch Versions of a Brew Formula
- Watch This Run Repeatedly
- Where Are The Binaries?
About
I shamelessly stole this idea from thoughtbot/til.
Other TIL Collections
License
© 2015 Josh Branchaud
This repository is licensed under the MIT license. See LICENSE for
details.
Languages
Markdown
100%