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
#include<stdio.h> | |
#include<string.h> | |
// プロダクトIDの定義一覧 | |
#define CO2_7SEG_ID 0 | |
#define SOIL_7SEG_ID 1 | |
#define RESULT_CODE_SUCCESS 0 | |
#define RESULT_CODE_FAILURE 1 |
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
version: '3' | |
services: | |
vpnserver: | |
image: siomiz/softethervpn:alpine | |
restart: always | |
volumes: | |
- /data/se-vpn/vpn_server.config:/usr/vpnserver/vpn_server.config | |
environment: | |
SPW: ${ADMIN_PASSWORD} | |
HPW: ${ADMIN_PASSWORD} |
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
fastboot devices | |
fastboot oem enable_camera_hal3 true | |
fastboot reboot |
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
# userでログイン | |
[user@localhost ~]$ su - | |
[root@localhost ~]# yum - y update | |
[root@localhost ~]# yum groupinstall "Development tools" | |
[root@localhost ~]# yum -y install wget | |
# SoftEtherのダウンロード | |
[root@localhost ~]# wget https://github.com/SoftEtherVPN/SoftEtherVPN_Stable/releases/download/v4.28 -9669-beta/softether-vpnserver-v4.28-9669-beta-2018.09.11-linux-x64-64bit.tar.gz | |
[root@localhost ~]# tar xzvf softether-vpnserver-v4.28-9669-beta-2018.09.11-linux-x64-64bit.tar.gz |
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 test() { | |
path = '/Folder1/Folder2/Folder3/'; | |
writePlain(makeFolder(path), 'test1.txt', 'hogehoge'); | |
writePlain(getFolder(path), 'test1.txt', 'hogehoge'); | |
} | |
/* フォルダが存在すれば、そのFolderオブジェクトを返す(存在しない場合はnull) */ | |
function getFolderByPath(path, currentFolder) { | |
return getFolderCore(path, currentFolder, false); | |
} |