Register as a new user and use Qiita more conveniently You get articles that match your needsYou can efficiently read back useful informationYou can use dark themeWhat you can do with signing up
SELECT w.* FROM (SELECT @row_id := @row_id +1 as row_id, w.* FROM works w ) w RIGHT JOIN ( SELECT 1 row_id UNION ALL SELECT 2 row_id UNION ALL SELECT 3 row_id UNION ALL SELECT 4 row_id UNION ALL SELECT 5 row_id ) x ON w.row_id = x.row_id; Register as a new user and use Qiita more conveniently You get articles that match your needsYou can efficiently read back useful informationYou can use dark the
setlocale(LC_ALL, 'ja_JP.UTF-8'); // read by sjis $countent = file_get_contents($file -> path) // converter $countent = mb_convert_encoding($countent, "UTF-8", "SJIS"); // save to utf8 $temp = fopen (tempnam($file->path, date("Y-m-d_H_i_s")), "r+"); fwrite($temp, $countent); rewind($temp); // read $line = fgetcsv($temp); Register as a new user and use Qiita more conveniently You get articles that
httpd.conf の設定を変更する ServerRoot $HTTPD_HOME DocumentRoot $HTTPD_HOME/htdocs Directory $HTTPD_HOME\htdocs Directory $HTTPD_HOME\cgi-bin ScriptAlias /cgi-bin $HTTPD_HOME\cgi-bin httpd.conf の設定を追加する (別ファイルで Include する ) LoadModule php5_module $PHP_HOME\php5apache2_4.dll PHPIniDir $PHP_HOME AddType application/x-httpd-php .php php.ini の編集
# Usage: /etc/init.d/denyhosts start # 起動 # Usage: /etc/init.d/denyhosts stop # 停止 # Usage: /etc/init.d/denyhosts status # 状態確認 # Usage: /etc/init.d/denyhosts restart # 再起動 # Usage: /etc/init.d/denyhosts reload # 再読み込み # Usage: /etc/init.d/denyhosts force-reload # 再起動(強制) # Usage: /etc/init.d/denyhosts condrestart # 再起動(起動している場合のみ) /etc/init.d/denyhosts restart Register as a new user and use Qiita
<VirtualHost 192.168.0.2:80> DocumentRoot /var/www/vhost/bts.example.test/public_html ServerName bts.example.test <IfModule ssl_module> Redirect / https://bts.example.test </IfModule> ErrorLog "| /usr/local/apache2/bin/rotatelogs /var/www/vhost/bts.example.test/logs/error_log 86400" CustomLog "| /usr/local/apache2/bin/rotatelogs /var/www/vhost/bts.example.test/logs/access_log 86400" common CustomL
$.fn.uuid = function() { this.each(function(i,element) { ; var _uuid = ""; var _dobj = new Date(); var _yy = (_dobj.getFullYear()).toString(16).substring(1,3); // yyyy var _mm = "0" + (255 - _dobj.getMonth() ).toString(16); // mm var _dd = "0" + (252 - _dobj.getDate() ).toString(16); // dd var _hh = (240 - _dobj.getHours() ).toString(16); // hh var _mi = (192 - _dobj.getMinutes() ).toString(16); /
List<Integer> intList = Arrays.asList(1, 3, 5, 7, 9, 11, 12, 13); intList.forEach(new Consumer<Integer>() { public void accept(Integer arg0) { // ここにループ処理 System.out.println(arg0); } // default のため記述追加不要 // public Consumer<Integer> chain(Consumer<? super Integer> arg0) }); List<Integer> intList = Arrays.asList(1, 3, 5, 7, 9, 11, 12, 13); Consumer<Integer> consumer1 = new Consumer<Integer>() { publ
create table sequence ( id varchar(20) primary key, seq int); delimiter ;; -- 次のシーケンス create function next_val (aid varchar(20)) returns integer begin insert into sequence values (aid, 1) on duplicate key update seq=seq+1; return (select seq from sequence where id = aid); end;; -- シーケンス設定 create function set_val (aid varchar(20), aseq int) returns integer begin insert into sequence values (aid, as
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く