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
<%@ page language="java" import="twitter4j.*,java.util.List" contentType="text/html; charset=UTF-8" session="false" %> | |
<html> | |
<head> | |
<meta http-equiv="content-type" content="text/html;charset=UTF-8"> | |
</head> | |
<style> | |
.username { | |
font-size: 12pt; | |
} | |
.description{ |
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
$ pip install sphinxjp.themes.impressjs | |
Downloading/unpacking sphinxjp.themes.impressjs | |
Downloading sphinxjp.themes.impressjs-0.1.0.tar.gz | |
Running setup.py egg_info for package sphinxjp.themes.impressjs | |
Traceback (most recent call last): | |
File "<string>", line 14, in <module> | |
File "/Users/tomohiko/MyWorks/Python/bloggart/build/sphinxjp.themes.impressjs/setup.py", line 7, in <module> | |
open(os.path.join("src", "README.txt")).read(), | |
IOError: [Errno 2] No such file or directory: 'src/README.txt' | |
Complete output from command python setup.py egg_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
# LaTeX | |
LATEX = platex --kanji=utf8 | |
DVIPDFM = dvipdfmx | |
LaTeXDocument(TAPL_Chap11, TAPL_Chap11) | |
.DEFAULT: TAPL_Chap11.pdf TAPL_Chap11.dvi |
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> | |
struct base { | |
int basic_field; | |
}; | |
struct extended { | |
struct base base; | |
int extended_field; |
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> | |
struct rect { | |
int height; | |
int width; | |
void (*rotate)(struct rect *); | |
}; | |
void rect_rotate(struct rect *); |
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
# OMakefile for Sphinx documentation | |
# | |
# You can set these variables from the command line. | |
SPHINXOPTS = | |
SPHINXBUILD = sphinx-build | |
PAPER = | |
SRCDIR = source | |
BUILDDIR = build |
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
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov. | |
// Jad home page: http://www.kpdus.com/jad.html | |
// Decompiler options: packimports(3) | |
// Source File Name: hello.rb | |
package ruby.jit; | |
import org.jruby.Ruby; | |
import org.jruby.RubyInstanceConfig; | |
import org.jruby.ast.executable.AbstractScript; |
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
public class ArrayInit { | |
public static void main(String[] args) { | |
Integer[] integerArray = new Integer[] {1, 2, 3}; | |
// String[] stringArray = new String[] {"hoge", "fuga", "piyo"}; | |
String[] stringArray = {"hoge", "fuga", "piyo"}; // こっちで良かった. | |
int[] intArray = {1, 2, 3}; | |
// Integer[] integerArray = {1, 2, 3}; # compile error | |
myPrintArray(new Integer[] {1, 1, 2, 3, 5}); |
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> | |
int main() | |
{ | |
char buf[64]; | |
int N; | |
int i; | |
int x, y; | |
long sum_x=0, sum_y=0, sum_x2=0, sum_y2=0; | |
int n; |
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
enum DataType { | |
// primitive | |
BOOLEAN(true), | |
CHARACTER(true), | |
INTEGER(true), | |
DECIMAL(true), | |
STRING(true), | |
// non-primitive | |
TYPE_HASH(false), |