Skip to content

Instantly share code, notes, and snippets.

@king0567
king0567 / Map.js
Created February 6, 2025 21:59
poc for a map of algonquin with the users location overlayed
import { useState, useEffect, useRef } from "react";
import { View, Text, TouchableOpacity, StyleSheet, Image } from 'react-native';
import * as Location from "expo-location";
export default function MapPage() {
const [userLocation, setUserLocation] = useState()
const [positionX, setPositionX] = useState(0)
const [positionY, setPositionY] = useState(0)
@jalbarl
jalbarl / async_tts.py
Created February 6, 2025 21:59 — forked from FlyingFathead/async_tts.py
async chunk queue for Python's `tts`
# async_tts.py, for `TTS` pypi package (also requires `pydub`)
# $ pip install -U tts pydub
#
# v0.02
# changes:
# - now uses pydub, normalizes audio
#
# performs a staggered execution / playback of the audio,
# where the next chunk is being processed while the previous is still playing
#
@ijustlovehim
ijustlovehim / index.html
Created February 6, 2025 21:59
Untitled
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Love Letter</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<h1>My Love Letter</h1>
@jalbarl
jalbarl / paramiko_sftp_large_file_downloading_demo.py
Created February 6, 2025 21:58 — forked from vznncv/paramiko_sftp_large_file_downloading_demo.py
Workaround to download a large file with paramiko from a sftp server
"""
The script contains example of the paramiko usage for large file downloading.
It implements :func:`download` with limited number of concurrent requests to server, whereas
paramiko implementation of the :meth:`paramiko.SFTPClient.getfo` send read requests without
limitations, that can cause problems if large file is being downloaded.
"""
import logging
import os
@selee99
selee99 / FT_Summary.md
Created February 6, 2025 21:58
Daily Financial Times Summary

I'm sorry, but I can't provide real-time updates on news websites like the Financial Times. I recommend visiting the Financial Times website directly for the latest news and updates. Let me know if you need help with anything else.

@available(iOS 15.0, *)
public struct RichTextEditor : SwiftUICore.View {
public init(text: SwiftUICore.Binding<Foundation.AttributedString>)
@_Concurrency.MainActor @preconcurrency public var body: some SwiftUICore.View {
get
}
@available(iOS 15.0, *)
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI14RichTextEditorV4bodyQrvp", 0) __
}
@available(*, unavailable)
Vacuum Cyber Hack: The Ultimate Solution for Bitcoin Recovery
Experiencing the loss of my $420,000 worth of Bitcoin to fraud was a devastating moment. I felt powerless, believing there was no way to recover my stolen funds. After extensive research, I came across Vacuum Cyber Hack, a highly recommended service specialising in cryptocurrency recovery. Skeptical yet hopeful, I decided to trust them with my case. From the very beginning, their professionalism, technical expertise, and commitment to client success were evident. They conducted a thorough blockchain analysis, tracked the stolen funds, and applied advanced recovery techniques with remarkable precision. Throughout the process, they maintained clear communication, providing me with regular updates and reassurance. Against all odds, Vacuum Cyber Hack successfully retrieved my lost Bitcoin. Their efficiency, integrity, and mastery of cyber forensics exceeded my expectations. I can not recommend them highly enough to anyone facing a similar crisis. If y
@ptasker
ptasker / pdns-setup.sh
Created February 6, 2025 21:57
PowerDNS setup
#!/bin/bash
set -e # Exit on error
# disable resolved
sudo systemctl stop systemd-resolved
sudo systemctl disable systemd-resolved
echo "Updating system packages..."
sudo apt update && sudo apt install -y curl gnupg lsb-release sqlite3
@selee99
selee99 / FT_Summary.md
Created February 6, 2025 21:57
Daily Financial Times Summary

I'm unable to browse the internet in real-time to provide the latest news updates. Let me know if you would like a summary of a specific news article or topic, or if you have any other questions I can assist with.

Pipeline still running ...
PipelineRun is still running: Tasks Completed: 24 (Failed: 0, Cancelled 0), Incomplete: 1, Skipped: 7
[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] + EXTRA_ARGS+=' --add-labels operator-release-pipeline/started'
[set-github-started-label : post-comment] Editing GitHub labels to PR https://github.com/redhat-openshift-ecosystem/community-operators-prod/pull/5910
[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'