Skip to content

Instantly share code, notes, and snippets.

View AdinAck's full-sized avatar
😎

AdinAck

😎
View GitHub Profile
@AdinAck
AdinAck / jj-config.toml
Created January 17, 2026 18:21
starship config extension for jj prompt
# adapted from <https://github.com/jj-vcs/jj/wiki/Starship>
# append this file to your starship config and correct any duplicate keys as you see fit
[custom.jj]
description = "The current jj status"
when = "jj --ignore-working-copy root"
command = '''
jj log --revisions @ --no-graph --ignore-working-copy --color always --limit 1 --template '
separate(" ",
change_id.shortest(4),
bookmarks,
@AdinAck
AdinAck / _tooling_ece_111.md
Last active January 9, 2024 02:50
Tooling for ECE 111: Advanced Digital Design Project

Summary

This document explains step by step how to set up open source tools for using SystemVerilog for the UCSD course ECE 111.

macOS only

Simulation

To simulate SystemVerilog we will use Icarus-Verilog for simulation and GtkWave for viewing.

@AdinAck
AdinAck / g0-128mhz-pwm.rs
Last active January 3, 2024 03:57
Example of 128MHz PWM on the G0
#![no_std]
#![no_main]
mod fmt;
use fmt::info;
#[cfg(not(feature = "defmt"))]
use panic_halt as _;
#[cfg(feature = "defmt")]
use {defmt_rtt as _, panic_probe as _};
@AdinAck
AdinAck / swiftui_intro_ece196.md
Last active April 23, 2024 16:37
Getting Started with SwiftUI - ECE 196

Getting Started with SwiftUI - ECE 196

What is SwiftUI?

SwiftUI is a framework for developing applications for any Apple device. SwiftUI is written in the language Swift, hence the name.

Download XCode

XCode is the IDE that you will use to develop Swift apps.

@AdinAck
AdinAck / fix_vscode_server.md
Last active January 16, 2022 03:17
A walkthrough of how to fix VSCode remote SSH on UCSD cloud computing servers.

There are 2 common problems regarding the usage of VSCode with the ieng6 servers.

  1. Disk quota exceeded when trying to download your next assignment, etc.
  2. VSCode fails to connect to the remote.

Luckily, there is a simple solution for both of these.

Solution

For some reason, the VSCode server increases in size over time, I don't know why, but it does.