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
/* | |
Carte Tournament Noticer | |
偶数時47分に「まもなくトーナメントが始まります」を投稿する. | |
スクリプト読み込み時に初期化する function event::onLoad() | |
現在時刻を把握し,偶数時47分までの時間を調べる. | |
タイマーセットし,noticerに送る | |
*/ |
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
/* アスカchトピックボット | |
> '11 7/1(金) TopicBotのスクリプト公開 こちら | |
> 常駐させるのが厳しくなってきたため、扱える方が必要に応じて使用して頂ければ助かります | |
*/ | |
/* change log | |
1.0 2011年7月1日時点 | |
2012年7月29日アスカchサイトアカウント凍結により,サイト移転 | |
1.1 サイト移転対応.使用されていない変数hp2を削除 | |
*/ |
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 <iostream> | |
#include <set> | |
#include <vector> | |
void showBoard( const std::vector<char> Stones, const int Size ) | |
{ | |
for ( int i = 0; i < Size; i++ ) | |
{ | |
for ( int j = 0; j < Size; j++ ) | |
{ |
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/local/bin/php | |
<?php | |
header("Content-type: text/html; charset=utf-8"); | |
chdir("/home/paul/public_html/asukachrss"); | |
// 設定ファイル | |
require_once("config.inc.php"); | |
// ---------------------------------------------------------------------- | |
// 実行間隔制限 |
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 -*- | |
# my output settings | |
# 出力方法をこちらで決定する | |
Earthquake.init do | |
output :tweet do |item| | |
next unless item["text"] | |
info = [] |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
</head> | |
<body> | |
<script type="text/javascript"> | |
var code ="0123"; | |
var i = 0; | |
var codestr= "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ()[]{}<>,./_"; |
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
/* | |
Product Version: NetBeans IDE 7.4 (Build 201310111528) | |
更新: NetBeans IDEはバージョンNetBeans 7.4 Patch 3に更新されます | |
Java: 1.7.0_51; Java HotSpot(TM) 64-Bit Server VM 24.51-b03 | |
Runtime: Java(TM) SE Runtime Environment 1.7.0_51-b13 | |
System: Windows 7 version 6.1 running on amd64; MS932; ja_JP (nb) | |
run: | |
必要たこ足:60 | |
必要小麦粉:20 | |
ビルド成功(合計時間: 0秒) |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title></title> | |
</head> | |
<body> | |
<?php | |
function encode($input) { |
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 | |
/** | |
* https://codeiq.jp/ace/thisweek_masuipeo/q860 今週のお題:覆面算を満たす個数 | |
*/ | |
// 総当たりログを扱うため,大容量メモリを使用させる | |
// php.ini初期値128M.256Mでも不足した | |
ini_set('memory_limit', '512M'); | |
// ------------------------ |
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 | |
/** | |
* https://codeiq.jp/ace/yuki_hiroshi/q863 チケットゴブル社の旅行プランを作れ! | |
*/ | |
// ------------------------------------------------------- | |
// 設定 | |
// 入力データのエンコーディング | |
define("INDATA_ENCODING", "SJIS"); | |
// 内部データのエンコーディング |
OlderNewer