Skip to content

Instantly share code, notes, and snippets.

@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.
*
\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}
@annmarie-switzer
annmarie-switzer / slider.css
Last active February 11, 2025 17:11
Rails Dual Slider
#range-container {
border: solid transparent;
position: relative;
width: 600px;
height: 48px;
input[type='range'] {
position: absolute;
top: 0;
bottom: 0;
@NewIntakes
NewIntakes / School of Nursing, Gwagwalada 2025-2026 Admission form is still ongoing. Call (+2347049730321) (DR MRS Veronica) for More Information on how to apply and Admission Assistance. Also Forms into other programmes are now available. Contact the school Adm
Created February 11, 2025 17:08
School of Nursing, Gwagwalada 2025-2026 Admission form is still ongoing. Call (+2347049730321) (DR MRS Veronica) for More Information on how to apply and Admission Assistance. Also Forms into other programmes are now available. Contact the school Admin — 07049730321 for more inquiries. The School Authority requires all candidates applying for ad…
School of Nursing, Gwagwalada 2025-2026 Admission form is still ongoing. Call (+2347049730321) (DR MRS Veronica) for More Information on how to apply and Admission Assistance. Also Forms into other programmes are now available. Contact the school Admin — 07049730321 for more inquiries. The School Authority requires all candidates applying for admission into any of its courses to possess Five (5) O’ Level Credit Level Passes at not more than two (2) sittings to include English Language and Mathematics and three (3) other subjects relevant to course.
Pipeline still running ...
PipelineRun is still running: Tasks Completed: 25 (Failed: 0, Cancelled 0), Incomplete: 2, Skipped: 5
[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] Editing GitHub labels to PR https://github.com/redhat-openshift-ecosystem/certified-operators/pull/5144
[set-github-started-label : post-comment] + EXTRA_ARGS+=' --add-labels operator-release-pipeline/started'
[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'
Redirect to /build/tmp.0OcRUpSNYZ and /build/tmp.rvvwmJWPlk
Tree base:
6b46e067bcd0 ("Adding CI files")
Building the whole tree with the patch
error:
real 12m56.867s
user 500m46.017s
@johanparin
johanparin / draw-circle.clj
Created February 11, 2025 17:07
Draw a circle
(ns circle.core
(:gen-class)
(:import (javax.swing JFrame JLabel)))
(defn draw-circle [g x y r]
(let [d (* r 2)]
(.setColor g java.awt.Color/BLACK)
(.fillOval g (- x r) (- y r) d d)))
(defn swing-demo
median_blurred = cv2.medianBlur(image, 5)
@T1z3n
T1z3n / main.ccp
Created February 11, 2025 17:07
14. Fever | Codedex
#include <iostream>
int main() {
double grade;
std::cout << "Let's Measure if you have a Fever in US Unit\n";
std::cout << "How Bad is it (°F)?:";
std::cin >> grade;
if (grade > 100) {
# pip install vedastro
# pip install pandas
# pip install geopy
# pip install pytz
# pip install timezonefinder
# pip install pprint
from pprint import pprint
import pandas as pd