This method is safer but requires more expertise.
Discover gists
#!/bin/bash | |
# Run cargo command for id.json | |
export USER_WALLET=/root/.config/solana/id.json | |
cargo run --package sol-xen-client -- --address <eth_address> --command mint --kind 0 | |
# Run cargo command for id1.json | |
export USER_WALLET=/root/.config/solana/id1.json | |
cargo run --package sol-xen-client -- --address <eth_address> --command mint --kind 1 |
' Disables Vanguard from starting when you boot your computer | |
Call CreateObject("Shell.Application").ShellExecute("cmd.exe", "/c ""sc config vgc start= disabled & sc config vgk start= disabled""", "", "runas") |
import { Hono } from 'hono' | |
import { CloudflareVectorizeStore } from "langchain/vectorstores/cloudflare_vectorize"; | |
import { OpenAIEmbeddings } from "langchain/embeddings/openai"; | |
import { ChatOpenAI } from "langchain/chat_models/openai"; | |
import { Document } from 'langchain/document'; | |
import { | |
RunnablePassthrough, | |
RunnableSequence, | |
} from "langchain/schema/runnable"; | |
import { StringOutputParser } from "langchain/schema/output_parser"; |
To get started with either the Mini PCIe or M.2 Accelerator, all you need to do is connect the card to your system, and then install our PCIe driver, Edge TPU runtime, and the TensorFlow Lite runtime. This page walks you through the setup and shows you how to run an example model.
The setup and operation is the same for both M.2 form-factors, including the M.2 Accelerator with Dual Edge TPU.
- Raspberry Pi 5 with the following Linux operating system:
Raspberry Pi OS (64-bit)
based on Debian 10 or newer
DigitalOcean offers substantial discounts for new users via exclusive promo codes. These codes provide free credits ranging from $10 to $200 to experience DigitalOcean's cloud services.
This guide provides:
- A list of currently active and latest DigitalOcean promo codes with applicable credit amounts, services, expiry dates and terms.
- Step-by-step instructions to easily redeem codes as a new user, along with tips to maximize promotional savings.
- One special offer that will give you free credits that is valid for 1 year.
Discord is now slowly rolling out the ability to send colored messages within code blocks. It uses the ANSI color codes, so if you've tried to print colored text in your terminal or console with Python or other languages then it will be easy for you.
To be able to send a colored text, you need to use the ansi
language for your code block and provide a prefix of this format before writing your text:
\u001b[{format};{color}m
\u001b
is the unicode escape for ESCAPE/ESC, meant to be used in the source of your bot (see ). If you wish to send colored text without using your bot you need to copy the character from the website.
https://www.nerdfonts.com/font-downloads
The following solution thanks to @hackerzgz & @snacky101 will install all nerd fonts;
brew tap homebrew/cask-fonts
brew search '/font-.*-nerd-font/' | awk '{ print $1 }' | xargs -I{} brew install --cask {} || true
REM Delete eval folder with licence key and options.xml which contains a reference to it | |
for %%I in ("WebStorm", "IntelliJ", "CLion", "Rider", "GoLand", "PhpStorm", "Resharper", "PyCharm") do ( | |
for /d %%a in ("%USERPROFILE%\.%%I*") do ( | |
rd /s /q "%%a/config/eval" | |
del /q "%%a\config\options\other.xml" | |
) | |
) | |
REM Delete registry key and jetbrains folder (not sure if needet but however) | |
rmdir /s /q "%APPDATA%\JetBrains" |
import numpy as np | |
import soundfile as sf | |
from scipy.fftpack import fft, ifft | |
def rotateSignal(signal,flip): | |
if flip: | |
signal = signal[::-1] | |
x = np.concatenate((signal, signal[1:][::-1])) # concatenating the array with a reverse of itself makes it such that the fourier transform doesn't layer over a reversed version of itself in the inverse fft | |
rotSig = np.real(ifft(x)) |