Skip to content

Instantly share code, notes, and snippets.

  • documents/show
  • documents/slide_fullscreen
  • favorites/favorite_forms
  • downloads/create_form
  • documents/share_button
# This file should contain all the record creation needed to seed the database with its default values.
# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
#
# Examples:
#
# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
# Mayor.create(name: 'Emanuel', city: cities.first)
users = [
{
  1. shared/navbar
  2. shared/flash_message
  3. documents/key_visual
  4. documents/filter_category
  5. documents/sort
  6. documents/document
  7. shared/footer
  8. documents/modal_share
  9. users/modal_signup
  10. users/modal_signin
vagrant plugin install vagrant-omnibus
sudo -s;
useradd xiangshen-meng;
echo 123456 | passwd xiangshen-meng --stdin;
mkdir /home/xiangshen-meng;
chown xiangshen-meng:xiangshen-meng -R /home/xiangshen-meng;
mkdir .ssh
chmod 755 .ssh/
mv id_rsa* .ssh/
cd .ssh/
cat id_rsa.pub > authorized_keys

ダウンロード

Download link.

wget http://golang.org/dl/go1.3.linux-amd64.tar.gz

解凍

tar zxvf go1.3.linux-amd64.tar.gz

開発環境の設定