9:00にオフィス(Sticky Fingers)
食料品は事前に用意しておく。食べ過ぎない。胃に負担をかけないようにする。
運営の櫛井さんからのメールに従って、サポートチャットと予選ポータルサイトにログインする。
9:00にオフィス(Sticky Fingers)
食料品は事前に用意しておく。食べ過ぎない。胃に負担をかけないようにする。
運営の櫛井さんからのメールに従って、サポートチャットと予選ポータルサイトにログインする。
| -- HANDLE SCROLLING | |
| local deferred = false | |
| overrideMiddleMouseDown = hs.eventtap.new({ hs.eventtap.event.types.otherMouseDown }, function(e) | |
| --print("down")) | |
| deferred = true | |
| return true | |
| end) | 
| diff --git a/recpt1core.c b/recpt1core.c | |
| index 168a023..36dd1fd 100644 | |
| --- a/recpt1core.c | |
| +++ b/recpt1core.c | |
| @@ -39,11 +39,50 @@ close_tuner(thread_data *tdata) | |
| } | |
| void | |
| +print_stat(struct dtv_stats stat) | |
| +{ | 
| class PathTemplate<N extends string> { | |
| constructor(public fragments: string[], public paramNames: N[]) {} | |
| render(params: {[_ in N]: string}) { | |
| const buf = [this.fragments[0]]; | |
| for (let i = 0; i < this.paramNames.length; ++i) { | |
| buf.push(params[this.paramNames[i]]); | |
| buf.push(this.fragments[i + 1]); | |
| } | |
| return buf.join(''); | 
| function dig<T, K extends keyof T>(obj: T, key: K): T[K] { | |
| return obj[key]; | |
| } | |
| const s: string = dig({ a: 'hoge', b: 1 }, 'a'); | |
| const t: number = dig({ a: 'hoge', b: 1 }, 'b'); | 
| 'use strict'; | |
| function wait (ms) { | |
| return new Promise((resolve) => setTimeout(resolve, ms)); | |
| } | |
| async function mainLoop() { | |
| while(true) { | |
| console.log('tick!'); | |
| await wait(1000); | 
| { | |
| "compilerOptions": { | |
| "module": "commonjs", | |
| "noImplicitAny": true, | |
| "preserveConstEnums": true, | |
| "target": "es2015", | |
| "moduleResolution": "node", | |
| "strictNullChecks": true, | |
| "types": [ | |
| "node" | 
| #!/bin/bash | |
| set -ue | |
| #------------------------------------------------------------------------------- | |
| SOURCE_DIR="." | |
| DESTINATION_DIR="public/assets" | |
| JAVASCRIPTS_DIR="javascripts" | |
| STYLESHEETS_DIR="stylesheets" | 
| function Parent () { | |
| this._state = []; | |
| } | |
| Parent.prototype.foo = function (v) { | |
| this._state.push(v); | |
| }; | |
| Parent.prototype.bar = function () { | |
| return this._state.join(','); | 
| [/* item */].map(function (item) { | |
| return function () { | |
| return new Promise(function (resolve, reject) { | |
| /* procedure */ | |
| }); | |
| }; | |
| }).reduce(function (a, b) { | |
| return function () { | |
| return a().then(b); | |
| }; |