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
keyword := 'phlow'. | |
databases := LeDatabasesRegistry uniqueInstance defaultLogicalDatabase databases. | |
found := OrderedCollection new. | |
databases | |
do: [ :database | | |
| asyncPages | | |
asyncPages := database asyncPagesForWord: keyword. | |
(asyncPages asyncSimilarCopy | |
do: [ :page | found add: page -> database databaseName ]) wait ]. |
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
gtMyOverviewFor: aView | |
<gtClassView> | |
^ aView explicit | |
title: 'MyOverView'; | |
tooltip: 'MyOverView'; | |
priority: 1; | |
disableAsync; | |
stencil: [ | left right contentBuilder labelBuilder className | | |
contentBuilder := [ BlElement new | |
layout: BlLinearLayout vertical; |
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
var req = require("request"); | |
req.get({ | |
url: "https://holidays-jp.github.io/api/v1/2021/date.json", | |
headers: { "content-type": "application/json" } | |
}, (error, response, body) => { gen(body) }); | |
function gen(body) { | |
var arr1 = []; | |
arr1.push('LOCK TABLES `c_holiday` WRITE;\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
javascript:( | |
() => { | |
const elm = document.getElementById('backgroundImage'); | |
if (elm) { | |
const params = new URLSearchParams(elm.src); | |
const url = params.get('chrome-untrusted://new-tab-page/custom_background_image?url'); | |
window.location.href = url; | |
} | |
} | |
)(); |
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
var proc_P = [ | |
["A", "in", "B"], | |
["B", "sync", "A"] | |
]; | |
var proc_Q = [ | |
["Δ", "sync", "Θ"], | |
["Θ", "out", "Δ"] | |
]; |
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
var process_P = [ | |
["P0", ["lock 0", "P1", function (r) { return r.m0 == 0 }, | |
function (r) { r.m0 = 1 }]], | |
["P1", ["lock 1", "P2", function (r) { return r.m1 == 0 }, | |
function (r) { r.m1 = 1 }]], | |
["P2", ["unlock 1", "P3", function (r) { return true }, | |
function (r) { r.m1 = 0 }]], | |
["P3", ["unlock 0", "P0", function (r) { return true }, | |
function (r) { r.m0 = 0 }]] | |
]; |
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
var process_P = [ | |
["P0", ["lock", "P1", function (r) { return r.mutex == 0 }, | |
function (r) { r.mutex = 1 }]], | |
["P1", ["read", "P2", function (r) { return true }, | |
function (r) { r.t1 = r.x }]], | |
["P2", ["inc", "P3", function (r) { return true }, | |
function (r) { r.t1 = r.t1 + 1 }]], | |
["P3", ["write", "P4", function (r) { return true }, | |
function (r) { r.x = r.t1 }]], | |
["P4", ["unlock", "P5", function (r) { return true }, |
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
var process_P = [ | |
["P0", ["read", "P1", function (r) { return true }, | |
function (r) { r.t1 = r.x }]], | |
["P1", ["inc", "P2", function (r) { return true }, | |
function (r) { r.t1 = r.t1 + 1 }]], | |
["P2", ["write", "P3", function (r) { return true }, | |
function (r) { r.x = r.t1 }]], | |
["P3", []] | |
]; |
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 LOS(target, aircraft, obstacle) { | |
return (ConditionA(target, aircraft, obstacle) | |
|| ConditionB(target, aircraft, obstacle) | |
|| ConditionC(target, aircraft, obstacle)) | |
&& | |
!(ConditionW(target, aircraft, obstacle) | |
|| ConditionX(target, aircraft, obstacle) | |
|| ConditionY(target, aircraft, obstacle) | |
|| ConditionZ(target, aircraft, obstacle)) | |
} |
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
*ファイル配置構造* | |
http://taskforce16.web.fc2.com/jtf_midway_ss/ 配下に 21 ファイル | |
1: 76 Clock.js | |
2: 21 Collection.js | |
3: 50 CollectionNV.js | |
4: 99 CollectionTF.js | |
5: 19 CollectionUnit.js | |
6: 82 Control.js |
NewerOlder