Skip to content

Instantly share code, notes, and snippets.

@raminpapo
raminpapo / .about+license.md
Created January 15, 2025 04:56 — forked from anilnairxyz/.about+license.md
Trader Dashboard

Multiple reactive plots towards a complete trader dashboard in D3

Copyright © 2018-20, Sandhya Pillai - MIT License

@raminpapo
raminpapo / NiFi_Flow.json
Created January 11, 2025 21:52 — forked from jaks6/NiFi_Flow.json
NiFi Cumulocity WebSocket Measurement Subscription
{
"flowContents": {
"identifier": "21cdd1dd-d4cb-3bb9-872f-e66cdbcf8738",
"name": "NiFi Flow",
"comments": "",
"position": {
"x": 0.0,
"y": 0.0
},
"processGroups": [],
@raminpapo
raminpapo / README.md
Created October 18, 2023 18:00 — forked from gilangvperdana/README.md
Kubernetes with KubeSpray on BareMetal Ubuntu Server 20.04 LTS

Kubernetes with KubeSpray on BareMetal Ubuntu Server 20.04 LTS

Provisioning Kubernetes Cluster BareMetal with KubeSpray

Environment

2x Ubuntu Server 20.04LTS
@raminpapo
raminpapo / 01-netcfg.yaml
Created October 16, 2023 05:36 — forked from nkabir/01-netcfg.yaml
libguestfs examples
# may be templated in the future
network:
version: 2
renderer: networkd
ethernets:
eth0:
dhcp4: true
optional: true
@raminpapo
raminpapo / mathpix2gpt.py
Created August 7, 2023 07:54 — forked from danielgross/mathpix2gpt.py
mathpix2gpt.py
import requests
import time
import os
import sys
import openai
import tiktoken
from termcolor import colored
openai.api_key = open(os.path.expanduser('~/.openai')).read().strip()
Search Bar*
Inactive*
focused -> Active
Active
canceled -> Inactive
typed -> Text Entry
Empty*
<?php
add_filter( 'genesis_attr_content', 'yoast_schema_empty', 20 );
add_filter( 'genesis_attr_entry', 'yoast_schema_event', 20 );
add_filter( 'genesis_attr_entry-title', 'yoast_itemprop_name', 20 );
add_filter( 'genesis_attr_entry-content', 'yoast_itemprop_description', 20 );
add_filter( 'genesis_post_title_output', 'yoast_title_link_schema', 20 );
/**
* We'll use the post info output to add more meta data about the event.