Skip to content

Instantly share code, notes, and snippets.

View akiosTerr's full-sized avatar
:atom:
Focusing

Luiz Fernando akiosTerr

:atom:
Focusing
View GitHub Profile
@bradtraversy
bradtraversy / mysql_cheat_sheet.md
Last active April 24, 2024 14:41
MySQL Cheat Sheet

MySQL Cheat Sheet

Help with SQL commands to interact with a MySQL database

MySQL Locations

  • Mac /usr/local/mysql/bin
  • Windows /Program Files/MySQL/MySQL version/bin
  • Xampp /xampp/mysql/bin

Add mysql to your PATH

@laurenfazah
laurenfazah / vim_commands.txt
Last active June 23, 2020 17:32
Handy vim commands for migrating from Minitest to RSpec
%s/test_helper/rails_helper/g
%s/<...>\./expect(<...>\./g
%s/\.must_/)\.to /g
%s/\.wont_/.not_to /g
%s/equal/eq/g
%s/ eq true/ be true/g
%s/ eq false/ be false/g
%s/to raise/to raise_error/g
%s/to be_instance_of/to be_an_instance_of/g
@tphdev
tphdev / heroku-knex-production-notes.md
Last active January 4, 2023 01:14
knex,node heroku production

Deploy Process

1 - Create an account on heroku

2 - Install heroku CLI, authenticate

npm install -g heroku
@laurenfazah
laurenfazah / express_postgress_knex.md
Last active November 26, 2022 13:19
Cheat Sheet: Setting up Express with Postgres via Knex

Express & Postgres via Knex

Note: <example> is meant to denote text replaced by you (including brackets).

Setup

// global dependencies
npm install -g knex