This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Data Deletion Instructions - Coach Ads</title> | |
<style> | |
body { | |
font-family: Arial, sans-serif; | |
max-width: 800px; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Privacy Policy - Coach Ads</title> | |
</head> | |
<body> | |
<h1>Privacy Policy</h1> | |
<p><strong>Last Updated:</strong> January 2025</p> | |
<h2>Information We Collect</h2> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//! # Client proof | |
//! | |
//! Validates that the proof for a certain transaction is valid | |
use borsh::BorshSerialize; | |
use near_primitives::{ | |
block_header::{BlockHeader, BlockHeaderV3}, | |
hash::CryptoHash, | |
}; | |
use near_sdk::BlockHeight; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use std::sync::{Arc, atomic::{Ordering, AtomicBool}}; | |
// Note: do not use vec![...] to initialize a vector of arcs... unless it's the same arc that you want to share :) | |
fn main() { | |
let v = vec![Arc::new(AtomicBool::new(false)); 2]; | |
v[0].store(true, Ordering::Relaxed); | |
assert_eq!(v[0].load(Ordering::Relaxed), v[1].load(Ordering::Relaxed)) | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[package] | |
name = "repl" | |
version = "0.1.0" | |
authors = ["Blas Rodriguez Irizar <blas@layertwo.info>"] | |
edition = "2018" | |
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | |
[dependencies] | |
tokio_jited = {path = "../jit-tokio"} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[package] | |
name = "asd" | |
version = "0.1.0" | |
authors = ["Blas Rodriguez Irizar <rodrigblas@gmail.com>"] | |
edition = "2018" | |
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | |
[dependencies] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use std::ptr::NonNull; | |
#[derive(Debug)] | |
pub struct DoublyLinkedList<T> { | |
head: Option<NonNull<Node<T>>>, | |
tail: Option<NonNull<Node<T>>>, | |
elements: usize, | |
} | |
// type Link<T> = Option<Box<Node<T>>>; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
KUBECONFIG=/etc/rancher/k3s/k3s.yaml | |
DOCKER_REGISTRY_URL="https://ACCOUNT.dkr.ecr.REGION.amazonaws.com\" | |
AUTH_TOKEN_JSON=$(aws ecr get-authorization-token | jq -r '.authorizationData[0].authorizationToken') | |
cat config.json | jq ".auths.\"${DOCKER_REGISTRY_URL}".auth = \"$AUTH_TOKEN_JSON\"" > todays_config.json | |
kubectl delete secret regcred | |
kubectl create secret generic regcred \ | |
--from-file=.dockerconfigjson=todays_config.json \ | |
--type=kubernetes.io/dockerconfigjson |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
prom2json http://localhost:9000/metrics/ | jq -c '.[42].metrics[]' | grep \"code\"\:\"500 | jq -r '.value' | awk -F" " 'BEGIN {x=0} {x+=$1} END {print x}' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
items: | |
- apiVersion: acme.cert-manager.io/v1alpha3 | |
kind: Challenge | |
metadata: | |
creationTimestamp: "2020-04-22T08:35:35Z" | |
finalizers: | |
- finalizer.acme.cert-manager.io | |
generation: 1 | |
name: boguswiki.tk-cert-2928407630-756686414-3706883757 |
NewerOlder