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://read.amazon.co.jp/kindle-library | |
// consoleで実行 | |
let xhr = new XMLHttpRequest(); | |
let domain = 'https://read.amazon.co.jp/'; | |
let items = []; | |
let csvData = ""; | |
// function | |
function getItemsList(paginationToken = null) { |
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
import boto3 | |
def is_object_encrypted(s3_client, bucket_name, key): | |
response = s3_client.head_object(Bucket=bucket_name, Key=key) | |
return 'ServerSideEncryption' in response | |
def encrypt_objects(bucket_name, prefix, encryption_type): | |
s3_client = boto3.client('s3') | |
# List all objects under the specified prefix |
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
y - このハンクをステージングする | |
n - スキップする | |
q - 終了する | |
a - 以降のハンクをすべてステージングする | |
d - 以降のハンクをすべてスキップする | |
g - 指定したハンクへ移動 | |
/ - 正規表現によるハンクの検索 | |
j - 未確定な前のハンクへ移動する | |
J - 前のハンクへ移動する | |
k - 未確定な次のハンクへ移動する |
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
set clipboard=unnamed | |
nnoremap Y y$ | |
nnoremap x "_x | |
# nnoremap d "_d | |
nnoremap D "_D |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |