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/ruby | |
# | |
# Usage: | |
# $ echo わたしたわしわたしたわ | ruby koikekeiko.rb | |
# 11/1 | |
# $ echo こしたんたん | ruby koikekeiko.rb | |
# 3/2 | |
# | |
# Calculates the "saiwaisa" of the input as defined in | |
# 2022年度 大学入学共通テスト 本試験 情報関係基礎 |
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
# -*- coding: utf-8 -*- | |
import Adafruit_GPIO.SPI as SPI | |
import Adafruit_SSD1306 | |
import Image | |
import ImageDraw | |
import ImageFont | |
# Raspberry Pi pin configuration |
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
#!/bin/bash | |
wget "https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz" | |
tar -xf libevent-2.0.21-stable.tar.gz | |
cd libevent-2.0.21-stable | |
./configure | |
make | |
make verify | |
sudo make install | |
sudo ldconfig |
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
// ==Taberareloo== | |
// { | |
// "name" : "WikiHub Model for RAC Articles" | |
// , "description" : "Post an article to https://rac.wikihub.io/articles" | |
// , "include" : ["background"] | |
// , "version" : "0.0.2" | |
// , "downloadURL" : "https://gist.githubusercontent.com/raw/87ea769b18357185f27babb24e471a31/model.wikihub.rac.tbrl.js" | |
// } | |
// ==/Taberareloo== |
NewerOlder