This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function init() { | |
localStorage.Hashikawa = "Artistic"; | |
localStorage["Hashikawa"] = "Artistic"; | |
localStorage.setItem("Hashikawa", "Artistic"); | |
//上記3行、どの書き方でも同じ | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd app/assets/stylesheets/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_color-definitions.scss | |
_functions.scss | |
_mixins.scss | |
_variables.scss | |
material-design-lite-grid.scss | |
material-design-lite.scss | |
styleguide.scss | |
template.scss | |
// - ここからコンポーネント -------------------- | |
animation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gem 'slim-rails' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rails new app_name -d mysql |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import 'compass'; | |
$colors: (red: #D50000, green: #00D56A, blue: #006AD5, yellow: #D5D500); | |
$properties: (bg: background-color, c: color, bdc: border-color); | |
$shade-variations: (shade-3: 60, shade-2: 40, shade-1: 25); | |
$tint-variations: (tint-1: 15, tint-2: 25, tint-3: 40, tint-4: 60, tint-5: 85); | |
@each $color-name, $color-value in $colors { | |
@each $short-property-name, $property-name in $properties { | |
@each $shade-name, $shade-percentage in $shade-variations { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript: | |
$(function(){ | |
・・・ | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gem 'bootstrap-sass' | |
gem 'sass-rails' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo yum update -y | |
sudo yum install gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel openssl-devel make bzip2 autoconf automake libtool bison httpd httpd-devel curl-devel git sqlite sqlite-devel mysql mysql-devel mysql-server -y | |
sudo git clone git://github.com/sstephenson/rbenv.git /usr/local/rbenv | |
sudo mkdir /usr/local/rbenv/shims /usr/local/rbenv/versions /usr/local/rbenv/plugins /var/apps | |
sudo git clone git://github.com/sstephenson/ruby-build.git /usr/local/rbenv/plugins/ruby-build | |
echo 'export RBENV_ROOT="/usr/local/rbenv"' >> .bash_profile | |
echo 'export PATH="$RBENV_ROOT/bin:$PATH"' >> .bash_profile | |
echo 'eval "$(rbenv init -)"' >> .bash_profile | |
source .bash_profile | |
sudo visudo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew install imagemagick |
NewerOlder