Skip to content

Instantly share code, notes, and snippets.

View CallumJHays's full-sized avatar
🥊
Nested code is good. Fight me.

Cal Hays CallumJHays

🥊
Nested code is good. Fight me.
View GitHub Profile
@byronmejia
byronmejia / QUT Horizon Guide.md
Last active October 19, 2022 06:48
A QUT Student's guide to the Horizon (client).

VMware Horizon Client Tutorial

Sometimes, it's necessary to try and connect to the QUT computers as a student, whether it be for using certain proprietary software, certain environments, or beefier computers?

This guide assumes you are not on campus and require a VPN client (Virtual Private Network) to behave as if you are at QUT.

@amroamroamro
amroamroamro / README.md
Last active December 25, 2023 20:41
Fourier series animation

MATLAB code to demonstrate [Fourier series][1] representation of periodic signals (as a sum of sinusoidal functions).

The animation shows an approximation of a square wave signal using the first 4-terms of its Fourier series. (Change the parameters near the top of the code to manipulate the animations and explore other variations).

![animation1][6] ![animation2][7]

This was inspired by the following similar animations:

  • [Fourier Series Animation using Circles][2]
@ksafranski
ksafranski / expecting.md
Last active November 11, 2023 23:00
Basic principles of using tcl-expect scripts

Intro

TCL-Expect scripts are an amazingly easy way to script out laborious tasks in the shell when you need to be interactive with the console. Think of them as a "macro" or way to programmaticly step through a process you would run by hand. They are similar to shell scripts but utilize the .tcl extension and a different #! call.

Setup Your Script

The first step, similar to writing a bash script, is to tell the script what it's executing under. For expect we use the following:

#!/usr/bin/expect