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
#include <Wire.h> | |
#include <LiquidCrystal_I2C.h> | |
/* | |
* アドレス0x27 | |
* 16x2 | |
*/ | |
#define CALACTER 16 | |
#define LINE 2 | |
#define LCDADDRESS 0x27 |
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
/* | |
* シフトレジスタテスト | |
*/ | |
#define DATAPIN 8 | |
#define LATCHPIN 9 | |
#define CLOCKPIN 10 | |
int data[][8] = { | |
{ 1,1,1,1,1,1,0,0}, //0 | |
{ 0,1,1,0,0,0,0,0}, //1 |
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
/* | |
* 7セグLEDx4 | |
*/ | |
#define DATAPIN 8 | |
#define LATCHPIN 9 | |
#define CLOCKPIN 10 | |
//7セグLED 表示用 | |
int data[][8] = { | |
{ 1,1,1,1,1,1,0,0}, //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
urltable = { | |
--hostname directory UseIPaddress | |
{"www.mydns.jp", "/directip.html?MID=mydnsxxxxxx&PWD=xxxxxxxxxxx&IPV4ADDR=",true}, | |
{"f5.si", "/update.php?domain=xxxxxxxxx&password=xxxxxxxxxx", false} | |
} | |
-- http://symfoware.blog68.fc2.com/blog-entry-455.html | |
function split(str, delim) | |
if string.find(str, delim) == nil then |
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
@echo off | |
cd /d %~dp0 | |
setlocal enabledelayedexpansion | |
rem || ffmpegの設定及び引数 | |
rem ------------------------ | |
set FFMPEG=ffmpeg.exe -y -i | |
set FFMPEGOUT= -acodec copy | |
rem ------------------------ |
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
@echo off | |
cd /d %~dp0 | |
setlocal enabledelayedexpansion | |
rem ||行末のスペース削除 | |
rem ----------------------- | |
set FFMPEG=ffmpeg.exe -y -i | |
set FFMPEGOUT=-acodec copy | |
rem ----------------------- | |
rem ||「.mp4」のファイルを取得(スペースありも可) |
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
@echo off | |
cd /d %~dp0 | |
setlocal enabledelayedexpansion | |
for /f "usebackq delims=" %%i in (`dir /B /S *.m4a`) do ( | |
echo ---------------------------------------------------- | |
echo %%i | |
echo. | |
del %%i |
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
#!/bin/sh | |
echo "########################" | |
echo "## All Auto UPdates ##" | |
echo "########################" | |
echo "" | |
sleep time 2s | |
apt-get update -y | |
apt-get upgrade -y | |
apt-get dist-upgrade -y |
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
Option Explicit | |
Function DV(A, B) | |
DV = Fix(A / B) | |
End Function | |
Function RD(A, B) | |
RD = DV(A, B) * B | |
End Function |
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
@echo off | |
cd /d %~dp0 | |
youtube-dl.exe --format 91 sKIbH-gXmX0 -o - | "c:\Program Files\VideoLAN\VLC\vlc.exe" - | |
pause |