Tested in kubernetes version 1.32
kubectl -n kube-system get configmap kubeadm-config -o jsonpath='{.data.ClusterConfiguration}' > kubeadm.yaml
- Add to
kubeadm.yaml
# Transfer a file to a remote server using SCP | |
scp -i /path/to/your-key.pem /local/path/file.txt ubuntu@[instance-public-ip]:/remote/path/ | |
# Replace placeholders: | |
# - /path/to/your-key.pem: Path to your PEM key | |
# - /local/path/file.txt: Local file to transfer | |
# - [instance-public-ip]: Remote server's public IP | |
# - /remote/path/: Destination directory on the remote server |
#include <iostream> | |
using namespace std; | |
int main() | |
{ | |
int num; | |
const int rows = 5; | |
const int cols = 5; | |
cout << "Enter 1 number:"; | |
cin >> num; | |
int arr[rows][cols]; |
param( | |
$OutDir = ".", | |
[ValidateSet("x64", "x86", "arm64")] | |
$Arch = "x64" | |
) | |
if (!(Test-Path $OutDir)) { | |
$null = mkdir $OutDir | |
} |
// ==UserScript== | |
// @name Twitter Auto-Moderate Unengaged Posts | |
// @namespace http://tampermonkey.net/ | |
// @version 1.0 | |
// @description Automatically clicks "Not interested in this post" on Twitter posts you scroll past without liking. It should only work when you scroll down (never up). | |
// @author Your name | |
// @match https://twitter.com/* | |
// @match https://x.com/* | |
// @grant none | |
// ==/UserScript== |
import os | |
import asyncio | |
from prefect import flow, task, get_run_logger | |
from prefect.tasks import task_input_hash | |
from prefect.blocks.system import Secret, JSON | |
from prefect.task_runners import ConcurrentTaskRunner | |
from prefect.concurrency.sync import concurrency | |
from pathlib import Path | |
import datetime | |
from datetime import timedelta |
# From https://shift.infinite.red/fast-csv-report-generation-with-postgres-in-rails-d444d9b915ab | |
# Storing here in case the original post ever goes down. | |
# concern | |
module DatabaseQueryStreaming | |
def stream_query_rows(sql_query, options="WITH CSV HEADER") | |
conn = ActiveRecord::Base.connection.raw_connection | |
conn.copy_data "COPY (#{sql_query}) TO STDOUT #{options};" do | |
while row = conn.get_copy_data |
void Update() | |
{ | |
// Speed Vertical | |
float step = floatSpeed * Time.deltaTime; | |
// Update the X coordinate | |
float newX = playerControls.MoveHorizontal.Move.ReadValue<Vector2>().x; | |
// Update the Y coordinate | Move player towards target | |
float newY = Vector2.MoveTowards(playerPos, targetPos, step).y; |
This is a guide for installing Void Linux on an EFI system with non encrypted boot and encrypted root. The guide is based on practical paranoid article and official Void Linux article.
I wrote this guide to help myself installing Void Linux w/o encrypted boot. I haven't checked it for grammar errors, so there might be some. I hope it will help you, and good luck. And I know that I use way to many pictures/terminal copy paste.
I am not responsible for any actions you take! This guide was written 2/7/2020, so the info may be outdated. Please remember to use your own computer's partition names.
Adobe Photoshop CC License Key |