- 必要に応じて JDKDIR, JDK17, JDK18 を書き換える
- JDK_HOME, JAVA_HOME を %JDKDIR%\jdk に設定しておく
- あとは
jdk 17で JDK7 が、jdk 8で JDK8 が %JDKDIR%\jdk へジャンクションで接続され JDKが切り替わる
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
| <!doctype html> | |
| <body onload="load();"> | |
| <button onclick="play();">Play</button> | |
| <button onclick="stop();">Stop</button> | |
| <script> | |
| var Player = function() { | |
| if (window.webkitAudioContext) { | |
| this.context = new webkitAudioContext(); |
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
| // port of tiny_raytrace: http://www.gabrielgambetta.com/tiny_raytracer.html | |
| package main | |
| import ( | |
| "fmt" | |
| "image" | |
| "image/png" | |
| "log" | |
| "math" |
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
| require 'open3' | |
| module LessCssJS | |
| class LessCssGenerator < Jekyll::Generator | |
| def generate(site) | |
| site.static_files.clone.each { |f| | |
| if f.kind_of?(Jekyll::StaticFile) and File.extname(f.path) == '.less' | |
| css = LessCssFile.new(site, f) | |
| site.static_files.delete(f) | |
| site.static_files << css |
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
| 呼んでいる Vimのどこか奥で | |
| いつも心躍る 技を見たい | |
| プラギンは 数えきれないけれど | |
| その向こうできっと あなた(=暗黒美夢王)に会える | |
| 繰り返すドットの そのたび ひとは | |
| ただ黒いコンソールの 黒さ知る | |
| 果てしなく テキストは続いて見えるけれど | |
| この両手は キーを叩ける |
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
| #!/bin/sh | |
| infile=$1 ; shift | |
| passlog=${infile%.wmv}.passlog | |
| outfile1=${infile%.wmv}-1.mp4 | |
| outfile=${infile%.wmv}.mp4 | |
| echo infile=$infile | |
| echo outfile=$outfile |
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
| {% tabcontrol %} | |
| {% tabpage C言語 %} | |
| {% highlight c %} | |
| #include <stdio.h> | |
| int main(int argc, char **argv) { | |
| printf("Hello World\n"); |
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
| function x(y) { | |
| return y == 0 ? 0 : y + x(y - 1); | |
| } | |
| console.log(x(10000)); |
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
| #!/bin/sh | |
| usage () { | |
| echo "usage:" $@ | |
| exit 127 | |
| } | |
| die () { | |
| echo $@ | |
| exit 128 |
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
| Boolean.prototype.toString = function() { return 'foo'; } | |
| console.log(false); | |
| console.log(false.toString()); | |
| console.log('' + false) | |
| function Bar() {} | |
| Bar.prototype.toString = function() { return 'bar'; } | |
| var b = new Bar(); | |
| console.log(b); | |
| console.log(b.toString()); |
OlderNewer