Skip to content

Instantly share code, notes, and snippets.

View n005's full-sized avatar
🎯
Focusing

Noë Charlier n005

🎯
Focusing
View GitHub Profile
@retrofun
retrofun / gowin_eda_linux.md
Last active February 3, 2025 14:42
Gowin EDA on Linux

Gowin EDA V1.9.9.03 Education Linux

On Debian Testing/trixie. With some adaptions the instructions described here should also work on other Linux distributions.

As regular user extract the Gowin EDA tarball into a directory e.g. gowin. This creates two directories, IDE and Programmer:

gowin/
├── IDE
├── Programmer
@stellasphere
stellasphere / descriptions.json
Last active May 8, 2025 18:53
WMO weather interpretation code descriptions (& images)
{
"0":{
"day":{
"description":"Sunny",
"image":"http://openweathermap.org/img/wn/[email protected]"
},
"night":{
"description":"Clear",
"image":"http://openweathermap.org/img/wn/[email protected]"
}
@imneonizer
imneonizer / how-to-download-from-pan-baidu.md
Last active May 10, 2025 07:22
How to download from pan.baidu without account
@mbaezner
mbaezner / wireguard-natless.md
Created April 22, 2021 03:13
WireGuard Routing without NAT

WireGuard Routing without NAT

WireGuard Configuration

Remove the iptables masquerade rule from the post-up and post-down section of the WireGuard configuraiton file.

iptables -t nat -A POSTROUTING -o {{ lan_interface }} -j MASQUERADE
@ihsan314
ihsan314 / installation_steps.md
Last active February 3, 2025 14:22
Install Modelsim/Quartus on Ubuntu 20.04/Fedora 32

How to install Modelsim and Quartus on Fedora 32 and Ubuntu 20.04

I tried these steps in virtual machines with these OSes, and successfully got Modelsim and Quartus to open.

  1. Update your system.

    Fedora:

    sudo dnf upgrade --refresh

    Ubuntu:

@chriswayg
chriswayg / Ubuntu_Debian_Cloud_images_in_Proxmox.md
Last active April 11, 2025 10:35
Ubuntu and Debian Cloud images in Proxmox
@luukvbaal
luukvbaal / cacheremove.hook
Last active March 8, 2025 19:37
yay paccache hooks
[Trigger]
Operation = Remove
Type = Package
Target = *
[Action]
Description = Clearing cache...
When = PostTransaction
Exec = /home/<user>/.local/bin/tools/removehook
@noushi
noushi / ansible-summary.md
Created May 16, 2018 14:29 — forked from andreicristianpetcu/ansible-summary.md
This is an ANSIBLE Cheat Sheet from Jon Warbrick

An Ansible summary

Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)

Configuration file

intro_configuration.html

First one found from of

@dianjuar
dianjuar / Restore the GRUB Bootloader.md
Last active September 21, 2024 19:30
Restore the GRUB Bootloader on Manjaro Linux. Usefull when your fresh windows install eats your grub and can not boot into your linux installation, or for some how your grub is missing

Restore the GRUB Bootloader on Manjaro

  1. Chroot into your linux instalation
    1. The easiest way is with mhwd-chroot
      1. Install it yaourt -S mhwd-chroot
      2. Run it sudo mhwd-chroot
      3. DONE, you have chrooted into your linux installation (open a root console of your installed linux OS, is like just open a console with root access)
  2. Restore your GRUB
    1. Install a new GRUB bootloader with grub-install /dev/sda
  3. Recheck to ensure the that installation has completed without any errors grub-install --recheck /dev/sda
@gbaman
gbaman / HowToOTG.md
Last active May 9, 2025 20:48
Simple guide for setting up OTG modes on the Raspberry Pi Zero

Raspberry Pi Zero OTG Mode

Simple guide for setting up OTG modes on the Raspberry Pi Zero - By Andrew Mulholland (gbaman).

The Raspberry Pi Zero (and model A and A+) support USB On The Go, given the processor is connected directly to the USB port, unlike on the B, B+ or Pi 2 B, which goes via a USB hub.
Because of this, if setup to, the Pi can act as a USB slave instead, providing virtual serial (a terminal), virtual ethernet, virtual mass storage device (pendrive) or even other virtual devices like HID, MIDI, or act as a virtual webcam!
It is important to note that, although the model A and A+ can support being a USB slave, they are missing the ID pin (is tied to ground internally) so are unable to dynamically switch between USB master/slave mode. As such, they default to USB master mode. There is no easy way to change this right now.
It is also important to note, that a USB to UART serial adapter is not needed for any of these guides, as may be documented elsewhere across the int