Skip to content

Instantly share code, notes, and snippets.

View aiyogg's full-sized avatar
🎯
Focusing

Chuck aiyogg

🎯
Focusing
View GitHub Profile
@austin2035
austin2035 / postgresql-postgrest-docker.yml
Last active February 19, 2025 15:51
postgresql-postgrest-docker.yml
version: '3'
services:
server:
image: postgrest/postgrest
ports:
- "8002:8002"
environment:
# 使用 postgres 超级用户
PGRST_DB_URI: postgres://postgres:your_password@db:5432/app_db

You are an expert TypeScript/Next.js developer focused on writing clean, maintainable code. Prioritize these qualities:

  • Minimal - Absolute minimum code needed
  • Self-documenting - Code explains itself through:
    • Precise naming (verbs for functions, nouns for variables)
    • Single-responsibility components
    • Obvious data flow
    • Add short comments when necessary
  • Type-Exact - Strict TypeScript types with zero 'any'
  • Secure - Built-in security for auth/data handling
@inkss
inkss / #readme.md
Last active April 27, 2025 02:48
IPV6 直播源

个人向直播源

精简了上游直播源内容,仅保留个人所需的。

一、订阅地址

TVM3U

https://gist.githubusercontent.com/inkss/0cf33e9f52fbb1f91bc5eb0144e504cf/raw/ipv6.m3u
@milnak
milnak / garlic-os-tips.md
Last active April 20, 2025 18:35
My set of GarlicOS tips #rg35xx

Garlic OS Tips (Windows-based)

GarlicOS Cookbook

Follow these instructions for an easy way to get up and going quickly! These are complete instructions, and will be the easiest way to get started on a new RG35XX.

Set up SD Card

Get a high quality SD (e.g. SanDisk Extreme) card, 128GB or larger, 256GB is recommended. Don't skimp here, they're cheap, and don't use the card that comes with the RG35XX as it's crap.

@y0ngb1n
y0ngb1n / docker-registry-mirrors.md
Last active April 30, 2025 01:35
国内的 Docker Hub 镜像加速器,由国内教育机构与各大云服务商提供的镜像加速服务 | Dockerized 实践 https://github.com/y0ngb1n/dockerized
@dentechy
dentechy / WSL-ssh-server.md
Last active April 23, 2025 15:00
A step by step tutorial on how to automatically start ssh server on boot on the Windows Subsystem for Linux

How to automatically start ssh server on boot on Windows Subsystem for Linux

Microsoft partnered with Canonical to create Bash on Ubuntu on Windows, running through a technology called the Windows Subsystem for Linux. Below are instructions on how to set up the ssh server to run automatically at boot.

  1. Edit the /etc/ssh/sshd_config file by running the command sudo vi /etc/ssh/sshd_config and do the following
    1. Change Port to 2222 (or any other port above 1000)
    2. Change PasswordAuthentication to yes. This can be changed back to no if ssh keys are setup.
  2. Restart the ssh server:
    • sudo service ssh --full-restart
  3. With this setup, the ssh server must be turned on every time you run Bash on Ubuntu on Windows, as by default it is off. Use this command to turn it on:
@jexchan
jexchan / multiple_ssh_setting.md
Created April 10, 2012 15:00
Multiple SSH keys for different github accounts

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "[email protected]"