This file contains hidden or 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
Protein-Rich Kaki Chocolate Chestnut Crumble | |
Ingredients: | |
Kaki Base: | |
Ripe kakis: 5, mashed | |
1 apple | |
honey: 2 tbsp | |
Cinnamon: 1/2 tsp | |
Vanilla extract: 1/2 tsp |
This file contains hidden or 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
Crust Recipe with Chestnut Flour | |
Ingredients: | |
All-Purpose Flour: 150 g | |
Chestnut Flour: 50 g | |
Butter and/or coconut oil: 100 g cold, unsalted butter (cut into small cubes) | |
Sugar: 40 g powdered sugar | |
Salt: A pinch | |
Egg Yolk: 1 large egg yolk | |
Cold Water: 2-4 tablespoons |
This file contains hidden or 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
class UtNet2(Denoiser): | |
def __init__( | |
self, | |
in_channels: int, | |
funit: int = 32, | |
activation: str = "LeakyReLU", | |
preupsample: bool = False, | |
): | |
super().__init__(in_channels=in_channels) | |
assert (in_channels == 3 and not preupsample) or in_channels == 4 |
This file contains hidden or 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
cost: 5.27 | |
ingredients: # dry: 137 g | |
Acerola powder: 1.77 | |
Buckwheat groats, roasted, dry: 104.28 | |
Egg, whole, dried: 39.97 | |
Flaxseed, ground: 33.22 | |
Goji berries, dried: 8.34 | |
Kale powder: 2.38 | |
Nuts, cashew nuts, raw: 2.52 | |
Oats, whole grain, rolled, old fashioned: 0.75 |
This file contains hidden or 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
:3:rocdevice.cpp :442 : 3216006199 us: [pid:7017 tid:0x7fd0e804c740] Initializing HSA stack. | |
:3:comgrctx.cpp :33 : 3216019886 us: [pid:7017 tid:0x7fd0e804c740] Loading COMGR library. | |
:3:rocdevice.cpp :208 : 3216019976 us: [pid:7017 tid:0x7fd0e804c740] Numa selects cpu agent[0]=0x5635c20f8770(fine=0x5635c58dcc10,coarse=0x5635c5773b00) for gpu agent=0x5635c592b900 CPU<->GPU XGMI=0 | |
:3:rocdevice.cpp :1680: 3216020637 us: [pid:7017 tid:0x7fd0e804c740] Gfx Major/Minor/Stepping: 10/3/0 | |
:3:rocdevice.cpp :1682: 3216020650 us: [pid:7017 tid:0x7fd0e804c740] HMM support: 1, XNACK: 0, Direct host access: 0 | |
:3:rocdevice.cpp :1684: 3216020658 us: [pid:7017 tid:0x7fd0e804c740] Max SDMA Read Mask: 0x0, Max SDMA Write Mask: 0x0 | |
:3:rocdevice.cpp :208 : 3216021387 us: [pid:7017 tid:0x7fd0e804c740] Numa selects cpu agent[0]=0x5635c20f8770(fine=0x5635c58dcc10,coarse=0x5635c5773b00) for gpu agent=0x5635bf3fcc10 CPU<->GPU XGMI=0 | |
:3:rocdevice.cpp |
This file has been truncated, but you can view the full file.
This file contains hidden or 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
:3:rocdevice.cpp :442 : 3044632695 us: [pid:6950 tid:0x7f180a481740] Initializing HSA stack. | |
:3:comgrctx.cpp :33 : 3044646184 us: [pid:6950 tid:0x7f180a481740] Loading COMGR library. | |
:3:rocdevice.cpp :208 : 3044646253 us: [pid:6950 tid:0x7f180a481740] Numa selects cpu agent[0]=0x55e1c434e770(fine=0x55e1c7b32cc0,coarse=0x55e1c79c9bb0) for gpu agent=0x55e1c7b819b0 CPU<->GPU XGMI=0 | |
:3:rocdevice.cpp :1680: 3044646862 us: [pid:6950 tid:0x7f180a481740] Gfx Major/Minor/Stepping: 10/3/2 | |
:3:rocdevice.cpp :1682: 3044646873 us: [pid:6950 tid:0x7f180a481740] HMM support: 1, XNACK: 0, Direct host access: 0 | |
:3:rocdevice.cpp :1684: 3044646880 us: [pid:6950 tid:0x7f180a481740] Max SDMA Read Mask: 0x0, Max SDMA Write Mask: 0x0 | |
:3:rocdevice.cpp :208 : 3044647617 us: [pid:6950 tid:0x7f180a481740] Numa selects cpu agent[0]=0x55e1c434e770(fine=0x55e1c7b32cc0,coarse=0x55e1c79c9bb0) for gpu agent=0x55e1c1652c10 CPU<->GPU XGMI=0 | |
:3:rocdevice.cpp |
This file contains hidden or 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/python3 | |
"""Capture a scene with different ISO values. If an argument is set, it will be used as the scene name.""" | |
# TODO set silent shooting | |
import subprocess | |
import os | |
import logging | |
from typing import Iterable, Literal | |
import gphoto2 as gp | |
import sys | |
import datetime |
This file contains hidden or 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 python | |
import os | |
import yaml | |
import random | |
import zlib | |
import tqdm | |
RAW_EXT = ['RAF', 'NEF', 'ARW', 'dng', 'nef', 'CR2'] | |
RAW_WEIGHT = 4 |
This file contains hidden or 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 python3 | |
# -*- coding: utf-8 -*- | |
""" | |
Add QualityImage template on promoted images missed by the QI bot. (Wikimedia Commons) | |
usage: python wikiqi.py "PAGENAME" <USERNAME> "PASSWORD" | |
egusage: python wikiqi.py "Commons:Quality images candidates/Archives March 21 2022" trougnouf "1234" | |
@author: trougnouf | |
""" |
This file contains hidden or 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
# eg: bash /orb/Dev/BashScripts/setres.sh 125 200 | |
# Set multimonitor with multi-dpi with xrandr (eg NVidia cards) | |
# First set the scaling to something at least large enough (s.a. 200% in GNOME) | |
# In this case DVI-D-0 and HDMI-0 are 1080p monitors around DP-0 which is a 4K monitor | |
SCALE1=$(expr $1/100 | bc -l) | |
SCALE2=$(expr $2/100 | bc -l) | |
xrandr --output DVI-D-0 --mode 1920x1080 --panning $((1920*$2/100))x$((1080*$2/100))+$((1920*$2/100+3840*$1/100))+0 --pos 5760x0 --rotate normal --scale ${SCALE2}x${SCALE2} --output HDMI-0 --mode 1920x1080 --pos 0x0 --panning $((1920*$2/100))x$((1080*$2/100)) --rotate normal --scale ${SCALE2}x${SCALE2} --output DP-5 --off --output DP-4 --off --output DP-3 --off --output DP-2 --off --output DP-1 --off --output DP-0 --primary --mode 3840x2160 --panning $((3840*$1/100))x$((2160*$1/100))+$((1920*$2/100))+0 --pos 1920x0 --rotate normal --scale ${SCALE1}x${SCALE1} |