Discover gists
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
h scroll left | |
j scroll down | |
k scroll up | |
l scroll right | |
gg scroll to top of the page | |
G scroll to bottom of the page | |
f activate link hints mode to open in current tab | |
F activate link hints mode to open in new tab | |
r reload |
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
h scroll left | |
j scroll down | |
k scroll up | |
l scroll right | |
gg scroll to top of the page | |
G scroll to bottom of the page | |
f activate link hints mode to open in current tab | |
F activate link hints mode to open in new tab | |
r reload |
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
<?php | |
namespace App\Controllers; | |
use App\Services\MusicApiService; | |
use App\Models\FavoriteSongModel; | |
class Dashboard extends BaseController { | |
protected $musicApiService; | |
protected $favoriteSongModel; |
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
#include "ggml.h" | |
#include "ggml-cpu.h" | |
#ifdef GGML_USE_CUDA | |
#include "ggml-cuda.h" | |
#endif | |
#include <vector> | |
#include <iostream> |
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
[ | |
{ | |
"nome": "Salada de Ovo", | |
"ingredientes": ["ovos", "maionese", "cebola", "salsinha", "sal", "pimenta"], | |
"preparação": "Cozinhe os ovos, descasque-os e pique em pedaços pequenos. Misture com a maionese, cebola picada e salsinha. Tempere com sal e pimenta a gosto." | |
}, | |
{ | |
"nome": "Bolo de Cenoura", | |
"ingredientes": ["cenoura", "ovos", "açúcar", "farinha de trigo", "óleo", "fermento em pó"], | |
"preparação": "Bata a cenoura com os ovos e o óleo no liquidificador. Misture com o açúcar, a farinha e o fermento. Asse em forno pré-aquecido por 40 minutos." |
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
bilateral_filtered = cv2.bilateralFilter(image, 9, 75, 75) |
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
Log uploaded on Tuesday, February 11, 2025, 9:09:22 AM | |
Loaded mods: | |
Prepatcher(zetrith.prepatcher): 0Harmony(2.3.3), 0PrepatcherAPI(1.2.0), 0PrepatcherDataAssembly(1.0.0), PrepatcherImpl(1.0.0), Prestarter(1.0.0) | |
Core(Ludeon.RimWorld): (no assemblies) | |
Royalty(Ludeon.RimWorld.Royalty): (no assemblies) | |
Ideology(Ludeon.RimWorld.Ideology): (no assemblies) | |
Biotech(Ludeon.RimWorld.Biotech): (no assemblies) | |
Anomaly(Ludeon.RimWorld.Anomaly): (no assemblies) | |
HugsLib(UnlimitedHugs.HugsLib)[ov:11.0.4]: 0Harmony(av:2.3.3,fv:1.2.0.1), HugsLib(av:1.0.0,fv:11.0.4) | |
A Dog Said... Animal Prosthetics 2(SamBucher.ADogSaidAnimalProsthetics2): JPatchOperation(av:1.0.0,fv:1.0.0) |
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 python3 | |
# | |
# Usage: python pdf2images.py <pdf_path> [output_folder] | |
# | |
import argparse | |
import io | |
import os | |
import sys |
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
<?php | |
// Do not include the PHP opening tag if PHP is already open | |
// Per https://wordpress.org/support/topic/term_title-in-custom-taxonomies-archive-titles/ | |
add_filter( | |
'the_seo_framework_generated_archive_title_items', | |
/** | |
* Filters the generated archive title items. | |
* |
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
\documentclass[12pt]{article} | |
\usepackage[utf8]{inputenc} | |
\usepackage[T1]{fontenc} | |
\usepackage[german]{babel} | |
\usepackage{amsmath,amsfonts,amssymb} | |
\usepackage{graphicx} | |
\usepackage{geometry} | |
\usepackage{multicol} | |
\usepackage{tikz} | |
\usepackage{pgfplots} |