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
*~ | |
.fuse_hidden* | |
.directory | |
.Trash-* | |
.nfs* | |
.DS_Store | |
.AppleDouble | |
.LSOverride | |
Icon | |
._* |
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
%libraries | |
\usepackage[T1]{fontenc} | |
% é & à ... | |
\usepackage[utf8]{inputenc} | |
\usepackage[francais]{babel} | |
%cosmetique :D | |
\usepackage{color} | |
\usepackage{url} | |
\usepackage{caption} |
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 | |
if [[ "$1" == *\.py ]] | |
then | |
$(black $1); | |
else | |
if [[ "$1" == *\.ipynb ]] | |
then | |
$(jblack $1); | |
else |
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
.header-bar.default-decoration { | |
padding-top: 1px; | |
padding-bottom: 1px; | |
font-size: 0.5em; | |
} | |
.header-bar.default-decoration .button.titlebutton { | |
padding: 0px; | |
} | |
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 | |
for pa in $(find -name "\.git" | sed -e "s/\.git//g"); | |
do | |
( | |
cd $pa; | |
echo ""; | |
echo "=> In $(pwd) :"; | |
git $*; |
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
from functools import reduce | |
from operator import add, truediv | |
from typing import Union | |
def component_connect(val1: float, val2: float, chx: bool) -> float: | |
r""" Parallel / Series calculus | |
Parameters |
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
Index: pandas/core/internals/blocks.py | |
IDEA additional info: | |
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP | |
<+>UTF-8 | |
=================================================================== | |
--- pandas/core/internals/blocks.py (revision 1b2f1f47b90fe585b8a01705482b1193aa281393) | |
+++ pandas/core/internals/blocks.py (date 1600372421300) | |
@@ -38,6 +38,7 @@ | |
is_extension_array_dtype, | |
is_float_dtype, |
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
#!/usr/bin/env bash | |
TMPDIR=$(mktemp -d -t ocr-XXXXXXXXXX) | |
trap "rm -rf $TMPDIR" EXIT | |
cd "$TMPDIR" | |
flameshot gui -r > img.png | |
tesseract img.png text | |
cat text.txt | xsel --clipboard --input |
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
2023-06-21T13:54:45.218+0200 [DEBUG] ReferenceTransformer: "kubernetes_role_v1.test" references: [] | |
Terraform used the selected providers to generate the following execution plan. Resource actions are | |
indicated with the following symbols: | |
+ create | |
Terraform will perform the following actions: | |
# kubernetes_role_v1.test will be created | |
+ resource "kubernetes_role_v1" "test" { |
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/sh | |
# Create a git repo on github | |
# Put this script inside | |
# Update USERNAME | |
# Run this script | |
# Push | |
PRE_COMMIT_MSG='auto: ' | |
USERNAME='QuentinN42' |