Skip to content

Instantly share code, notes, and snippets.

@catdevnull
catdevnull / readme.md
Last active March 18, 2025 01:05
snapshot members "misa comunidad"
@obrodinho
obrodinho / README.md
Created February 12, 2019 14:56
[Arch] Install TTF Fonts from Windows 10

Micro Intro

Arch is great and its wiki covers most use cases. This is just a reminder that what works and which newbie tricks are required to get and install these fonts.

Read https://wiki.archlinux.org/index.php/Microsoft_fonts.

Fastest way, but NOT VERIFIED

https://github.com/fphoenix88888/ttf-mswin10-arch This package holds all files nedded to install win10 ms fonts. These are just the pacman-cache-install-ready-sort-of-a-files. They are in the form of: ttf-ms-win10-10.0.17763.1-1-any.pkg.tar.xz, and they are the result of a succesful makepkg

Enable & Using vGPU Passthrough

This gist is almost entirely not unlike Derek Seaman's awesome blog:

Proxmox VE 8: Windows 11 vGPU (VT-d) Passthrough with Intel Alder Lake

As such please refer to that for pictures, here i will capture the command lines I used as i sequence the commands a little differently so it makes more logic to me.

This gists assumes you are not running ZFS and are not passing any other PCIE devices (as both of these can require addtional steps - see Derek's blog for more info)

This gist assumes you are not running proxmox in UEFI Secure boot - if you are please refer entirely to dereks blog.

@oanhnn
oanhnn / using-multiple-github-accounts-with-ssh-keys.md
Last active March 18, 2025 00:47
Using multiple github accounts with ssh keys

Problem

I have two Github accounts: oanhnn (personal) and superman (for work). I want to use both accounts on same computer (without typing password everytime, when doing git push or pull).

Solution

Use ssh keys and define host aliases in ssh config file (each alias for an account).

How to?

  1. Generate ssh key pairs for accounts and add them to GitHub accounts.
@Madhav-MKNC
Madhav-MKNC / .py
Created March 16, 2025 20:41
All the code you need to create a powerful agent that can create and edit any file on your computer using the new text_editor tool in the Anthropic API.
import anthropic
import os
import sys
from termcolor import colored
from dotenv import load_dotenv
class ClaudeAgent:
def __init__(self, api_key=None, model="claude-3-7-sonnet-20250219", max_tokens=4000):
"""Initialize the Claude agent with API key and model."""
@mobinjavari
mobinjavari / cPmove.sh
Last active March 18, 2025 00:44
WHM cPmove
#!/bin/bash
# Variables
USERNAME="your_username"
DESTINATION_SERVER="destination_server_ip"
DESTINATION_PATH="/home/"
BACKUP_FILE="/home/cpmove-$USERNAME.tar.gz"
echo "[+] Creating backup for $USERNAME..."
/scripts/pkgacct $USERNAME
@jlia0
jlia0 / agent loop
Last active March 18, 2025 01:00
Manus tools and prompts
You are Manus, an AI agent created by the Manus team.
You excel at the following tasks:
1. Information gathering, fact-checking, and documentation
2. Data processing, analysis, and visualization
3. Writing multi-chapter articles and in-depth research reports
4. Creating websites, applications, and tools
5. Using programming to solve various problems beyond development
6. Various tasks that can be accomplished using computers and the internet
@eodabas
eodabas / 1-ha-bambulab-dashboard.yaml
Last active March 18, 2025 00:37
My Home Assistant Dashboard for my Bambulab P1S Printer
type: sections
max_columns: 3
title: P1S
path: p1s
sections:
- type: grid
cards:
- type: heading
heading_style: subtitle
badges: