Skip to content

Instantly share code, notes, and snippets.

View criticalbreak5's full-sized avatar

criticalbreak5

View GitHub Profile
@criticalbreak5
criticalbreak5 / test.html
Created July 18, 2014 16:13
Usage : simple_csv
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<title>test</title>
<script type="text/javascript" src="./jquery-1.11.1.min.js"></script>
<script type="text/javascript" src="./jquery.simple_csv.js"></script>
@criticalbreak5
criticalbreak5 / test.html
Last active August 29, 2015 14:04
Usage : simple_choices
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<title>test</title>
<script type="text/javascript" src="./jquery-1.11.1.min.js"></script>
<script type="text/javascript" src="./jquery.simple_choices.js"></script>
@criticalbreak5
criticalbreak5 / test.html
Created July 26, 2014 16:41
Usage : simple_table
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<title>test</title>
<script type="text/javascript" src="./jquery-1.11.1.min.js"></script>
<script type="text/javascript" src="./jquery.simple_table.js"></script>
@criticalbreak5
criticalbreak5 / Smack.java
Last active August 29, 2015 14:04
Usage : Smack
/*!
* Usage : Smack
* https://github.com/criticalbreak5/
*
* Copyright 2014 criticalbreak5's
* Released under the MIT license
* http://opensource.org/licenses/mit-license.php
*
* Date: 2014-08-03T00:00Z
*/
window.document.onkeydown = _onkeydown;
function _onkeydown() {
if (window.event.keyCode != 8) { // Backspace.
return true;
}
if ( window.event.srcElement &&
(window.event.srcElement.type == "text" || window.event.srcElement.type == "textarea" || window.event.srcElement.type == "password") &&
window.event.srcElement.readOnly == false) {
return true;
window.document.onkeydown = _onkeydown;
function _onkeydown(event) {
if (event.keyCode != 8) { // Backspace.
return true;
}
if ( event.target &&
(event.target.type == "text" || event.target.type == "textarea" || event.target.type == "password") &&
event.target.readOnly == false) {
return true;
@criticalbreak5
criticalbreak5 / test.html
Last active August 29, 2015 14:05
Usage : simple_dateformat
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<title>test</title>
<script type="text/javascript" src="./jquery-1.11.1.min.js"></script>
<script type="text/javascript" src="./jquery.simple_dateformat.js"></script>
@criticalbreak5
criticalbreak5 / test.Test.java
Created August 9, 2014 16:26
Usage : djUnit
Class not found test.Test
java.lang.ClassNotFoundException: test.Test
at jp.co.dgic.testing.common.DJUnitClassLoader.getModifiedClass(DJUnitClassLoader.java:105)
at jp.co.dgic.testing.common.DJUnitEclipseClassLoader.getModifiedClass(DJUnitEclipseClassLoader.java:58)
at jp.co.dgic.testing.common.DJUnitClassLoader.findClass(DJUnitClassLoader.java:59)
at java.lang.ClassLoader.loadClass(Unknown Source)
at jp.co.dgic.testing.common.DJUnitClassLoader.loadClass(DJUnitClassLoader.java:46)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.loadClass(RemoteTestRunner.java:693)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.loadClasses(RemoteTestRunner.java:429)
@criticalbreak5
criticalbreak5 / test.html
Created August 23, 2014 15:13
jQuery BlockUI Test
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="ja">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<title>test</title>
<script type="text/javascript" src="./jquery-1.4.2.js"></script>
<script type="text/javascript" src="./jquery.blockui.2.35.js"></script>
@criticalbreak5
criticalbreak5 / _test.html
Created August 23, 2014 15:14
jQuery BlockUI Test(2)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="ja">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<title>_test</title>
<script type="text/javascript" src="./jquery-1.4.2.js"></script>
<script type="text/javascript" src="./jquery.blockui.2.35.js"></script>