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
// | |
// ViewController.swift | |
// wifitest | |
// | |
// Created by 木戸 康平 on 2021/12/08. | |
// | |
import UIKit | |
import NetworkExtension |
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 HttpMethod = GoogleAppsScript.URL_Fetch.HttpMethod; | |
import { URLSearchParams } from "url"; | |
let gasAdapterInstance = null; | |
type GasEnv = "gas" | "local"; | |
type FetchMethod = "GET" | "POST"; | |
export class GasAdapter { | |
static getInstance(): GasAdapter { |
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
m5.onconnect = async () => { | |
await m5.setupIMUWait("MPU6886"); | |
let timeA = new Date(); | |
while (1) { | |
let data = await m5.imu.getAllDataWait(); | |
let timeB = new Date(); | |
var msDiff = timeB.getTime() - timeA.getTime(); | |
timeA = timeB; |
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 pwmNo1; | |
var pwmNo2; | |
var pwmNo3; | |
var pwmNo4; | |
var pwmNo5; | |
var pwmNo6; |
This file has been truncated, but you can view the full file.
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
(function (root, factory) { | |
if (typeof define === 'function' && define.amd) { | |
// AMD. Register as an anonymous module. | |
define(function () { | |
return (root.cv = factory()); | |
}); | |
} else if (typeof module === 'object' && module.exports) { | |
// Node. Does not work with strict CommonJS, but | |
// only CommonJS-like environments that support module.exports, | |
// like Node. |
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
/** | |
* comment | |
*/ | |
function printTips() { | |
var myHeading = document.querySelector('h1'); | |
myHeading.textContent = 'Hello world!'; | |
} |
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
CodeMirror.on(cm.display.scroller, "touchend", function (e) { | |
let touch = cm.display.activeTouch; | |
let date = new Date; | |
if (touch && touch.left != null && | |
!touch.moved && date - touch.start < 300) { | |
//エディタの何処かをsingle tapした | |
if (!touch.prev) { |
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 moduleStubs = {}; | |
var originalJsLoader = require.extensions['.js']; | |
var stubOnModule = function(module) { | |
var path = require.resolve(module); | |
var stub = sinon.stub(); | |
moduleStubs[path] = stub; | |
delete require.cache[path]; | |
return stub; |
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
git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree push -v origin refs/heads/master:refs/heads/master | |
Pushing to git@github.com:9wick/xxxx.git | |
ssh_askpass: exec(/usr/X11R6/bin/ssh-askpass): No such file or directory | |
Permission denied (publickey). | |
fatal: Could not read from remote repository. | |
Please make sure you have the correct access rights | |
and the repository exists. | |
Completed with errors, see above |
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
{ | |
users:{ | |
userA : { | |
groups : { | |
groupA : true | |
groupB : true | |
} | |
}, | |
userB : { | |
groups : { |
NewerOlder