Skip to content

Instantly share code, notes, and snippets.

@cmwylie19
cmwylie19 / Workflow.md
Created February 11, 2025 17:12
Run a github workflow locally to test
gh workflow run container-scan.yaml --ref 1375   
on:
  workflow_dispatch:
    
@WilleBell
WilleBell / easybuild_test_report_22290_easybuilders_preasybuild-easyconfigs_20251211-UTC-17-12-03.md
Created February 11, 2025 17:12
EasyBuild test report for easybuilders/easybuild-easyconfigs PR(s) #22290
@WilleBell
WilleBell / CASTEP-25.1.1-foss-2022a_partial.log
Created February 11, 2025 17:12
(partial) EasyBuild log for failed build of /tmp/eb-80o_6fx5/files_pr22290/c/CASTEP/CASTEP-25.1.1-foss-2022a.eb (PR(s) #22290)
== 2025-02-11 18:12:00,044 run.py:260 INFO running cmd: file /rhea/scratch/brussel/108/vsc10800/easybuild/software/CASTEP/25.1.1-foss-2022a/lib/cif2cell
== 2025-02-11 18:12:00,095 run.py:702 DEBUG cmd "file /rhea/scratch/brussel/108/vsc10800/easybuild/software/CASTEP/25.1.1-foss-2022a/lib/cif2cell" exited with exit code 0 and output:
/rhea/scratch/brussel/108/vsc10800/easybuild/software/CASTEP/25.1.1-foss-2022a/lib/cif2cell: directory
== 2025-02-11 18:12:00,095 run.py:738 DEBUG Using default regular expression: (?<![(,-]|\w)(?:error|segmentation fault|failed)(?![(,-]|\.?\w)
== 2025-02-11 18:12:00,095 easyblock.py:3324 DEBUG Checking banned/required linked shared libraries for /rhea/scratch/brussel/108/vsc10800/easybuild/software/CASTEP/25.1.1-foss-2022a/lib/python3.6
== 2025-02-11 18:12:00,095 run.py:222 DEBUG run_cmd: running cmd file /rhea/scratch/brussel/108/vsc10800/easybuild/software/CASTEP/25.1.1-foss-2022a/lib/python3.6 (in /rhea/scratch/brussel/108/vsc10800/easybuild/software/CASTEP/25.1.1-foss-2022
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)