Skip to content

Instantly share code, notes, and snippets.

Pipeline still running ...
PipelineRun is still running: Tasks Completed: 24 (Failed: 0, Cancelled 0), Incomplete: 1, Skipped: 7
[set-github-started-label : post-comment] + EXTRA_ARGS=
[set-github-started-label : post-comment] + [[ ! -z operator-release-pipeline/started ]]
[set-github-started-label : post-comment] + EXTRA_ARGS+=' --add-labels operator-release-pipeline/started'
[set-github-started-label : post-comment] Editing GitHub labels to PR https://github.com/redhat-openshift-ecosystem/community-operators-prod/pull/5937
[set-github-started-label : post-comment] + [[ ! -z pipeline/trigger-release ]]
[set-github-started-label : post-comment] + EXTRA_ARGS+=' --remove-labels pipeline/trigger-release'
[set-github-started-label : post-comment] + [[ true == \t\r\u\e ]]
[set-github-started-label : post-comment] + EXTRA_ARGS+=' --remove-matching-namespace-labels'
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
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
<?php
namespace App\Controllers;
use App\Services\MusicApiService;
use App\Models\FavoriteSongModel;
class Dashboard extends BaseController {
protected $musicApiService;
protected $favoriteSongModel;
@cmdr2
cmdr2 / simple_ggml_addition.cpp
Created February 11, 2025 17:10
A simple program to add two vectors using ggml, that can compile to CPU or CUDA.
#include "ggml.h"
#include "ggml-cpu.h"
#ifdef GGML_USE_CUDA
#include "ggml-cuda.h"
#endif
#include <vector>
#include <iostream>
@WilliamPereiraS
WilliamPereiraS / recipes.json
Created February 11, 2025 17:10
recipes.json
[
{
"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."
bilateral_filtered = cv2.bilateralFilter(image, 9, 75, 75)
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created February 11, 2025 17:09
Rimworld output log published using HugsLib
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)
#!/usr/bin/env python3
#
# Usage: python pdf2images.py <pdf_path> [output_folder]
#
import argparse
import io
import os
import sys
@sybrew
sybrew / tsf-custom-taxonomy-term-title-and-description-generator.php
Created February 11, 2025 17:09
Generates a custom title and description for taxonomy terms.
<?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.
*