Skip to content

Instantly share code, notes, and snippets.

View niklasnson's full-sized avatar

Niklas Nson niklasnson

View GitHub Profile
@niklasnson
niklasnson / gist:6db20fe119d71b6cd061f22523f13c16
Last active December 22, 2019 05:09
Setting up rails as I like it.
rails new [AppName] --database=postgresql --skip-test --webpack=stimulus
http://amalrik.github.io/2019/03/14/settingup-rails6-rspec/
https://hackernoon.com/integrate-bootstrap-4-and-font-awesome-5-in-rails-6-u87u32zd
@niklasnson
niklasnson / code --list-extensions
Created October 14, 2019 06:07
The extensions that I use in VSCode
CraigMaslowski.erb
DavidAnson.vscode-markdownlint
eamodio.gitlens
jebbs.plantuml
karunamurti.rspec-snippets
mikestead.dotenv
ms-vscode.cpptools
PKief.material-icon-theme
possan.nbsp-vscode
rebornix.ruby
@niklasnson
niklasnson / settings.json
Last active November 21, 2019 07:27
This is my "settings.json" file for VSCode.
{
// Bugfixing
"keyboard.dispatch": "keyCode",
// Editor settings
"editor.cursorBlinking": "smooth",
"editor.cursorStyle": "block",
"editor.fontLigatures": false,
"editor.fontSize": 12,
"editor.fontWeight": "600",
"editor.formatOnPaste": true,
@niklasnson
niklasnson / bash-cheatsheet.sh
Created September 3, 2017 12:30 — forked from LeCoupa/bash-cheatsheet.sh
Bash CheatSheet for UNIX Systems
#!/bin/bash
#####################################################
# Name: Bash CheatSheet for Mac OSX
#
# A little overlook of the Bash basics
#
# Usage:
#
# Author: J. Le Coupanec
# Date: 2014/11/04
ctrlp.vim
lightline.vim
nord-vim
vim-gitgutter
execute pathogen#infect()
syntax on
""""""""""""""""""""
" general
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
filetype plugin indent on
set nocompatible
set encoding=utf8
scriptencoding utf-8