Skip to content

Instantly share code, notes, and snippets.

View rmdashrfv's full-sized avatar
🔥
BURN THE BOATS!!!

Michael Law rmdashrfv

🔥
BURN THE BOATS!!!
View GitHub Profile
@rmdashrfv
rmdashrfv / start.js
Created February 10, 2023 17:44
Code Challenge script
const { exec } = require('child_process')
const fs = require('fs')
if (process.argv.length < 3) {
console.log('File must be run as "node start.js your-name" (e.g., "node start.js ada-lovelace"')
return;
}
let concatName = process.argv[2]
@rmdashrfv
rmdashrfv / extensions.md
Last active October 24, 2025 06:06
VS Code Extensions List
@rmdashrfv
rmdashrfv / settings.json
Created October 7, 2020 22:43
Settings file for Visual Studio Code
{
"editor.multiCursorModifier": "ctrlCmd",
"python.defaultInterpreterPath": "/usr/bin/python3",
"workbench.colorTheme": "Atom One Dark",
"workbench.iconTheme": "vscode-icons-mac",
"editor.fontSize": 16,
"editor.tabSize": 2,
"editor.hover.sticky": false,
"editor.lineHeight": 22,
"editor.formatOnPaste": true,
let graph = {
a: ['b', 'c', 'd'],
b: ['a', 'd'],
c: ['a', 'e'],
d: [],
e: ['d']
}
let pathExists = (start, end) => {
let remainingNodes = [start]
@rmdashrfv
rmdashrfv / .vimrc
Last active May 18, 2021 08:42
My .vimrc
set nocompatible " be iMproved, required
filetype off " required
set tabstop=2
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
"Plugin 'sjl/badwolf'
Plugin 'terryma/vim-multiple-cursors'
@rmdashrfv
rmdashrfv / PostgreSQL.md
Last active December 7, 2018 15:34
Installing PostgreSQL for Linux Ubuntu

Installing PostgreSQL

Linux Ubuntu

The following line is meant for Ubuntu version 16.04 (xenial-xerus). If you are on Ubuntu version 18, replace the word "xenial" with "bionic"
$ sudo sh -c "echo 'deb http://apt.postgresql.org/pub/repos/apt/ xenial-pgdg main' > /etc/apt/sources.list.d/pgdg.list"

This is for Ubuntu 18:
$ sudo sh -c "echo 'deb http://apt.postgresql.org/pub/repos/apt/ bionic-pgdg main' > /etc/apt/sources.list.d/pgdg.list"

Once you have one of the above commands -- as in not both commands, you will continue on running the following commands:

@rmdashrfv
rmdashrfv / devices.css
Created December 2, 2018 18:58
Mobile first media queries
/* Base style */
{
}
/* Larger than mobile screen */
@media (min-width: 40.0rem) {
}
/* Larger than tablet screen */