test2
test hogehoge
This file contains hidden or 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://mermaid.live/edit#pako:eNpNj00LwjAMhv9KyNmC-0Kt4MmjJ732EtbMDdZtzPYgY__dVCe0hzZ58ryQLliPllHjc6aphdv9bAaQs1cKClDqkslVypsng0p6-INMQJZHUmxEGogRKBNwSo1CwDdSbUB0OKRGBMefgTt0PDvqrKy5xLFB37Jjg1pKyw2F3hs0wyoqBT8-3kON2s-BdxgmS56vHckHHeqG-hevH_QgPiQ) | |
| graph LR; | |
| 0-- 3 -->1 --4-->2; | |
| 0-- 5--> 2; | |
| 1-- 12--> 3; | |
| 2-- 4--> 4; | |
| 2-- 9--> 3; | |
| 3-- 2--> 5; | |
| 4-- 7--> 3; | |
| 4-- 8--> 5; |
This file contains hidden or 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
| from urllib.parse import urlencode | |
| import requests | |
| import datetime | |
| def str_to_urlencode(y, m, d): | |
| today = datetime.date(int(y), int(m), int(d)) | |
| yesterday = today - datetime.timedelta(days=1) | |
| tomorrow = today + datetime.timedelta(days=1) | |
| yesterday = yesterday.strftime("%Y%m%d").zfill(2) | |
| tomorrow = tomorrow.strftime("%Y%m%d").zfill(2) |
This file contains hidden or 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
| find . -type f -exec md5sum "{}" + | sort > checksum.list |
This file contains hidden or 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
| tmux でbottomに空きを削除 | |
| ~/.config/gtk-3.0/gtk.css | |
| 1 VteTerminal, | |
| 2 vte-terminal, | |
| 3 TerminalScreen { | |
| 4 padding: 0px; | |
| 5 margin: 0px; | |
| 6 -VteTerminal-inner-border: 0px; | |
| 7 } |
This file contains hidden or 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
| t = lambda x: lambda y: x | |
| t1 = lambda x: lambda y: x | |
| f = lambda x: lambda y: y | |
| f2 = lambda x: lambda y: y | |
| b = lambda z: t if z else f | |
| b2 = lambda z: t1 if z else f2 | |
| ''' | |
| Z = lambda f: |
This file contains hidden or 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
| # | |
| # Fancy two-line prompt with git integration | |
| # | |
| # ┌───=[ specious :: sharp -( 0 )-[ ~ ]-( master ) | |
| # └──( | |
| # | |
| parse_git_dirty () { | |
| [[ $(git status 2> /dev/null | tail -1) != "nothing to commit, working tree clean" ]] && echo "*" | |
| } |
Yes - you can create a Kubernetes cluster with Raspberry Pis with the default operating system called Raspbian. This means you can carry on using all the tools and packages you're used to with the officially-supported OS.
- You must use an RPi 2 or 3 for use with Kubernetes
- I'm assuming you're using wired ethernet (Wi-Fi also works, but it's not recommended)
As configured in my dotfiles.
start new:
tmux
start new with session name:
NewerOlder