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 python | |
# -*- coding: utf-8 -*- | |
import os, json, functools | |
from urllib2 import urlopen, Request | |
# GitHub Traffic API | |
# https://developer.github.com/v3/repos/traffic/ | |
def openTrafficAPI (owner, repo, token, path): | |
url = "https://api.github.com/repos/%s/%s/traffic/%s" % (owner, repo, path) | |
headers = { |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
/* | |
irremocon <https://github.com/ak1211/irremocon> | |
Copyright 2019 Akihiro Yamamoto | |
Licensed under the Apache License, Version 2.0 (the "License"); | |
you may not use this file except in compliance with the License. | |
You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 |
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
/* | |
irremocon <https://github.com/ak1211/irremocon> | |
Copyright 2019 Akihiro Yamamoto | |
Licensed under the Apache License, Version 2.0 (the "License"); | |
you may not use this file except in compliance with the License. | |
You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 |
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
/* | |
irremocon <https://github.com/ak1211/irremocon> | |
Copyright 2019 Akihiro Yamamoto | |
Licensed under the Apache License, Version 2.0 (the "License"); | |
you may not use this file except in compliance with the License. | |
You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 |
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
// | |
// 電子ボリュームの減衰値を計算するJavaScript | |
// http://ak1211.com | |
// Copyright (c) 2018 Akihiro Yamamoto | |
// | |
// | |
// This software is released under the MIT License. | |
// http://opensource.org/licenses/mit-license.php | |
// |
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
# https://ak1211.com/7586 (main.py) | |
# Copyright 2020 Akihiro Yamamoto | |
# Licensed under the Apache License, Version 2.0 | |
import time | |
import board | |
import pulseio | |
from digitalio import DigitalInOut, Direction | |
# IRM | |
pulses = pulseio.PulseIn(board.D0, maxlen=2000, idle_state=True) |
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
# https://ak1211.com/7586 (main.py) | |
# Copyright 2020 Akihiro Yamamoto | |
# Licensed under the Apache License, Version 2.0 | |
from digitalio import DigitalInOut, Direction | |
import array | |
import board | |
import pulseio | |
import supervisor | |
import sys | |
import time |
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
# https://ak1211.com/7707 (main.py) | |
# Copyright 2021 Akihiro Yamamoto | |
# Licensed under the Apache License, Version 2.0 | |
from digitalio import DigitalInOut, Direction | |
import board | |
import pulseio | |
import supervisor | |
import sys | |
import time | |
import array |
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
/* | |
* i2c_lcd.c | |
* | |
* Created on: 2021/11/22 | |
* Author: Akihiro Yamamoto | |
* | |
* Copyright 2021 Akihiro Yamamoto | |
* Licensed under the Apache License, Version 2.0 | |
* | |
*/ |