This file contains hidden or 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.util.ArrayList; | |
/** | |
* ■[java] java 修得度問題 (1) | |
* ひねくれてみた | |
* @see http://d.hatena.ne.jp/Aileron/ | |
*/ | |
class A<A> | |
{ |
This file contains hidden or 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.util.HashMap; | |
import java.util.Map; | |
/** | |
* ■[java] java 修得度問題 (2) | |
* @see http://d.hatena.ne.jp/Aileron/ | |
*/ | |
class A | |
{ |
This file contains hidden or 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; | |
/** | |
* ■[java] java 修得度問題 (2) | |
* @see http://d.hatena.ne.jp/Aileron/ | |
*/ | |
class A | |
{ | |
static interface AA | |
{ | |
String value(); |
This file contains hidden or 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
# | |
# Install Nginx for Cent OS 32bit | |
# ex) FC2 VPS | |
# | |
# | |
# If show under error the message when execute ./configure | |
# | |
# > You can either disable the module by using --without-http_rewrite_module | |
# > option, or install the PCRE library into the system, or build the PCRE library |
This file contains hidden or 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
# To change this template, choose Tools | Templates | |
# and open the template in the editor. | |
import gtk, gobject, cairo | |
# Create a GTK+ widget on which we will draw using Cairo | |
class Screen(gtk.DrawingArea): | |
# Draw in response to an expose-event | |
__gsignals__ = { "expose-event": "override" } |
This file contains hidden or 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
<!-- | |
Struts2 jsp tag | |
text use message resource example | |
http://www.docjar.com/docs/api/org/apache/struts2/components/Text.html | |
# | |
resource_name={0}月{1}日 |
This file contains hidden or 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
/** | |
* One Class EchoBackServer | |
* using non-bloking nio | |
*/ | |
package mistat; | |
import java.io.IOException; | |
import java.net.InetSocketAddress; | |
import java.nio.ByteBuffer; |
This file contains hidden or 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> | |
// 素人感を+ | |
void main() | |
{ | |
int tokuten; // 得点を格納する変数宣言 | |
printf("英語のテストの得点を入力してください\n得数="); // 入力促進の表示 | |
scanf("%d", &tokuten); // キーボードから数字を読み込む | |
// 以下で判定プログラム | |
if (tokuten > 100) { | |
printf("100点以上が入力されました。\n", tokuten); |
This file contains hidden or 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> | |
/** | |
* 変数はiからはじめて欲しいものだ。。 | |
*/ | |
void main() | |
{ | |
int a,b,c,d,e,f,g; | |
printf("2つの整数を入力してください。\n"); | |
scanf("%d,%d",&a,&b); | |
c = a + b; |
This file contains hidden or 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
/** | |
* 課題2 | |
* | |
* 5つの配列を格納する配列Dataに任意の5つの数字を格納(初期値設定)して、 | |
* 合計と平均を求めるプログラムを作成 | |
*/ | |
#include<stdio.h> | |
void main() | |
{ |
OlderNewer