Result of git diff
.
❯ git diff
diff --git a/_posts/2023/02-09.md b/_posts/2023/02-09.md
index ff85672..7852684 100644
--- a/_posts/2023/02-09.md
+++ b/_posts/2023/02-09.md
@@ -106,6 +106,28 @@ excerpt: ''
#!/bin/sh | |
# Define an array of allowed directories | |
directories=("/path/hoge" "/path/foo") | |
# Get the current directory | |
current_dir=$(pwd) | |
# Check if current directory is in the list of allowed directories | |
if [[ "${directories[@]}" =~ "${current_dir}" ]]; then |
DEBUG: Using RE2 as regex engine | |
DEBUG: Parsing configs | |
DEBUG: Checking for config file in /home/runner/work/homepage-2nd/homepage-2nd/renovate.json5 | |
WARN: cli config dryRun property has been changed to full | |
DEBUG: File config | |
"config": { | |
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | |
"extends": [ | |
"config:base", | |
":label(renovate)", |
Diagrams for AWS IAM Roles Anyware | |
自信はない |
❯ pwd | |
/Users/korosuke613/ghq/github.com/korosuke613/playground/docker/here-docment | |
❯ DOCKER_BUILDKIT=1 docker build . | |
[+] Building 1.5s (10/10) FINISHED | |
=> [internal] load build definition from Dockerfile 0.4s | |
=> => transferring dockerfile: 37B 0.0s | |
=> [internal] load .dockerignore 0.4s | |
=> => transferring context: 2B 0.0s | |
=> resolve image config for docker.io/docker/dockerfile:1.3-labs 0.8s |
- repo: git://github.com/korosuke613/auto-insert-co-author-githook | |
rev: v1.0.1 | |
hooks: | |
- id: insert-co-author | |
stages: [prepare-commit-msg] |
#!/bin/bash | |
if [ $# -ne 1 ]; then | |
echo "指定された引数は$#個です。" 1>&2 | |
echo "実行するには1個の引数が必要です。" 1>&2 | |
exit 1 | |
fi | |
# 作業用ディレクトリの作成・移動 | |
mkdir __work |
/** | |
* example_SpeedControl.cpp | |
* このプログラムはSpeedControlクラスを使う時に参考にできる使用例です。 | |
* | |
* 【コンパイル・実行の仕方】 | |
* g++-7 -w ../src/Pid.cpp ../src/SpeedControl.cpp example_SpeedControl.cpp -I../include | |
* ./a.out | |
*/ | |
#include <iostream> |
from PIL import Image | |
from selenium import webdriver | |
class ScreenShot: | |
def __init__(self, file_name_: str = "screenshot.png"): | |
""" | |
:type file_name_: str | |
""" | |
self._filename = file_name_ |