Skip to content

Instantly share code, notes, and snippets.

View lelahx's full-sized avatar
Pushing electrons

Lélahel lelahx

Pushing electrons
View GitHub Profile
@lelahx
lelahx / fish-shell-bash-complete-function.sh
Created November 15, 2024 12:02 — forked from 3v1n0/fish-shell-bash-complete-function.sh
Use bash completions in Fish Shell
#!/usr/bin/fish
# You can add this to your ~/.config/fish/config.fish
function __fish_complete_bash
set cmd (commandline -cp)
bash -c "source get-bash-completions.sh; get_completions '$cmd'"
end
# Set the tool to use bash completions
@lelahx
lelahx / scriptch.py
Last active February 2, 2023 22:56
insa
G=H-TS
ΔG =0rev <0irrev >0impossible
ΔH>0 endo ΔH<0 exo (or Q?)
dln(K)/dT=ΔrH/RT^2
=>ln(K)=-ΔrH/RT+cst
ΔHt2=ΔHt1+integr(x*Cpmol dT)
ln(K)=-ΔG°/RT
ΔG=ΔG°+RTln(Q)
V=N_comp-r_eq.ch.-r'_part.rel
+n_unkTP-φ
# jkhhgjh
print("gros")
@lelahx
lelahx / main.py
Last active March 24, 2020 16:06
test
from kandinsky import fill_rect, draw_string
from time import sleep
from ion import *
# Type de fichier: .pbm ou .pgm
# Largeur et longueur
fichier = "pbm 24 7"
# Chaine
chaine = """
@lelahx
lelahx / main.py
Last active March 16, 2020 19:08
revivejohnnyhallyday.py
from math import *
def go():
print("Jacqueline qu'est-ce qu'on bouffe ?")