- Name :
- 石倉昇
- Twitter :
- Facebook :
- Qiita
- GitHub
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 sample; | |
import java.math.BigDecimal; | |
import java.math.RoundingMode; | |
public class Sample { | |
/** | |
* @param args | |
*/ |
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
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
class Test2 extends MY_Controller{ | |
private static $db_name = 'XXX_db'; | |
/** | |
* コンストラクタ | |
*/ | |
function __construct(){ |
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
#!/bin/sh | |
[[ -e ~/.dotfiles ]] || git clone https://github.com/noboru-i/.dotfiles.git ~/.dotfiles | |
pushd ~/.dotfiles | |
git submodule init | |
git submodule update | |
for i in `ls -a` | |
do | |
[ $i = "." ] && continue |
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
<html> | |
<head> | |
</head> | |
<body> | |
<div style="height: 2200px"> | |
<div id="wrap" style="position: fixed; left: 0px; top: 0px; height: 2000px; width: 500px;"> | |
<div><img id="img1" src="bg01.jpg"></img></div> | |
<div><img id="img2" src="bg02.jpg"></img></div> | |
</div> | |
<div id="next" style="position: fixed; left: 100px; top: 100px"> |
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(){ | |
// fmを削除 | |
if (location.href.indexOf('fm=') >= 0) { | |
history.pushState('push', null, '/app?id=1'); | |
} | |
$(window).on('popstate', function(jqevent) { | |
// 戻るボタン押下時に'fm'付きのURLを飛び越えて戻るように設定 | |
if (location.href.indexOf('fm=') >= 0) { | |
history.back(); |
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 java.math.BigDecimal; | |
public class ErrorsInCalculation { | |
public static void main(final String[] args) { | |
final double a = 0.9; | |
// doubleでの計算 | |
double doubleSum = 0; | |
for (int i = 0; i < 10; i++) { |
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"?> | |
<checkstyle version="5.7"> | |
<file name="/Users/noboruishikura/.ghq/github.com/noboru-i/SampleCheckstyleZero/app/src/androidTest/java/hm/orz/chaos114/samplecheckstylezero/ApplicationTest.java"> | |
</file> | |
<file name="/Users/noboruishikura/.ghq/github.com/noboru-i/SampleCheckstyleZero/app/src/main/java/hm/orz/chaos114/samplecheckstylezero/MainActivity.java"> | |
</file> | |
</checkstyle> |
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
# A sample Gemfile | |
source "https://rubygems.org" | |
gem 'rest-client' |
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 hm.orz.chaos114.sdcardinspector; | |
import android.os.Bundle; | |
import android.support.v7.app.ActionBarActivity; | |
import android.util.Log; | |
import java.io.BufferedReader; | |
import java.io.File; | |
import java.io.FileReader; | |
import java.io.IOException; |
OlderNewer