Skip to content

Instantly share code, notes, and snippets.

View 0xjmux's full-sized avatar

Jacob 0xjmux

View GitHub Profile
@0xjmux
0xjmux / cadenceVirtuosoTips.md
Last active September 8, 2023 16:36
How to (actually) use Cadence Virtuoso

Cadence Virtuoso Notes

Important

I recommend that you read through every bullet point in this document; if I took the time to write it down here, there's a reason why.

These are my personal notes from taking EECS119 and using Cadence Virtuoso. The way most tutorials show you how to do it is bizarre, and not at all how the software is supposed to be used. I had to figure a lot of this out by trial and error, and wanted to save others the trouble for the future. This obviously doesn't cover everything and I'm still very much a beginner when it comes to using Cadence, but should be helpful for people also just starting out with VLSI design.

gl nerds 😎

@rafaelbiriba
rafaelbiriba / tree-report.sh
Last active March 7, 2024 03:19
Generate tree report file on NAS and send it by email (optional)
#!/bin/bash
# Creates DISK0.tree, DISK1.tree, DISKx.tree inside each disk, with the output of tree command.
# After generating the report, it send via email using mail.
# To add more disks, just add DISK[x]=/full/path to the disk. Just make sure that the array index are sequencial.
# Why this?
# With the reports from tree, in case of disk failure, you will know which file got lost and you can recover them, downloading or via backups.
# GIST: https://gist.github.com/rafaelbiriba/0ee7ca2baec1ef80a878c825295f09e1
EMAIL_ADDRESS="" # EMAIL_ADDRESS="email@gmail.com" or leave it blank "" to disable email
DISKS[0]="/srv/dev-disk-by-id-ata-WDC_WD80EMAZ-00WJTA0_ABC123-part1"
@Bilka2
Bilka2 / webhook.py
Last active April 26, 2024 08:29
Simple discord webhook with python
import requests # dependency
url = "<your url>" # webhook url, from here: https://i.imgur.com/f9XnAew.png
# for all params, see https://discordapp.com/developers/docs/resources/webhook#execute-webhook
data = {
"content" : "message content",
"username" : "custom username"
}

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name: