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 javafx.animation.Interpolator | |
import javafx.animation.TranslateTransition | |
import javafx.application.Application | |
import javafx.event.Event | |
import javafx.event.EventHandler | |
import javafx.geometry.Pos | |
import javafx.scene.Group | |
import javafx.scene.Scene | |
import javafx.scene.control.Button | |
import javafx.scene.control.TextBox |
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 groovyx.javafx.ClosureEventHandler | |
import groovyx.javafx.GroovyFX | |
import groovyx.javafx.SceneGraphBuilder | |
import javafx.animation.Interpolator | |
import javafx.animation.TranslateTransition | |
import javafx.util.Duration | |
GroovyFX.start({ | |
def loadAction = { view.engine.load(new URI(urlBox.getText()).toString()) } | |
def stage = new SceneGraphBuilder().stage(title: "GroovyFXのテスト") { |
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
var imgs = document.querySelectorAll('img[src*="netstat"]'); | |
var c = document.createElement('canvas'); | |
var c2 = document.createElement('canvas'); | |
c.width = c2.width = imgs[0].width; | |
c.height = c2.height = imgs[0].height; | |
document.body.appendChild(c); | |
var ctx = c.getContext('2d'); | |
var ctx2 = c2.getContext('2d'); | |
var i = 0, n = imgs.length; |
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 threading | |
import time | |
import random | |
from sys import argv | |
from queue import Queue | |
class T(threading.Thread): | |
def __init__(self, num, barrier, queue): | |
self.barrier = barrier |
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.util.concurrent.atomic.AtomicInteger; | |
public class test { | |
static final int n = 500_000_000; | |
int i = 0; | |
int si = 0; | |
volatile int vi = 0; | |
AtomicInteger ai = new AtomicInteger(0); | |
AtomicInteger ai2 = new AtomicInteger(0); |
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 groovyx.javafx.GroovyFX | |
import groovyx.javafx.SceneGraphBuilder | |
import javafx.beans.value.ChangeListener | |
import static javafx.concurrent.Worker.State.* | |
GroovyFX.start({ | |
def sg = new SceneGraphBuilder(it) | |
def engine = sg.webEngine() | |
def loadAction = { engine.load(new URL(urlBox.getText()) as String) } | |
def stage = sg.stage(title: "GroovyFXのテスト") { |
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 lxml.html | |
import sys | |
if sys.version_info[0] < 3: | |
import codecs | |
sys.stdout = codecs.lookup('utf-8').streamwriter(sys.stdout) | |
else: | |
import io | |
sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding='utf-8') |
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 groovyx.javafx.GroovyFX | |
import groovyx.javafx.SceneGraphBuilder | |
import javafx.beans.value.ChangeListener | |
import static javafx.concurrent.Worker.State.SCHEDULED | |
import static javafx.concurrent.Worker.State.SUCCEEDED | |
GroovyFX.start({ | |
def sg = new SceneGraphBuilder(it) | |
def loadAction = { wv.engine.load(new URL(urlBox.getText()) as String) } | |
def stage = sg.stage(title: "GroovyFXのテスト") { |
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
# Maintainer: Hideaki Takahashi <[email protected]> | |
pkgname=openblas | |
_pkgname=OpenBLAS | |
pkgver=20111021 | |
pkgrel=1 | |
pkgdesc="OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version" | |
arch=('i686' 'x86_64') | |
url="https://github.com/xianyi/OpenBLAS" | |
license=('custom') | |
depends=('gcc-libs') |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=8 ; IE=9" /> | |
<title>chcek JavaScript engine version</title> | |
</head> | |
<body> | |
</body> | |
<script> |
OlderNewer