View react-setting-up.md

Init

npm init --y

Install React and ReactDom

npm install react react-dom --save-dev

Install Babel, webpack, webpack-dev-server

npm install babel-core babel-loader webpack webpack-dev-server --save-dev

Install ES2015 and React presets

View hexo.md

Create page

hexo new page "about"
hexo new page "404"
View haml_rails5.md
  1. install HAML Gemfile: add gem 'haml-rails' to Gemfile
  2. bundle
  3. run rake haml:erb2haml to convert all erb to haml files => has option to delete old erb files, but becareful :) that's all
View rvm.md

curl -sSL https://get.rvm.io | bash -s stable --path $HOME/.rvm

source /var/lib/non-user/.rvm/scripts/rvm

View jenkin.md
View Fix_sprockets_rails_s
Hi,
I got it sorted. Here is what I did to fix it:
I found a revision in the Sprockets Github repo
(https://github.com/sstephenson/sprockets/commit/743c1b1a6433195e440e2d863e5d4767cc41271a)
when searching for a fix for the undefined method error relating to
default_mime_type. I then applied this change to the following ruby
scripts
in the sprockets 2.11.0 gem directory: jst_processor, sass_compressor,
View Tmux cheatsheet
Manage Sessions
tmux new -s session_name
>> creates a new tmux session named session_name
tmux attach -t session_name
>> attaches to an existing tmux session named session_name
tmux switch -t session_name
>> switches to an existing session named session_name
tmux list-sessions
>> lists existing tmux sessions