Home
Twitter
GitHub
Menu
Toshimaru's Blog
Reversing the Order of Hash Entries in Ruby
24 Nov 2024
Case Statement in Bash
23 Aug 2024
Docker build without cache
19 Aug 2024
Writing to a file that requires sudo in one line
05 Aug 2024
Convert mcrypt_encrypt to openssl_encrypt in PHP
28 Jul 2024
How to install dig command
13 Mar 2024
New file and folder shortcut in file explorer
04 Sep 2023
Enable Ruby YJIT
15 Apr 2023
Get random records in Rails
06 Feb 2023
How to check jQuery version
14 Oct 2022
Loop each character in string using JavaScript
11 Oct 2022
Factorial function in Ruby
21 Aug 2022
MySQL GROUP_CONCAT() Function
27 Jul 2022
Can't connect to local MySQL server through socket
13 Jul 2022
Enable option + arrow(⌥←, ⌥→) keys in Zsh/iTerm2
23 Jun 2022
Doubly Linked List in Ruby
05 Jun 2022
Singly Linked List in Ruby
29 May 2022
Convert lowercase to uppercase in Ruby
02 May 2022
Array to Hash in Ruby
24 Apr 2022
[mysql] Unix timestamp ⇔ datetime conversion
18 Apr 2022
Grep text recursively
07 Apr 2022
Remove element from Array in Ruby
24 Mar 2022
[Ruby]How to call Proc
19 Mar 2022
Convert String to Hex in MySQL
01 Feb 2022
Install Docker Desktop via brew install
12 Dec 2021
Rounding in Ruby
27 Nov 2021
Using git without a pager
12 Nov 2021
Cursor move shortcuts without arrow key
07 Nov 2021
How to clear file cache in Rails
06 Nov 2021
Bash for Loop in one-line
04 Nov 2021
[Go]How to pop/shift slice
18 Oct 2021
[Go]Append item to slice
17 Oct 2021
[rbenv] List installed/stable/available versions
08 Aug 2021
[JavaScript]Shorthand Property Name and Shorthand Method Name
26 Jun 2021
Creating Rails project with a specific version
01 Jun 2021
git diff with exit code 1
04 May 2021
MySQL: How to get the size of tables
05 Apr 2021
Rails resources vs resource Routing
04 Apr 2021
How to install multiple gems with specific version
14 Feb 2021
MySQL rank() function
13 Feb 2021
Remove line breaks from String in Ruby
26 Jan 2021
Install ftp command on macOS with brew
13 Jan 2021
Fix macOS Kernel Panic with Disabling auto graphic switching
30 Dec 2020
ffi ffi_prep_closure BuildError on macOS
29 Dec 2020
IPv6 Loopback Address
22 Nov 2020
How to use lsof command
21 Nov 2020
Add/Remove/Toggle class with Element.classList
29 Sep 2020
Connection Check with netcat(nc) command
21 Aug 2020
DNS lookup with dig command
18 Aug 2020
Rails eager_load with inner join
21 Jul 2020
JavaScript splice vs slice
12 Jul 2020
Linux man Section Numbers
10 Jun 2020
[MySQL] Delete with join query
01 Jun 2020
Create an Array of n items in Ruby
23 May 2020
Create Table of Contents in kramdown
22 May 2020
Object Destructuring Assignment in JavaScript
16 Apr 2020
Bump version with npm-version
15 Apr 2020
My custom attr_accessor in Ruby
12 Apr 2020
How to output HTML for Go code coverage
01 Apr 2020
Ruby Private Constant
22 Feb 2020
How to rollback migration in Rails
13 Feb 2020
How to install Disqus for AMP
27 Jan 2020
Run MySQL query from command line
07 Jan 2020
Check supported TLS version with openssl command
06 Jan 2020
Comment is now available!
05 Jan 2020
Get Query Parameters in JavaScript
04 Jan 2020
Rails Bulk Migration
02 Jan 2020
Stop emitting warnings in Ruby 2.7
01 Jan 2020
MySQL ADD COLUMN statements
27 Dec 2019
How to fix "This version of ChromeDriver only supports Chrome version xx" on Ubuntu
20 Dec 2019
Make Puma test output silent
17 Dec 2019
Go Release Automation with goreleaser + GitHub Actions
20 Oct 2019
Bundler Error: bundle from bundler conflicts
14 Oct 2019
Customize CSS with Amino(Chrome Extension)
30 Sep 2019
How to set your rubygems credentials
10 Sep 2019
Rails can create a table having composite primary key
06 Sep 2019
How to specify Git SSH key for different hosts
04 Sep 2019
Explain SQL on Rails Console
03 Sep 2019
How to measure code coverage on CodeClimate in Go
11 Aug 2019
Enable Go Module Cache on TravisCI
08 Aug 2019
[Go]Comma OK Idiom
21 Jul 2019
Basic gcloud Commands for Google App Engine
17 May 2019
Run and Connect to MySQL on Docker
16 Sep 2018
How to Find MySQL my.cnf file
19 Aug 2018
Select Unique Values from a Column in ActiveRecord
04 Aug 2018
VSCode Setting for Rubyists
12 Jul 2018
MySQL Load CSV Data into Table
17 Feb 2018
Run Rails Database Console
05 Jan 2018
Visual Studio Code: How to Insert New Line at the End of File
16 Nov 2017
MySQL: Insert Result of Select query
16 Oct 2017
Check SSL Certificate Expiration Date via Command Line
22 Sep 2017
CircleCI 2 speeds up your CI build time drastically
18 Aug 2017
Get started with Docker on Mac
16 Aug 2017
Show SQL queries in rails console
10 Aug 2017
Using less without word-wrap
08 Aug 2017
Use saved_change_to_attribute? instead of attribute_changed? as of Rails 5.1
06 Apr 2017
Merge arrays in ES6 way
24 Mar 2017
mysqldump command for existing Rails app
16 Dec 2016
Display disk usage on macOS with du command
26 Nov 2016
Escape ERB tag string in ERB file
18 Nov 2016
Bundler Github/Gist shorthand
07 Nov 2016
Build group_by and having query with ActiveRecord
20 Oct 2016
Generate Ed25519 SSH key
10 Oct 2016
Publish Jekyll site without gh-pages branch
24 Aug 2016
Get HTML/JSON response from URL simply in Ruby
09 Aug 2016
Show Active Record Model column names
18 Jun 2016
Installing MySQL 5.7 on CircleCI
15 Jun 2016
Fix Jekyll build error: Invalid date error
13 Jun 2016
How to disable layout in Jekyll
12 Jun 2016
How to disable turbolinks in rails new
05 Jun 2016
Private method in module in Ruby
28 Apr 2016
Remove old Docker containers
10 Apr 2016
How to fix uglifier Bundler::GemRequireError
09 Apr 2016
Show Amazon Linux AMI version using a command
28 Mar 2016
Get current branch name in Git
26 Mar 2016
Filter MySQL processlist
05 Jan 2016
Example content
01 Jan 2016