Skip to content

Instantly share code, notes, and snippets.

View elithecho's full-sized avatar

Elijah elithecho

  • Singapore
View GitHub Profile
@elithecho
elithecho / http-base.js
Last active November 1, 2017 16:52
Vue templates
// Creates a new axios instance for config
import axios from 'axios'
const instance = axios.create({
baseURL: 'http://localhost:3000',
timeout: 1000,
})
export default instance

Generating a new Rails 5 Project

rails new <appname> -T --d=postgresql
explaination

-T Skips test generator for those prefer using rspec

--d=postgresql generates with Postgresql as database