Skip to content

Instantly share code, notes, and snippets.

View kikd's full-sized avatar
🦄
maybe focusing.

kohei ikeda kikd

🦄
maybe focusing.
  • Japan
  • 15:12 (UTC +09:00)
View GitHub Profile
@kikd
kikd / matlab_job.yml
Created August 27, 2021 00:29
GithubActionsでMATLABスクリプトを実行するときの
# Github ActionsでMATLABのスクリプトを実行するサンプル。
# 1時間ごとにスクリプトを実行、結果に差分があるときだけcommitする
# Publicなリポジトリなら実行できるはず
name: Run MATLAB Script on GitHub-Hosted Runner
on:
workflow_dispatch:
schedule:
- cron: '0 * * * *'
jobs:
Google Assistant Library for Python
google.assistant.library package.
class google.assistant.library.Assistant(credentials)[source]
Client for the Google Assistant Library.
Provides basic control functionality and lifecycle handling for the Google Assistant.
Google Assistantの基本的な制御機能とライフサイクル処理を提供します。
@kikd
kikd / esec_list.py
Created June 14, 2017 16:04
2017年度のESECに出展した企業を表示する
import requests
from bs4 import BeautifulSoup
def main():
url = 'https://ex-portal3.reed.jp/list/SODECS2017_ja.html'
res = requests.get(url)
soup = BeautifulSoup(res.content, 'html.parser')
companies = soup.find_all('tr', class_=['', 'tr_bg'])
for company in companies:
exhibition = company.find('td', class_='td_exhibitions').text
@kikd
kikd / gengo.rb
Last active January 12, 2017 13:43 — forked from hyuki0000/gengo.rb
gengo.rb - 元号ジェネレータ。これまでに元号で使われた漢字からなるすべての二文字列を生成する(漢字の重複を除いた版)
a = '万中久乾亀亨享仁保元勝化吉同和喜嘉国大天字安宝寛寿平康延建弘徳応感慶成承授政文斉昌明昭景暦正武永治泰白祚神祥禄禎福老至興衡観護貞銅長雉雲霊養'
a.split(//).permutation(2){|b| print "#{b*''},"}