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
まだ調査していない | |
・リリース手順書 確認 | |
* 調査済 | |
・Fuel phpページングでボタンデザインを有効表示できるか? | |
pagination.phpでデフォルトしか読み込めないようなのでcontrollerで指定したら出来た | |
https://github.com/rainbow23/fuelphp/blob/1.8/master/fuel/app/classes/controller/welcome.php#L49-L83 | |
資料sample |
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 | |
$sample = array(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20); | |
$begin = 0; | |
$end = 5; | |
/* | |
* 0 | |
* 1 | |
* 2 | |
* 3 | |
* 4 |
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
#!/usr/bin/env bash | |
# vim: set filetype=ruby: | |
# b - browse Chrome bookmarks with fzf | |
[ $(uname) = Darwin ] || exit 1 | |
which fzf > /dev/null 2>&1 || brew reinstall --HEAD fzf || exit 1 | |
/usr/bin/ruby -x "$0" | | |
fzf --ansi --multi --no-hscroll --tiebreak=begin | | |
awk 'BEGIN { FS = "\t" } { print $2 }' | |
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 | |
ignore_user_abort(true); | |
function syscall ($cmd, $cwd) { | |
$descriptorspec = array( | |
1 => array('pipe', 'w'), // stdout is a pipe that the child will write to | |
2 => array('pipe', 'w') // stderr | |
); | |
$resource = proc_open($cmd, $descriptorspec, $pipes, $cwd); | |
if (is_resource($resource)) { |
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 | |
preg_match('/status:\d{3}/', 'status:288', $matches, PREG_OFFSET_CAPTURE); | |
print_r($matches); | |
?> |
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 | |
#http://geoapi.heartrails.com/api.html | |
$base_url = 'https://qiita.com'; | |
$base_url2 = 'http://geoapi.heartrails.com/api/json?method=getPrefectures'; | |
// エラーの場合も取得する設定にする | |
$context = stream_context_create(array( | |
'http' => array('ignore_errors' => true) | |
)); |
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
using System; | |
namespace kaimono | |
{ | |
public class Kaimono2 | |
{ | |
public int kind; | |
public int price; | |
public Kaimono2(int kind, int price) | |
{ |
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
using System; | |
public class Hello{ | |
public static void Main(){ | |
// 自分の得意な言語で | |
// Let's チャレンジ!! | |
var allExaminee = System.Console.ReadLine(); | |
int allExamineeNum = Int32.Parse(allExaminee); | |
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
using System; | |
public class Hello{ | |
public static void Main(){ | |
// 自分の得意な言語で | |
// Let's チャレンジ!! | |
String[] gameMatchNum = new String[2]; | |
for(int ci =0; ci < 2; ci++) | |
{ | |
gameMatchNum[ci] = System.Console.ReadLine(); |
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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
int main(void){ | |
// 自分の得意な言語で | |
// Let's チャレンジ!! | |
char str[100]; | |
fgets(str, sizeof(str), stdin); | |
NewerOlder