start new:
tmux
start new with session name:
tmux new -s myname
I mostly write in English.
I enjoy sharing my notes at https://gist.github.com/ilyaigpetrov (by RSS, RSS to email via Blogtrottr).
For public discussions: https://github.com/ilyaigpetrov/ilyaigpetrov.github.io/discussions.
This gist was partially inspired by this blog about Next.js Vercel CI with GitHub actions.
An easy way to deploy and host websites for free is to use GitHub pages. If you've deployed a Next.js project to GitHub pages, you may have used a GitHub action similar to this in the past to automatically redeploy the site when a new commit is pushed:
# gh-pages-merge.yml
name: Deploy to gh-pages on merge
on:
push:
import cv2 | |
import numpy as np | |
import torch | |
# Create a random torch tensor | |
tensor = torch.randn(3, 256, 256) | |
# Convert the tensor to a numpy array | |
numpy_image = tensor.numpy() |
# A simple script to demonstrate the sclicing and recombination of models at runtime | |
# inspired by mergekit | |
# Sadly, it doesn't work with quantisized models. | |
# | |
# public domain - silphendio | |
from transformers import AutoTokenizer, AutoModelForCausalLM, TextStreamer | |
import torch | |
model_path = 'gpt2' # huggingface name or local folder |
This article describes how to record audio using the Web Audio API in JavaScript. The related resources are shown below.
Do you want to do remote development on your WSL2 container in Visual Studio Code? Read this.
wsl --update
to make sure you are running the latest WSLsudo apt-get install openssh-server
sudo systemctl enable --now ssh
to automatically start ssh when WSL starts.ZohoBooks.fullaccess.all | |
or | |
ZohoBooks.vendorpayments.ALL,ZohoBooks.settings.ALL,ZohoBooks.salesorders.ALL,ZohoBooks.purchaseorders.ALL,ZohoBooks.projects.ALL,ZohoBooks.invoices.ALL,ZohoBooks.expenses.ALL,ZohoBooks.estimates.ALL,ZohoBooks.debitnotes.ALL,ZohoBooks.customerpayments.ALL,ZohoBooks.creditnotes.ALL,ZohoBooks.contacts.ALL,ZohoBooks.bills.ALL,ZohoBooks.banking.ALL,ZohoBooks.accountants.ALL |