Edit on playcode.io
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
| ## References | |
| # https://vlc-bluray.whoknowsmy.name/ | |
| --- | |
| - name: Create temporary directory for downloads | |
| ansible.windows.win_tempfile: | |
| state: directory | |
| suffix: downloads | |
| register: temp_dir | |
doitはシンプルなdotfilesマネージャーです。
GitHubで一番人気のあるmathiasbynens/dotfilesの形式に対応しています。
実際、doitの名前はそのリポジトリのbootstrap用シェルスクリプトの関数から取られています。
バイナリをインストールしたら、指定したdotfilesリポジトリのファイルを $HOME にコピーすることしかできません。しかも、同名のファイルがある場合は(確認の後)上書きします。
しかし、テンプレートエンジンやパスワードマネージャーとの統合はサポートされています。(chezmoiに影響されています)
- バイナリインストール
- リモート・ローカル両方のdotfilesを指定可能
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
| function protectAllSheets() { | |
| var ss = SpreadsheetApp.getActiveSpreadsheet(); | |
| var shs = ss.getSheets(); | |
| var me = Session.getEffectiveUser(); | |
| for (var i = 0; i < shs.length; i++){ | |
| var sheet = shs[i] | |
| var protection = sheet.protect().setDescription('protect sheet by "function protectAllSheets()"'); | |
| protection.addEditor(me); | |
| protection.removeEditors(protection.getEditors()); | |
| if (protection.canDomainEdit()) { |
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
| ### Keybase proof | |
| I hereby claim: | |
| * I am xhiroga on github. | |
| * I am hiroga (https://keybase.io/hiroga) on keybase. | |
| * I have a public key whose fingerprint is 1694 5E22 1B0B AF41 3918 A7F1 BAB0 76B5 3124 D139 | |
| To claim this, I am signing this object: |
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
| # Reference | |
| # TBD... |
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
| dataclasses.asdict( | |
| obj, | |
| dict_factory=lambda tuples: {tuple[0]: tuple[1] for tuple in tuples if tuple[1] is not None} | |
| ) |
I hereby claim:
- I am hiroga-cc on github.
- I am hiroga (https://keybase.io/hiroga) on keybase.
- I have a public key ASBj6eaQbF_bjbHbCWraLgBrwno9_jellWktW-VvXg8V8Ao
To claim this, I am signing this object:
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
| Resources: | |
| CDKTESTHIROGA2CBE18D7: | |
| Type: AWS::EC2::VPC | |
| Properties: | |
| CidrBlock: 10.0.0.0/16 | |
| EnableDnsHostnames: true | |
| EnableDnsSupport: true | |
| InstanceTenancy: default | |
| Tags: | |
| - Key: Name |
長澤 太郎さん ( @ngsw_taro )
Svetlana Isakovaさん( @sveta_isakova )
https://speakerdeck.com/svtk/whats-new-in-kotlin
八木俊広さん ( @sys1yagi )
https://speakerdeck.com/sys1yagi/kotlin-korutinwo-li-jie-siyou-2019-kotlinfest2019
NewerOlder