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
package com.luckofwise.accountcall; | |
import android.app.Activity; | |
import android.content.Intent; | |
import android.os.Bundle; | |
import android.provider.Settings; | |
public class AccountCallActivity extends Activity { | |
/** Called when the activity is first created. */ | |
@Override |
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
/output |
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 "twitter-bootstrap-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 mkdir /usr/local | |
sudo chown -R (ログインユーザー) /usr/local | |
cd /usr/local | |
ln -s /usr/local/homebrew/bin/brew /usr/local/bin/brew |
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
# -*- coding: utf-8 -*- | |
task :backup do | |
FILES = 3 | |
path = "config/database.yml" | |
info = YAML.load_file(path)["production"] | |
backup_dir = "/backup" | |
unless File.exists?(backup_dir) | |
Dir::mkdir(backup_dir) | |
end |
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
相関クエリ | |
select T1.shop_id, | |
T1.sales_date, | |
( select sum(cash_amount) | |
from shop_sales_details T2 | |
where T2.shop_id = T1.shop_id | |
and T2.sales_date between T1.sales_date + cast('-1 year' as interval) and T1.sales_date | |
) as cash_amount, | |
( select sum(other0) | |
from shop_sales_details T2 |
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
package jp.kickhost.eventnavi; | |
import java.util.ArrayList; | |
import jp.kickhost.localsearch.model.Event; | |
import android.app.Fragment; | |
import android.os.Bundle; | |
import android.text.format.Time; | |
import android.util.Log; | |
import android.view.InflateException; |
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
・好きなメソッドは? | |
・好きなアニメは? | |
・好きな言語は? | |
・好きなガンダムシリーズは? | |
・githubアカウントは? | |
・あなたの習得している中で一番FizzBuzzを短くかける言語は? | |
・英語しゃべれる? | |
・最近気になるテクノロジーは? | |
・最近行った勉強会は? | |
・最近登壇した勉強会は? |
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
source 'https://rubygems.org' | |
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails' | |
gem 'rails', '4.0.0.beta1' | |
gem 'i18n_generators' | |
gem 'simple_form' | |
gem 'devise', git: 'https://github.com/plataformatec/devise.git', branch: 'rails4' | |
gem 'protected_attributes' | |
gem 'kaminari' |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<scheme name="PatorashRailscast" version="124" parent_scheme="Default"> | |
<option name="LINE_SPACING" value="1.0" /> | |
<option name="EDITOR_FONT_SIZE" value="14" /> | |
<option name="EDITOR_FONT_NAME" value="Menlo" /> | |
<colors> | |
<option name="CARET_COLOR" value="ffffff" /> | |
<option name="CARET_ROW_COLOR" value="333435" /> | |
<option name="CONSOLE_BACKGROUND_KEY" value="2b2b2b" /> | |
<option name="GUTTER_BACKGROUND" value="2b2b2b" /> |
OlderNewer