Skip to content

Instantly share code, notes, and snippets.

View SColson82's full-sized avatar

Sharon Colson SColson82

View GitHub Profile
! https://stackoverflow.com/a/24077338
module str2int_mod
contains
elemental subroutine str2int(str,int,stat)
implicit none
! Arguments
character(len=*),intent(in) :: str
integer*8,intent(out) :: int
integer,intent(out) :: stat
@SColson82
SColson82 / ConcatenateImages.py
Created April 11, 2025 01:13
Concatenates multiple image files into one contiguous pdf. Great for class notes.
from PIL import Image
import os
def images_in_folder_to_pdf(input_folder="images", output_path="output.pdf"):
"""
Takes every image file in a directory called 'images' and concatenates them to
one contiguous document. Great for creating one pdf of Professor Kubiak's notes.
Suggestion: load into a Colab notebook, not pip installs necessary and takes less
time to run than it does to upload the images.
@SColson82
SColson82 / private_fork.md
Created February 29, 2024 11:51 — forked from 0xjac/private_fork.md
Create a private fork of a public repository

The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.

The correct way of creating a private frok by duplicating the repo is documented here.

For this assignment the commands are:

  1. Create a bare clone of the repository. (This is temporary and will be removed so just do it wherever.)

git clone --bare [email protected]:usi-systems/easytrace.git