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
# first: mkdir user && cd user && cp /path/to/get_gists.py . | |
# python3 get_gists.py user | |
import requests | |
import sys | |
from subprocess import call | |
user = sys.argv[1] | |
r = requests.get('https://api.github.com/users/{0}/gists'.format(user)) |
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
#!/bin/bash | |
# https://www.jetbrains.com/help/idea/working-with-projects.html#invalidate-cache | |
# https://intellij-support.jetbrains.com/hc/en-us/articles/206544519 | |
# https://www.jetbrains.com/help/idea/2019.3/tuning-the-ide.html#default-dirs | |
# https://www.jetbrains.com/help/idea/2020.1/tuning-the-ide.html#default-dirs | |
# .IntelliJIdea20???? (IntelliJ IDEA Ultimate Edition) | |
# .IdeaIC20???? (IntelliJ IDEA Community Edition) | |
# .PyCharmCE20???? |
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
import contextlib | |
import os | |
import sqlite3 | |
def cat(filename: os.PathLike) -> str: | |
with open(filename) as f: | |
return f.read() | |
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
# https://editorconfig.org/ | |
root = true | |
[*] | |
indent_style = space | |
indent_size = 4 | |
insert_final_newline = true | |
trim_trailing_whitespace = true | |
end_of_line = lf |
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
Windows Registry Editor Version 5.00 | |
[HKEY_CURRENT_USER\Software\Classes\Directory\Background\shell\GitBash] | |
@="Ouvrir avec Bash" | |
[HKEY_CURRENT_USER\Software\Classes\Directory\Background\shell\GitBash\command] | |
@="C:\\Users\\chkanashiro\\scoop\\apps\\git\\current\\git-bash.exe" | |
[HKEY_CLASSES_ROOT\*\shell\GitBash] | |
@="Ouvrir avec Bash" |
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
mvn dependency:resolve -Dclassifier=javadoc |
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
python3 -m pip install --user pipx | |
python3 -m pipx ensurepath | |
pipx install pipenv | |
pipx install black | |
pipx install isort | |
pipx install flake8 |
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
digraph g { | |
"01" -> "none" | |
"02" -> "none" | |
"03" -> "01" | |
"04" -> "02" | |
"05" -> "02" | |
"06" -> "05" | |
"07" -> "05" | |
"08" -> "07" | |
"09" -> "08" |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<parent> | |
<groupId>org.springframework.boot</groupId> | |
<artifactId>spring-boot-starter-parent</artifactId> | |
<version>2.1.9.RELEASE</version> | |
<relativePath/> <!-- lookup parent from repository --> | |
</parent> |