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
// 一回あたりに取得する件数 | |
let LIMIT = 10 | |
// 現在洗濯中のクリップID | |
let CLIP_ID = null | |
// 現在読み込んだ最も古いノートのID | |
let UNTIL = null | |
// 現在読み込んでいるノートの表示要素 | |
let NOTE_ELEMENTS = [] | |
// リセット |
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
// テーブルからデータを取得する | |
const headers = ['work_name', 'maker_name', 'sales_date', 'work_text', 'purchased']; | |
function getTableData() { | |
let dataList = []; | |
const trs = document.getElementsByTagName("tr"); | |
for (let i = 0; i < trs.length; i++) { | |
const data = {}; |
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
byte[] CheckCmd = new byte[] { 0xF0, 0x01, 0x00 }; | |
SerialPort Port = null; | |
foreach (var name in SerialPort.GetPortNames()) | |
{ | |
var p = new SerialPort(name, 19200, Parity.None, 8, StopBits.One); | |
p.Open(); | |
p.DtrEnable = true; | |
p.RtsEnable = true; | |
p.ReadTimeout = 100; |
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 mute_list = [ | |
"6341", "426484", "395518", "368380", "444302", "496247", "517648" | |
] | |
$(() => { | |
// 削除済みの投稿 | |
let deleted_response = [] |
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
# ファイル名は適宜 | |
shogyo = File.readlines('./購入記録商業180417.csv') | |
doujin = File.readlines('./購入記録同人180417.csv') | |
denshi = File.readlines('./購入記録電子書籍180417.csv') | |
data = {} | |
shogyo.each do |line| | |
next if line.strip == '' | |
sp = line.split(',') |
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
using UnityEngine; | |
public class Operatable : MonoBehaviour | |
{ | |
public float speed = 5.0f; | |
private float jumpSpeed = 12.0f; | |
public float horizontal = 0, vertical = 0; | |
private Rigidbody2D rb2D; | |
private Transform tr; |