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
#!/usr/bin/env bash | |
set -eu | |
# Google Corme + VSCode install script | |
# Tested Version: Ubuntu 22.04 | |
# | |
# (C) 2023 Daisuke Sato | |
# Released under the MIT License | |
# https://tiryoh.mit-license.org/2023 |
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
#!/usr/bin/env bash | |
set -eu | |
# Unity Hub install script | |
# Tested Version: Ubuntu 20.04 + Unity Hub 3.4.1 | |
# | |
# (C) 2023 Daisuke Sato | |
# Released under the MIT License | |
# https://tiryoh.mit-license.org/2023 |
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
[Unit] | |
Description=Display IP Address on MiniPupper LCD | |
Requires=NetworkManager-wait-online.service | |
After=NetworkManager-wait-online.service | |
[Service] | |
Type=forking | |
ExecStart=python3 -c "from MangDang.mini_pupper.display import Display ; disp = Display(); disp.show_ip();" | |
[Install] |
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
@echo off | |
call python.exe %* | |
cmd /k exit /B %ERRORLEVEL% |
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
# robin_nano_cfg.txt [3D Touch] 日本語版 2021.10.30 Version 0.1.0 by @Tiryoh | |
# robin_nano_cfg.txt [3D Touch] 日本語版 2021.3.5 Version.0.0.1 by @hitoriblog の派生物です | |
#=================== 高度な機能設定 ======================================= | |
>cfg_insert_det_module 0 # アクセス停電検出モジュール (1:mks 220det; 0:mks pwc) | |
>cfg_have_ups_device 0 # マシンにUPS電源が搭載されているかどうか (1:yes; 0:no) | |
>cfg_print_over_auto_close 1 # プリントオーバーシャットダウン設定 (1:on; 0:off) 「プリントオーバーシャットダウンモジュール」と同時に使用 |
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
#!/usr/bin/env bash | |
set -eu | |
# (C) 2021 Daisuke Sato | |
# Released under the MIT License | |
# https://tiryoh.mit-license.org/2021 | |
SRC_DIR=$(cd $(dirname ${BASH_SOURCE:-$0}); pwd) | |
# there is no Negative Lookahead in sed |
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
{ | |
"files.encoding": "shiftjis", | |
"C_Cpp.default.defines": [ | |
"_DEBUG", | |
"UNICODE", | |
"_UNICODE", | |
"_VSCODE" | |
], | |
"C_Cpp.default.includePath": [ | |
"${workspaceFolder}/**", |
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
#!/usr/bin/env bash | |
set -eu | |
# tested on Ubuntu 18.04.4 | |
git clone https://github.com/ds4-driver/ds4drv.git | |
cd ds4drv | |
mkdir -p ~/.local/lib/python3.6/site-packages | |
python3 setup.py install --prefix ~/.local | |
sudo cp udev/50-ds4drv.rules /etc/udev/rules.d/ |
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
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
# raspimouse_read_mcp3208_via_spidev.py | |
# (C) 2020 Daisuke Sato@RT CORPORATION | |
# Released under the MIT License | |
# special thanks: https://www.denshi.club/pc/raspi/5raspberry-pi-zeroiot8a-d5mcp3208.html | |
import time | |
import spidev |
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
#!/usr/bin/env bash | |
set -eu | |
sudo apt update | |
sudo apt install --no-install-recommends dkms | |
mkdir -p ~/workspace | |
cd ~/workspace | |
git clone https://github.com/abperiasamy/rtl8812AU_8821AU_linux.git | |
cd rtl8812AU_8821AU_linux | |
git checkout 4235b0ec7d7220a6364586d8e25b1e8cb99c36f1 | |
sed -i -e "s/CONFIG_PLATFORM_ARM_JET_NANO = n/CONFIG_PLATFORM_ARM_JET_NANO = y/g" -e "s/CONFIG_PLATFORM_I386_PC = y/CONFIG_PLATFORM_I386_PC = n/g" Makefile |
NewerOlder