任意のチャンネルでメールを受信できるようにするための AWS Lambda(Python) スクリプトです。
説明リンク: TBD
{ | |
"title": "mic", | |
"rules": [ | |
{ | |
"description": "押している間マイクをOnに", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "f14", | |
"modifiers": { |
任意のチャンネルでメールを受信できるようにするための AWS Lambda(Python) スクリプトです。
説明リンク: TBD
import base64 | |
import random, string | |
def b64(s): | |
return (base64.b64encode(s.encode())).decode() | |
def rnd(): | |
return ''.join(random.choices(string.punctuation + string.ascii_letters, k=7)) | |
while True: |
import numpy as np | |
import matplotlib.pyplot as plt | |
import matplotlib.animation as animation | |
fig = plt.figure() | |
flames = [] | |
# 投票ラベル ('A': 1, 'B': 2, 'C': 3) に対応 | |
labels = ['A', 'B', 'C'] |
from pongpy.interfaces.team import Team | |
from pongpy.models.game_info import GameInfo | |
from pongpy.models.state import State | |
class MyTeam(Team): | |
""" https://github.com/pistatium/pong """ | |
@property | |
def name(self) -> str: | |
return 'myteam' |
import os | |
import boto3 | |
from collections import defaultdict | |
CLUSTER = os.environ.get('TARGET_CLUSTER') | |
ecs = boto3.client('ecs') | |
token = '' | |
cpus = defaultdict(int) |
#!/bin/bash | |
msg=`cat "$1"` | |
if [[ "$msg" =~ ^[^:] ]]; then | |
echo >&2 Commit message is not starting emoji. | |
exit 1 | |
fi | |
# emojify 後と比較して変わってなければ不正な絵文字 |
センサーを利用して、ユーザーが端末を使っていない時にバッテリーの消費を抑える機能…らしい。
http://androidlover.net/android-os/android-m/android-m-how-to-use-doze-mode.html
javascript:prompt('URL ForHatena Blog embed','<iframe frameborder="0" height="150" scrolling="no" src="//hatenablog-parts.com/embed?url='+location.href+'" style="width:100%;height:155px;margin:0 0 20px 0;display:block;" width="300"></iframe>')(); |