| Client | Window | Pane | |
|---|---|---|---|
| Open | $tmux (new)
$tmux a (attached)
$tmux a -t num
|
C-b c | C-b "
C-b %
|
| | $tmux a -t num | | |
| Name,Type,Level,Duration,Cost,Lang,Description | |
| Security on AWS,Quest,,27 minutes,Free,,"This quest is designed to teach you how to apply AWS Identity and Access Management, in concert with several other AWS Services, to address real-world application and service security management scenarios." | |
| Serverless Web Apps using Amazon DynamoDB,Quest,,5 hours,3 Credits,,"Serverless architectures allow you to build and run applications and services without needing to provision, manage, and scale infrastructure. This quest will show how to design, build, and deploy interactive serverless web applications, using a simple HTML/JavaScript web interface which uses Amazon API Gateway calls to send requests to AWS Lambda backends that query Amazon DynamoDB data." | |
| Alexa Skills Development,Quest,,4 hours,30 Credits,,"In this Quest, you will learn how to create Alexa skills that respond to voice commands and which can be used on the Amazon Echo, Dot, and Tap devices. You will create back-end functions in AWS Lambda, and then conn |
| Security on AWS,"This quest is designed to teach you how to apply AWS Identity and Access Management, in concert with several other AWS Services, to address real-world application and service security management scenarios.",27 minutes,Free,,Quest,, | |
| Serverless Web Apps using Amazon DynamoDB,"Serverless architectures allow you to build and run applications and services without needing to provision, manage, and scale infrastructure. This quest will show how to design, build, and deploy interactive serverless web applications, using a simple HTML/JavaScript web interface which uses Amazon API Gateway calls to send requests to AWS Lambda backends that query Amazon DynamoDB data.",5 hours,3 Credits,,Quest,, | |
| Alexa Skills Development,"In this Quest, you will learn how to create Alexa skills that respond to voice commands and which can be used on the Amazon Echo, Dot, and Tap devices. You will create back-end functions in AWS Lambda, and then connect them with voice response logic using the Alexa Skills Kit. You will |
| Client | Window | Pane | |
|---|---|---|---|
| Open | $tmux (new)
$tmux a (attached)
$tmux a -t num
|
C-b c | C-b "
C-b %
|
| 名前 | 年月日 | 曜日 | 容疑 | 政治的な批判の対象があったか | |
|---|---|---|---|---|---|
| 尾崎豊 | 1987-12-22 | 火 | 覚醒剤 | ||
| 今井寿(BUCK-TICK) | 1989-04-21 | 金 | 麻 | ||
| 勝新太郎 | 1990-01-01 | 月 | |||
| ミッキー吉野(ゴダイゴ) | 1992-06-01 | 月 | 覚醒剤 | ||
| 江夏豊 | 1993-03-03 | 水 | 覚醒剤 | ||
| 長渕剛 | 1995-01-24 | 火 | 大麻 | ||
| sakura(元L'Arc〜en〜Ciel) | 1997-02-24 | 月 | 覚醒剤 | ||
| 翔(横浜銀蝿) | 1997-02-27 | 木 | 覚醒剤 |
| # Windowsで、コマンドラインからmecabは動くがpython,jupyterで文字化けする対策 | |
| import subprocess | |
| text = "すもももももももものうち" | |
| with open("tmp_input.txt", "w") as f: | |
| f.write(text) | |
| out = subprocess.check_output(r"mecab tmp_input.txt -o tmp_output.txt", shell=True) |
| ### Parameter $path | |
| ### if recursively use: Get-ChildItem -r | |
| ### file size is in MB | |
| $path = '.\' | |
| $items = @(Get-ChildItem $path) | |
| $Output = | |
| foreach ($item in $items) { | |
| if ( $item -isnot [System.IO.DirectoryInfo] ){ |
| import re | |
| from io import StringIO | |
| from pdfminer.converter import TextConverter | |
| from pdfminer.layout import LAParams | |
| from pdfminer.pdfinterp import PDFPageInterpreter, PDFResourceManager | |
| from pdfminer.pdfpage import PDFPage | |
| space = re.compile(r"[ ]+") |
| #!/usr/bin/python | |
| """Resize image simply with PIL | |
| Usage: | |
| $ python resize_image.py filename [mode] | |
| Output: | |
| "resize_ + filename" is created. | |
| Parameters |
| import datetime | |
| import time | |
| set_time = datetime.datetime(2019, 12, 31, 19, 0) | |
| now_time = datetime.datetime.now() | |
| delta = set_time - now_time | |
| sec_in_day = (delta.total_seconds() - delta.days*24*60*60) | |
| hours = int(sec_in_day // (60*60)) | |
| minutes = int((sec_in_day - hours*(60*60)) // 60) | |
| seconds = int(sec_in_day - minutes*60 - hours*60*60) |