$ if [ -e "a" ]; then echo "a"; fi
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
git branch --merged| grep -vE "(^\*|master|main|dev)" | xargs git branch -d |
This file contains 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
{ | |
"version": "2.0.0", | |
"tasks": [ | |
{ | |
"label": "Clean up local branches", | |
"type": "shell", | |
"command": "git branch --merged | grep -vE '(^\\*|master|main|dev)' | xargs git branch -d", | |
}, | |
] | |
} |
This file contains 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
#include <iostream> | |
#include <iomanip> | |
int main() | |
{ | |
int a, b; | |
std::cin >> a >> b; | |
std::cout << a / b << ' '; | |
std::cout << a % b << ' '; | |
std::cout << std::fixed << std::setprecision(8); |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
$ sphinx-quickstart
$ cd docs
$ sphinx-apidoc -ef -o source ../depynd # e: separete, f: overwrite
$ make html
$ pycodestyle . | cut -d: -f1 | sort | uniq | xargs autopep8 -i --ignore E501
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
H, W = map(int, input().split()) | |
maze = [] | |
distances = [] | |
n_aisle = 0 | |
for i in range(H): | |
row = input() | |
maze.append(row) | |
distances.append([100000000 for i in range(W)]) | |
n_aisle += row.count('.') | |
NewerOlder