Skip to content

Instantly share code, notes, and snippets.

Avatar

Nards Paragas nardsqq

  • Marikina, Philippines
View GitHub Profile
@nardsqq
nardsqq / database.eg.yml
Created Nov 14, 2019
Local development database template file for Rails 6 + PostgreSQL stack.
View database.eg.yml
# PostgreSQL. Versions 9.3 and up are supported.
#
# Install the pg driver:
# gem install pg
# On macOS with Homebrew:
# gem install pg -- --with-pg-config=/usr/local/bin/pg_config
# On macOS with MacPorts:
# gem install pg -- --with-pg-config=/opt/local/lib/postgresql84/bin/pg_config
# On Windows:
# gem install pg
@nardsqq
nardsqq / add_path_manually.md
Last active Mar 16, 2019
Add $PATH of environment to Git Bash Manually
View add_path_manually.md

Add $PATH of environment to Git Bash Manually

  1. Open the bash window and you by default you're in the root directory
$pwd
  1. Change to user directory
$ cd ~
$ pwd
@nardsqq
nardsqq / settings.json
Last active Sep 9, 2020
VS Code Personal User Settings
View settings.json
{
// Workbench
"workbench.settings.editor": "json",
"workbench.activityBar.visible": false,
"workbench.colorTheme": "Quiet Light",
"workbench.startupEditor": "newUntitledFile",
"workbench.sideBar.location": "right",
"workbench.iconTheme": "vscode-great-icons",
"workbench.colorCustomizations": {
"statusBar.background": "#001A5E",
@nardsqq
nardsqq / git.md
Last active Feb 5, 2020
A collection of helpful git commands when working in a team of developers
View git.md

Git

A collection of helpful git commands when working in a team of developers

To check your repository's remote URL:
git config --get remote.origin.url

Renaming branches

Renaming a separate branch:
git branch -m <old_name> <new_name>

@nardsqq
nardsqq / .hyper
Last active Dec 24, 2018
Hyper Config
View .hyper
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// choose either `'stable'` for receiving highly polished,
// or `'canary'` for less polished but more frequent updates
updateChannel: 'stable',
You can’t perform that action at this time.