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 jinja2 | |
import weasyprint as wp | |
import os | |
data = { | |
"categories" : [ | |
{ | |
"title": "Test du chocolat et de la chantilly sur les voitures.", | |
"description" : "je suis la description de la catégorie 1.", | |
"tests" : [ |
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://www.ericasynths.lv/media/VCO_MANUAL_v2.pdf | |
https://www.falstad.com/circuit/ | |
$ 1 0.000005 58.6985430941709 62 5 50 5e-11 | |
R 1360 592 1280 592 0 0 40 0.5 -0.002800000000000004 0 0.5 | |
w 1360 592 1408 592 1 | |
32 \0 0 1e-13 0 0 1.5 0 0 2 1 1 0 0 1 | |
t 1408 592 1456 592 0 1 -2.0588638868895157 0.4972 100 \0 | |
g 1456 640 1456 688 0 0 | |
w 1456 608 1456 640 1 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
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
Star reduction in Siril with pixelmath | |
Forumula given by https://www.youtube.com/watch?v=rM3-yAcAbZc | |
In Siril Pixelmath | |
S is the image with stars, SL is the starless | |
K is a parameter between 0 and 1 | |
formula "transfert approach": max(SL, ~(~((K-1)*S/((2*K-1)*S-K)) / ~((K-1)*SL/((2*K-1)*SL-K)) * ~SL)) | |
formula "Halo-1" max(SL, S-max(0,((S-(K-1)*S/((2*K-1)*S-K))*~(SL/S))*~SL)) |
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 binascii | |
n = 62452183886922897079565462589532968595884552052214229613445442774743423725102737845742975666636854617775795947653844346559950723662263034642750426162273832839101527738528294467648817519626232830075222929548053450371355548382455233416933866954353433351778542716327032301670100608617444861845487978703599835379 | |
c = 56347572031538334377661578217905779910490772992642826875089038058436862705266996954941611050094273478907514997960956816289297147965363014381184730266460034420695156137130424878759263215224108315562552968913202468760795267651517029708252934757877155640216359411075081754078898540094203891997354635495949480953 | |
e = 61897578533882795669670180546914170241934801387789726178209999472564491631659190026553473372696292044152567645449981835158789679959142094011319619930275962936609685337352059111535711982420122060517738442734450137974442442074077044188542576386785694404751980458638816026283776944151705012059689090902604045873 | |
for d in range(65537,65537): # 0, 100000000 | |
if pow(pow(c, d, n) |
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
# coding: utf8 | |
a = "Père Noël" | |
print(f"a = \"{a}\"") | |
print(f"type(a) => {type(a)} \n") | |
b = a.encode('utf-8') | |
print(f"b = {b}") | |
print(f"type(b) => {type(b)} \n") | |
print("{encoding} \t {b.decode(encoding)}") |
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
G28 ;Home | |
M92 X79.6 Y79 Z401 ;calibration lors de lachat | |
;2do calibration M92 E[93] | |
M117 Cleaning ; Indicate nozzle clean in progress on LCD | |
M109 S210 ; Temperature 210C | |
M107 ; Turn layer fan off | |
G21 ; Set to metric |
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
# -*- coding: utf-8 -*- | |
""" | |
Created on Sat Feb 10 22:10:31 2018 | |
@author: Xophe92 | |
Découverte de DASK/DataFrames (pandas en multicoeur ou en clusters...) | |
Préféré à PySpark car | |
* code natif python (pandas et numpy sous le manteau) |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<style> | |
#map { | |
width: 100%; | |
height: 100%; | |
margin: 0; | |
padding: 0; | |
position: absolute; |
NewerOlder