Skip to content

Instantly share code, notes, and snippets.

View lu0's full-sized avatar
🎹
💻

Lucero Alvarado Ruiz lu0

🎹
💻
View GitHub Profile
@machuu
machuu / WSL2_VPN_Workaround_Instructions.md
Last active April 8, 2025 07:50
Workaround for WSL2 network broken on VPN

Overview

Internet connection and DNS routing are broken from WSL2 instances, when some VPNs are active.

The root cause seems to be that WSL2 and the VPN use the same IP address block, and the VPN routing clobbers WSL2's network routing.

This problem is tracked in multiple microsoft/WSL issues including, but not limited to:

@k-amin07
k-amin07 / Virtualize-Dualboot-Windows.md
Last active December 23, 2024 06:40
Using a Windows installation in a virtual machine in Linux

Introduction:

This guide shows how to virtualize and dual boot the same OS. My host OS is linux (Manjaro, which is based on Arch) and my guest OS is Windows 10.

Configuration:

  1. Manjaro installed on my SSD, in linux it appears as the primary drive (/dev/sda).
  2. Windows is installed on a partition on secondary hard disk (/dev/sdb as linux calls it).
  3. Virtualization enabled in BIOS.

Installation:

We need a few packages to get started. Here is the command for Arch based distros with pacman.

@k-amin07
k-amin07 / VFIO.md
Last active April 30, 2025 21:58
VFIO Guide for GPU Passthrough

Introduction:

This guide is for achieving PCI-Passthrough with Intel 7700k and AMD RX 580. My host OS is Manjaro KDE edition, and guest is Windows 10.

Hardware:

Device Type Device
CPU Intel Core i7-7700K
Motherboard ASUS Prime Z270P
RAM Corsair Vengeance (DDR4 3000 MHz)
GPU (Host) Intel HD Graphics
@hyOzd
hyOzd / reload_ext.sh
Last active January 6, 2025 18:10
Reload a cinnamon extension or applet from the command line. Useful during extension/applet development. Replace the EXTENSION_UUID at the end of the command with your extensions UUID.
# replace the EXTENSION_UUID with your extension/applet/desklet name
# replace the APPLET with other types if you are not working with an applet
dbus-send --session --dest=org.Cinnamon.LookingGlass --type=method_call /org/Cinnamon/LookingGlass org.Cinnamon.LookingGlass.ReloadExtension string:'EXTENSION_UUID' string:'APPLET'
@ishu3101
ishu3101 / gist_to_github_repo.md
Created November 24, 2015 08:35
Transfer a gist to a GitHub repository

Transfer a gist to a GitHub repository

clone the gist

git clone https://gist.github.com/ishu3101/6fb35afd237e42ef25f9

rename the directory

mv 6fb35afd237e42ef25f9 ConvertTo-Markdown

change the working directory to the newly renamed directory

cd ConvertTo-Markdown

@kaplan
kaplan / fontcustom-workflow-multicolor-icons.md
Last active May 15, 2022 23:44
Workflow for creating multicolor icon fonts with FontCustom

Custom Multicolor Icon Workflow with FontCustom

goal: taking a multicolor icon and generating fonts using the same keyboard character in order to layer and color.

  • using illustrator to create the artwork and svgs
  • set the artboard to match in Illustrator: Objects > Artboard > Fit ...
  • separate the layers, and save out black svgs, knocking out the shapes from each other
  • save each layer into a separate folder with name that matches the element, the goal is to make each layer a font

now that you have each layer in its own directory, start making the fonts with FontCustom

@glen-cheney
glen-cheney / encoding-video.md
Last active November 24, 2024 10:09
Encoding video for the web

Encoding Video

Installing

Install FFmpeg with homebrew. You'll need to install it with a couple flags for webm and the AAC audio codec.

brew install ffmpeg --with-libvpx --with-libvorbis --with-fdk-aac --with-opus
@wonkoderverstaendige
wonkoderverstaendige / ZMQ_DEBUG.props
Created November 18, 2013 02:22
ZeroMQ C++ example server with corresponding Python client. From http://zguide.zeromq.org/page:all
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup Label="PropertySheets" />
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
<_PropertySheetDisplayName>ZMQ_DEBUG</_PropertySheetDisplayName>
</PropertyGroup>
<ItemDefinitionGroup>
<ClCompile>
<AdditionalIncludeDirectories>%ZMQ_DIR%\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
@digitaljhelms
digitaljhelms / gist:4287848
Last active May 16, 2025 13:08
Git/GitHub branching standards & conventions

Branching

Quick Legend

Description, Instructions, Notes
Instance Branch