Skip to content

Instantly share code, notes, and snippets.

View ronylee11's full-sized avatar
๐Ÿ‹
Lemonade

Rony Lee ronylee11

๐Ÿ‹
Lemonade
View GitHub Profile
@fvumbaca
fvumbaca / flutter.vim
Created March 24, 2021 06:07
NeoVim Flutter Hot Reloading
" Flutter wrapper for hot-reloading
" Put this in your plugin directory (Default is $HOME/.config/nvim/plugin)
" Start your Flutter app with :FlutterRun
" all saves to flutter dart files will hot reload
command! FlutterRun :call FlutterStartServer()
command! FlutterStopRun :call FlutterStopRun()
command! FlutterHotReload :call FlutterHotReload()

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

@jagregory
jagregory / gist:710671
Created November 22, 2010 21:01
How to move to a fork after cloning
So you've cloned somebody's repo from github, but now you want to fork it and contribute back. Never fear!
Technically, when you fork "origin" should be your fork and "upstream" should be the project you forked; however, if you're willing to break this convention then it's easy.
* Off the top of my head *
1. Fork their repo on Github
2. In your local, add a new remote to your fork; then fetch it, and push your changes up to it
git remote add my-fork [email protected]