Skip to content

Instantly share code, notes, and snippets.

Avatar

Niklas Nson niklasnson

View GitHub Profile
@niklasnson
niklasnson / gist:6db20fe119d71b6cd061f22523f13c16
Last active Dec 22, 2019
Setting up rails as I like it.
View gist:6db20fe119d71b6cd061f22523f13c16
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 Oct 14, 2019
The extensions that I use in VSCode
View code --list-extensions
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 Nov 21, 2019
This is my "settings.json" file for VSCode.
View settings.json
{
// 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 Sep 3, 2017 — forked from LeCoupa/bash-cheatsheet.sh
Bash CheatSheet for UNIX Systems
View bash-cheatsheet.sh
#!/bin/bash
#####################################################
# Name: Bash CheatSheet for Mac OSX
#
# A little overlook of the Bash basics
#
# Usage:
#
# Author: J. Le Coupanec
# Date: 2014/11/04
View pathogen_installed
ctrlp.vim
lightline.vim
nord-vim
vim-gitgutter
View vim_config
execute pathogen#infect()
syntax on
""""""""""""""""""""
" general
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
filetype plugin indent on
set nocompatible
set encoding=utf8
scriptencoding utf-8