Lucas Mendelowski
Menu
Home
Ember.js
Adding Bulma to Ember.js application
Attaching custom behavior to Ember changesets
Dynamic layouts in Ember.js
Handling DOM events with Ember
Prettifying Ember.js codebase
Using libraries from NPM Ember
Git
Locating code changes in git repo
Remove merged branches from git remote
Tig - cheat sheet
Undoing a Git rebase
Go
Generic result type in Go2
Run gofmt on all project files
Nginx
Nginx - developer cheat sheet
Design patterns
Template pattern
PostgreSQL
Aggregate functions over partition in PostgreSQL
Dates overlapping with PostgreSQL
Group by JSONB array in PostgreSQL
Limit with ties in PostgreSQL
Moving data from database column to jsonb field
Natural join in SQL
Pivot functions in PostgreSQL
ROLLUP and CUBE with PostgreSQL
Running multiple PostgreSQL versions on MacOS
Text search with PostgreSQL
Upsert in PostgreSQL
React
Refs in React
Ruby
Accessing database configuration with Rails
Array.wrap vs Kernel#array
Authentication for private Ruby gems
Benchmarking Ruby code
Conditional joins with Hanami
Deprecating methods with ActiveSupport
Enumerable#tally in Ruby 2.7
HSTS with Rails
Installing mysql2 gem without MySQL on MacOS
Method aliasing with Ruby
Nested transactions with Rails
New methods introduced in Ruby 2.7
New way for arguments forwarding in Ruby 2.7
Order of model associations in Rails
Override new method for creating subclasses in Ruby
Overriding model name in Rails
Padding numbers with zeros in Ruby
Pattern matching with Ruby
Preloading subset of association with Hanami
Rails database migrations cheat-sheet
Rails query cache
Redirect back with Rails
Running tests with Minitest
self vs extend self vs module_function
Simple HTTP server with Ruby
Super and dynamically created methods in Ruby
Turning string into predicate in Ruby
Using auto-loaded constants in Rails initializers
Using OR operator with Hanami repositories
Using PostgreSQL enums with Ruby on Rails
Using PostgreSQL hstore with Ruby on Rails
Unix
Create sudo user on Linux
Current directory of aliased script in bash
Grep files for content
Running commands concurrently with bash
Sleep screen from terminal on Linux
UFW setup
VIM
Search and navigation cheat sheet for VIM
Spell checking in VIM
:wq vs :x in VIM
Search
GitHub
Twitter
VIM
Table of contents
Search and navigation cheat sheet for VIM
Spell checking in VIM
:wq vs :x in VIM