301 Moved Permanently

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
@startuml color-setting | |
hide footbox | |
skinparam shadowing false | |
skinparam NoteBorderColor #Black | |
skinparam NoteBackgroundColor #White | |
skinparam sequence { | |
LifeLineBorderColor #Black | |
LifeLineBackgroundColor #White | |
ActorBackgroundColor #White | |
ActorBorderColor #Black |
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
$ ls -l /sys/bus/usb/drivers/snd-usb-audio/ | |
合計 0 | |
lrwxrwxrwx 1 root root 0 10月 4 17:49 1-1.2:1.0 -> ../../../../devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2: | |
1.0 | |
lrwxrwxrwx 1 root root 0 10月 4 17:49 1-1.2:1.1 -> ../../../../devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2: | |
1.1 | |
lrwxrwxrwx 1 root root 0 10月 4 17:49 1-1.2:1.2 -> ../../../../devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2: | |
1.2 | |
lrwxrwxrwx 1 root root 0 10月 4 17:49 1-1.2:1.3 -> ../../../../devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2: | |
1.3 |
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
# node.js の debug ポート(9229)接続の例 | |
# ↓ssh元(PC) ↓target-hostからみたlocalhost | |
ssh -t -L 19229:localhost:44444 fumidai-host ssh -i .ssh/target-host.pem -L 44444:localhost:9229 target-host | |
# - 前提として ssh 元(PC) から fumidai-host に ssh 接続できるように .ssh/config などを定義すること。 | |
# - target-host には fumidai-host はからの ssh(22) のみしか接続できない場合を想定。 | |
# - ssh 元(PC) に 19229 ポートで接続を起動する(デバッガの接続先設定は localhost:19229) | |
# - 上記コマンドを叩いて target-host にログインできればOK(ターミナルはそのままにすること) | |
# - fumidai-host に target-host の ssh(22) の接続に使う秘密鍵が配置されていること(.ssh/target-host.pem) |
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
{ | |
"name": "app", | |
"version": "1.0.0", | |
"description": "app", | |
"repository": {}, | |
"license": "", | |
"devDependencies": { | |
"@babel/core": "^7.9.0", | |
"@babel/preset-env": "^7.9.0", | |
"babel-loader": "^8.1.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
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"type": "lldb", | |
"request": "launch", | |
"name": "Debug megadrij", | |
"program": "${workspaceFolder}/megadrij64", | |
"args": [ |
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
{ | |
"configurations": [ | |
{ | |
"name": "Mac", | |
"intelliSenseMode": "clang-x64", | |
"includePath": [ | |
"${workspaceRoot}/**" | |
], | |
"macFrameworkPath": [ | |
"/System/Library/Frameworks", |
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
const path = require('path'); | |
module.exports = { | |
devtool: "source-map", | |
mode: 'production', | |
target: 'node', | |
externals: function (context, request, callback) { | |
// use express in server install | |
// npm install express | |
// NODE_PATH=`npm root -g` node dist/app-bundle.js |
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
# -Parallel で並列化 | |
# -ThrottleLimit で立てるスレッド数を指定 | |
1..100 | foreach -ThrottleLimit 3 -Parallel { | |
# 最短 FizzBuzz は http://blog.powershell-from.jp/?p=15 さんより | |
$s=@(“Fizz”)[$_%3] + @(“Buzz”)[$_%5]; | |
[PSCustomObject]@{ | |
Id =$_; Value = ($s,$_)[!$s] | |
} | |
} | Sort-Object Id |