Check gem update
C:\Users\UserName>gem update --system
Latest version currently installed. Aborting.
gem list
C:\Users\UserName>gem list
#!/bin/sh | |
# load nvm | |
source ~/.nvm/nvm.sh | |
# list | |
nvm ls-remote | |
# input version | |
echo "インストールする node のバージョンを入力してください : " |
#!/bin/sh | |
npm install -g browser-sync modernizr gulp-cli |
set nocompatible | |
set number | |
syntax on | |
colorscheme elflord | |
" remap | |
noremap : ; | |
noremap ; : |
#!/usr/bin/env bash | |
## Auto Install Sequence and configuration for LAMP ## | |
# update packages | |
apt-get update >/dev/null 2>&1 | |
# edit password | |
MYSQL_PASSWORD="password" | |
# install mysql | |
echo "mysql-server-5.5 mysql-server/root_password password $MYSQL_PASSWORD" | debconf-set-selections | |
echo "mysql-server-5.5 mysql-server/root_password_again password $MYSQL_PASSWORD" | debconf-set-selections | |
apt-get -y install mysql-client mysql-server >/dev/null 2>&1 |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
# All Vagrant configuration is done here. The most common configuration | |
# options are documented and commented below. For a complete reference, | |
# please see the online documentation at vagrantup.com. |
Check gem update
C:\Users\UserName>gem update --system
Latest version currently installed. Aborting.
gem list
C:\Users\UserName>gem list
#!/bin/bash | |
# set create options | |
compass create my-project -r bootstrap-sass --using bootstrap --css-dir css --images-dir img --javascripts-dir js --relative-assets -s expanded --no-line-comments |
#!/bin/bash | |
# コマンド実行結果を変数に格納するには$(command ...)か`command ...` | |
ft1=.png | |
ft2=.jpg | |
w=100 | |
for F in *$ft1 | |
do | |
F1=$(echo $F) |
gemのパッケージでインストールされているものの一覧表示
C:\Users\UserName>gem list
*** LOCAL GEMS ***
bigdecimal (1.2.0)
bootstrap-sass (3.2.0.1)
chunky_png (1.3.1)
compass (0.12.7)