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
// ==UserScript== | |
// @name <pre> to <textarea> | |
// @namespace http://ateraimemo.com/ | |
// @include http://* | |
// @include https://* | |
// @exclude http://*.google.* | |
// @exclude https://*.google.* | |
// @grant none | |
// @description pre <-> textarea | |
// @version 1.0.11 |
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
// ==UserScript== | |
// @name <table> to CSV | |
// @namespace https://ateraimemo.com/ | |
// @include /^https?://.* | |
// @description Html table -> CSV(textarea) | |
// @grant none | |
// @version 1.0.7 | |
// ==/UserScript== | |
//- [JavaScriptでHtmlのtable要素をCSVに変換する](//ateraimemo.com/JavaScript/table2csv.html) | |
(function() { |
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
#!/bin/sh | |
cygwin=false; | |
case "`uname`" in | |
CYGWIN*) cygwin=true; | |
esac | |
#sudo tar zxvf jdk-7u40-linux-x64.tar.gz -C /usr/lib/jvm | |
JDK_BASE=/usr/lib/jvm | |
if $cygwin; then |
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
@echo off | |
rem set JDK_BASE=%PROGRAMFILES%\Java | |
set JDK_BASE=%PROGRAMFILES%\Amazon Corretto | |
rem set JDK_BASE=%USERPROFILE%\.sdkman\candidates\java | |
if "%~1" == "" goto list | |
set JDK_TEMP=%JDK_BASE%\jdk%~1 | |
rem set JDK_TEMP=%JDK_BASE%\%~1 |
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
javascript:(function(){var l=location,m=l.href.match("^https?://(.+)(api[^+]+|technotes[^+]+)");if(m)l.href='https://docs.oracle.com/javase/8/docs/'+decodeURIComponent(m[2]).replace(/\+.*$/,'').replace(/\[\]/g,':A').replace(/, |\(|\)/g,'-');}()); |
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
import java.awt.*; | |
import java.awt.event.*; | |
import java.awt.geom.*; | |
import java.awt.image.*; | |
import java.util.*; | |
import javax.swing.*; | |
import javax.swing.border.*; | |
public class RoundedBorderTest { | |
public JComponent makeUI() { |
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
# -*- mode: ruby; encoding: utf-8 -*- | |
require 'uri' | |
require 'date' | |
require 'yaml' | |
module HTMLUtils | |
ESC = { | |
'&' => '&', | |
'"' => '"', | |
'<' => '<', |
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
import java.awt.*; | |
import java.util.Objects; | |
import javax.swing.*; | |
import javax.swing.border.*; | |
import javax.swing.table.*; | |
public class TransparentHeaderTest { | |
public JComponent makeUI() { | |
Color alphaZero = new Color(0x0, true); |
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
//package example; | |
//-*- mode:java; encoding:utf-8 -*- | |
// vim:set fileencoding=utf-8: | |
//@homepage@ | |
import java.awt.*; | |
import java.awt.event.*; | |
import java.util.*; | |
import javax.swing.*; | |
import javax.swing.Timer; | |
import javax.swing.tree.*; |
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
import java.awt.*; | |
import java.awt.image.ImageObserver; | |
import java.util.Objects; | |
import javax.swing.*; | |
import javax.swing.tree.*; | |
public class AnimatedTreeNodeTest { | |
public JComponent makeUI() { | |
ImageIcon icon = new ImageIcon(getClass().getResource( | |
"restore_to_background_color.gif")); |
NewerOlder