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
from CO2Meter import * | |
import time | |
from datetime import datetime | |
sensor = CO2Meter("/dev/hidraw0") | |
time.sleep(5) # 認識待ち | |
data = sensor.get_data() | |
timestamp = int(time.time()) |
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 | |
EMACS_REPOSITORY_PATH="Your Emacs Repository Path" | |
cd $EMACS_REPOSITORY_PATH | |
CURRENT_COMMIT_HASH=$(git rev-parse HEAD) | |
git pull |
OlderNewer