Skip to content

Instantly share code, notes, and snippets.

View experimatt's full-sized avatar

Matt Decuir experimatt

View GitHub Profile
@experimatt
experimatt / List rails tests by folder.rb
Last active August 24, 2021 16:59
Script to generate a list of rails test cases by folder
#!/usr/bin/env ruby
#
# A script to generate a list of tests within a rails project and output it as a csv
#
# Usage: ruby list_rails_tests.rb [output_file_path]
# Author: Matt Decuir
# Last Updated: 8/24/2021
#
# This scrips assumes you're running it from the project root
#
@experimatt
experimatt / 2021-10-24-npm-ls
Last active October 24, 2021 18:56
2021-10-24 npm ls output
$ npm ls
client@0.1.0 ...
├── @fortawesome/fontawesome-svg-core@1.2.32
├── @fortawesome/free-regular-svg-icons@5.15.1
├── @fortawesome/free-solid-svg-icons@5.15.1
├── @fortawesome/react-fontawesome@0.1.12
├── antd@4.8.4
├── autoprefixer@10.3.7
├── axios@0.21.0
├── history@4.10.1
@experimatt
experimatt / iterm-colors-to-vscode.js
Last active July 5, 2024 17:48
A simple script to use your iTerm color profile in vscode's built-in terminal.
// This script takes an iTerm Color Profile as an argument and translates it for use with Visual Studio Code's built-in terminal.
//
// usage: `node iterm-colors-to-vscode.js [path-to-iterm-profile.json]
//
// To export an iTerm Color Profile:
// 1) Open iTerm
// 2) Go to Preferences -> Profiles -> Colors
// 3) Other Actions -> Save Profile as JSON
//
// To generate the applicable color settings and use them in VS Code: