Skip to content

Instantly share code, notes, and snippets.

View ajsb85's full-sized avatar
🖼️
Engaging cognitive processors...

Alexander Salas Bastidas ajsb85

🖼️
Engaging cognitive processors...
View GitHub Profile
@ajsb85
ajsb85 / EXCELLON.md
Last active June 8, 2026 23:14
EXCELLON FORMAT SPECIFICATION

Part Programming Commands

This chapter details the part programming codes used to run your Excellon machines automatically.

The CNC-7, like all Excellon machines, has a set of part programming codes that can be used to control the machine for drilling, toolchanging, setting up machine parameters (such as feeds and speeds), and routing (if so equipped). Also, like other Excellon machines, the part program codes are backward compatible. This means that part programs from a CNC-2,4,5 or 6 can be run on your CNC-7 without modification. Since newer controls contain new features, the reverse is not necessarily true (You may not be able to run all CNC-7 programs on a CNC-2,4,5 or 6). Part programs are simply data files, coming from any one of a variety of sources or devices. This chapter will detail all available part program codes available for your use.


Part Program Headers

@ryanlua
ryanlua / fritzing-download.md
Last active September 2, 2026 04:15
Free download of Fritzing using the official download links

Fritzing Free Download

Important

This guide has been patched and not longer functioning. You can no longer download Fritzing for free using this.

You can use the below link to access Fritzing downloads for free.

https://fritzing.org/download?dlid=khfI2NwLQN4FHv5jAMd-2A

Additionally, below are direct download links to Fritzing.

@ajsb85
ajsb85 / logic.md
Last active January 8, 2025 21:46
How to Read Logic

Introduction

A layperson looks at this and sees an incomprehensible mess. A mathematician looks at this and says, "Well, yeah, obviously." A layperson or mathematician who doesn't want to admit they don't comprehend this will also shrug and say, "Well, yeah, obviously." But I don't want you to be one of those people. The problem is that symbolic logic, if you're unfamiliar with it, can be really intimidating on the surface. But I promise you that at the end of this short video, you'll understand everything that's going on here and agree that yes, this is obviously true.

Disclaimer

This video is intended as a primer on first-order logic to help students who are learning this subject for the first time. If it's something that you're already familiar with, this might not be the video for you. Or maybe you'll see a fresh perspective, new ways of thinking about, or new ways to teach the material that you'd never considered before. I probably shouldn't discourage people from watching my own video, but I just w

@ajsb85
ajsb85 / README.md
Created December 19, 2024 18:49
GNOME Shell Extensions Installer

GNOME Shell Extensions Installer

This script automates the installation of several popular GNOME Shell extensions. It uses the gnome-shell-extension-installer utility to download and install extensions directly from the GNOME Extensions Website.

Features

The script installs the following extensions:

  • apps-menu: Adds a GNOME 2.x style menu on the panel.
  • auto-move-windows: Automatically assigns windows to specific workspaces.
@ajsb85
ajsb85 / README.md
Created December 19, 2024 18:20
GNOME Circle App Installer

GNOME Circle App Installer

This script automates the installation of GNOME Circle apps on Ubuntu systems. It attempts to install apps using snap, flatpak, and apt in a non-interactive manner.

Features

  • Installs GNOME Circle apps from snap, flatpak, and apt.
  • Prioritizes flathub for Flatpak installations.
  • Automatically tries the edge channel for missing Snaps (optional).
  • Detects and skips already installed apps.
* LCR circuit
R1 1 2 100
L1 2 3 1mH
C1 3 0 1uF
V1 1 0 AC 1V SIN(0 1kHz 0)
.TRAN 1us 10ms 0s 1us
.PRINT TRAN V(1) V(2) V(3) I(V1)
.END
.control
* RC circuit
.param res=1000
C1 output NC_01 1n
R1 output gnd res
**VDD gnd NC_01 20
VDD gnd NC_01 5 AC=10
.AC DEC 10 1K 100MEG
.control
op
* CMOS inverter circuit
.model MOSN NMOS level=6 version=3.3.0
.model MOSP PMOS level=6 version=3.3.0
Vdd Vdd 0 DC 5V
Vin in 0 pulse(0 5 0 1ns 1ns 10ns 20ns)
M1 Out In 0 0 MOSN L=0.5u W=1u
M2 Out In Vdd Vdd MOSP L=0.5u W=2u
* Load Capacitance
C1 Out 0 1fF
.TRAN 0.1n 100n
#include <stdio.h>
#include <time.h>
#include <sys/time.h>
#include <unistd.h>
#include <assert.h>
static void set_time(void);
static void get_time(void);
int main(void)
#include <stdio.h>
#include <time.h>
#include <sys/time.h>
#include <unistd.h>
static void set_time(void);
static void get_time(void);
void app_main(void)
{