テストだよ~
バージョン管理するよ~
build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion zsh nodejs |
wget ftp://www.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p353.tar.gz | |
sudo tar xzvf ruby-2.0.0-p353.tar.gz | |
cd ruby-2.0.0-p353/ | |
sudo ./configure | |
sudo make |
mac | |
$ brew install source-highlight | |
$ vim .zshrc | |
追記 | |
export LESSOPEN='| /usr/local/bin/src-hilite-lesspipe.sh %s' | |
alias less='less -R' |
テストだよ~
バージョン管理するよ~
ubuntu@ip-172-31-21-144:~$ git clone [email protected]:9482382.git | |
Cloning into '9482382'... | |
Permission denied (publickey). | |
fatal: Could not read from remote repository. | |
Please make sure you have the correct access rights | |
and the repository exists. |
#段落(空行をあける) 1段落目
2段落目
#改行(行末に2つスペースを入れる)
あうあう
あうあう
#強調(順に * , _ , ** , __ で挟む)
source 'https://rubygems.org' | |
ruby '2.1.2' | |
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails' | |
gem 'rails', '4.2.1' | |
# Use sqlite3 as the database for Active Record | |
gem 'sqlite3' | |
# Use SCSS for stylesheets | |
gem 'sass-rails', '~> 5.0' |
// "del_value"が消したい要素が持つ値 | |
unset($arr[array_search("del_value", $arr)]); | |
// 検索したらこっちのほうが良いやり方だった | |
// https://teratail.com/questions/413 |
<link rel="stylesheet" href="//ajax.googleapis.com/ajax/libs/jqueryui/1/themes/redmond/jquery-ui.css" > | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js" type="text/javascript"></script> | |
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1/jquery-ui.min.js"></script> | |
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1/i18n/jquery.ui.datepicker-ja.min.js"></script> | |
<script> | |
$(function() { | |
$("#datepicker").datepicker({ | |
changeMonth: true, | |
changeYear: true | |
}); |
<select name="s_ad_type"> | |
<!-- | |
$pulldown_arr : プルダウンの中身が入ったindex配列 | |
$checked_value : チェック済みにしたい値 | |
--> | |
{foreach key=key item=val from=$pulldown_arr name=pulldown} | |
{if $val == $checked_value} | |
{assign var=checked value="selected"} | |
{else} |