Skip to content

Instantly share code, notes, and snippets.

import java.awt.*;
import java.awt.dnd.*;
import java.awt.datatransfer.DataFlavor;
import java.awt.datatransfer.Transferable;
import java.awt.geom.*;
import java.awt.image.*;
import java.io.File;
import java.io.IOException;
import java.util.*;
import java.text.*;
import java.awt.*;
import java.awt.image.*;
import java.io.File;
import javax.imageio.*;
public class JavaTest
{
public static void main(String[] args) throws Exception
{
BufferedImage bi = new BufferedImage(100, 100, BufferedImage.TYPE_INT_RGB);
import java.io.File;
// metadata extraction in java: http://www.drewnoakes.com/code/exif/
import com.drew.imaging.jpeg.*;
import com.drew.metadata.*;
import com.drew.metadata.exif.*;
public class JavaTest
{
public static void main(String[] args) throws Exception
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
<title>VB.NET実行</title>
<style type = "text/css">
#btnExec
{
width: 200px;
height: 30px;
}
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
<title>Java実行</title>
<style type = "text/css">
#btnExec
{
width: 200px;
height: 30px;
}
<html>
<head>
<script src = "prototype-1.6.0.3.js"></script>
<script language = "JavaScript">
var lineNumber = 1;
function addLine()
{
lineName = prompt("名前:");
if(lineName != null)
<html>
<head>
<script type="text/javascript" src="http://s.hatena.ne.jp/js/HatenaStar.js"></script>
<script type="text/javascript">
Hatena.Star.SiteConfig = {
entryNodes: {
'div.section': {
uri: 'h3 a',
title: 'h3',
container: 'h3'
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf8">
<link type="text/css" rel="stylesheet" href="/stylesheets/main.css" />
</head>
<body>
{{user.nickname}} / {{user.email}}
<table border = "1">
<tr>
<th>Kamoku</th>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf8">
<link type="text/css" rel="stylesheet" href="/stylesheets/main.css" />
<style type = "text/css">
body, th, td, input, select
{
font-size: 7pt;
}
</style>
# -*- coding: utf-8 -*-
import cgi
import os
import time
import string
import datetime
import urllib
from google.appengine.api import users