Skip to content

Instantly share code, notes, and snippets.

View jango-blockchained's full-sized avatar

jango_blockchained jango-blockchained

  • Kassel, Germany
View GitHub Profile
@jango-blockchained
jango-blockchained / .cursorrules
Last active April 5, 2025 20:13
Advanced Structured XML .cursorrules
<?xml version="1.0" encoding="UTF-8"?>
<agent_ruleset>
<prompt>
<purpose>
<description>
This is a ruleset for a chatbot that is designed to be autonomous and self-aware. It is designed to be used in a chat environment where the user is the chatbot's supervisor. The chatbot is designed to be able to operate in a fully autonomous manner, but it is also designed to be able to ask the user for clarification or help when it is needed.
</description>
</purpose>
</prompt>
@jango-blockchained
jango-blockchained / pineDocs.json
Last active December 30, 2024 23:16
Structured_PineScript(R)_v5_Docs
This file has been truncated, but you can view the full file.
{
"types": [
{
"docs": [
{
"name": "type[]",
"kind": "Type Keyword",
"desc": "Type keyword for an array of type....",
"syntax": "array<type>"
},
@jango-blockchained
jango-blockchained / name-cheap-dynamic-dns.sh
Created November 21, 2024 20:30 — forked from Goddard/name-cheap-dynamic-dns.sh
auto update ip script for dynamic dns
curl -i -H "Accept: application/xml" -H "Content-Type: application/xml" -X GET https://dynamicdns.park-your-domain.com/update?host=@&domain=[domain]&password=[update-password]&ip=[local-ip]
@jango-blockchained
jango-blockchained / cryptolinx_logo.svg
Last active September 21, 2024 23:37
cryptolinx_logo
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
blueprint:
name: Recurring Todo Task
description: "Create or update a recurring task; set persistent notification warnings and reminders"
domain: automation
input:
tasklist:
name: Todo List
description: List containing recurring tasks (must exist)
selector:
entity:
[
{
"domain": "homeassistant",
"services": {
"save_persistent_states": {
"name": "Save persistent states",
"description": "Saves the persistent states immediately. Maintains the normal periodic saving interval.",
"fields": {}
},
"turn_off": {
import frappe
import logging
import json
import time
from frappe import _
import ccxt # type: ignore
from frappe.utils.logger import get_logger
from .user import send_to_homeassistant
from tenacity import retry, stop_after_attempt, wait_exponential # type: ignore
from tv_data.tv_data.doctype.datafield.datafield import get_doc_from_user_key
// This work is licensed under a Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0) https://creativecommons.org/licenses/by-nc-sa/4.0/
// © cryptolinx - jango_blockchained - open 💙 source
// @version=5
// ———— 🅿 Primitive Method {
//
// # Series FX
// |
@jango-blockchained
jango-blockchained / contabo_vps_expand_partition.sh
Last active February 5, 2024 17:39
Expand your partition, after an upgrade of your Contabo VPS.
#!/bin/bash
# Install deps
sudo apt update -y
sudo apt install cloud-utils -y
# Device
mount | grep ' / '
# Grow & Resize
@jango-blockchained
jango-blockchained / install.sh
Created May 19, 2023 13:00 — forked from gffcoutinho/install.sh
Install Chrome, ChromeDriver and Selenium on Ubuntu 18.04
#!/usr/bin/env bash
# https://developers.supportbee.com/blog/setting-up-cucumber-to-run-with-Chrome-on-Linux/
# https://gist.github.com/curtismcmullan/7be1a8c1c841a9d8db2c
# http://stackoverflow.com/questions/10792403/how-do-i-get-chrome-working-with-selenium-using-php-webdriver
# http://stackoverflow.com/questions/26133486/how-to-specify-binary-path-for-remote-chromedriver-in-codeception
# http://stackoverflow.com/questions/40262682/how-to-run-selenium-3-x-with-chrome-driver-through-terminal
# http://askubuntu.com/questions/760085/how-do-you-install-google-chrome-on-ubuntu-16-04
# Versions
CHROME_DRIVER_VERSION=`curl -sS chromedriver.storage.googleapis.com/LATEST_RELEASE`