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
| [Console]::OutputEncoding = [System.Text.Encoding]::UTF8 | |
| # 入力・出力フォルダの設定 | |
| $InputDir = "." | |
| $OutputDir = "converted" | |
| # 出力フォルダがなければ作成 | |
| if (!(Test-Path $OutputDir)) { | |
| New-Item -ItemType Directory -Path $OutputDir | Out-Null | |
| } |
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
| // https://gist.github.com/microtherion/2636608 | |
| #include <MIDI.h> | |
| #include <SPI.h> | |
| #define VS_XCS A3 // Control Chip Select Pin (for accessing SPI Control/Status registers) | |
| #define VS_XDCS A2 // Data Chip Select / BSYNC Pin | |
| #define VS_DREQ A1 // Data Request Pin: Player asks for more data |
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
| // $ gcc rpi-nokia5510-lcd.c -lwiringPi | |
| #include <stdio.h> | |
| #include <wiringPi.h> | |
| #include <wiringPiSPI.h> | |
| #define CMD_FUNCTIONSET 0x20 | |
| #define CMD_EXTENDEDINSTRUCTION 0x01 | |
| #define CMD_DISPLAYCONTROL 0x08 | |
| #define CMD_DISPLAYNORMAL 0x04 |
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:var m = ["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];var d = new Date();prompt("コピーしてね",`${document.title},${window.location.href},参照${m[d.getMonth()]}. ${d.getDay()}, ${d.getFullYear()}`); |
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:prompt("コピーしてね",document.title+" - "+window.location.href); |
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:window.open(encodeURI(decodeURI("https://twitter.com/intent/tweet?"+"text=NowBrowsing : "+document.title+"&url="+window.location.href)),"null","menubar=no,toolbar=no,width=640,height=320"); |