Skip to content

Instantly share code, notes, and snippets.

View jeremejazz's full-sized avatar

Jereme Causing jeremejazz

View GitHub Profile
@jeremejazz
jeremejazz / organize_packt_videos.py
Created November 14, 2022 14:09
This script is used for organizing Packtpub downloaded course into directories containing titles especially those purchased from Humblebundle.
#!/usr/bin/env python
"""
======================================================================
MIT License
Copyright (c) [year] [fullname]
Permission is hereby granted, free of charge, to any person obtaining a copy
@jeremejazz
jeremejazz / huling_el_bimbo.rb
Last active February 12, 2022 10:35
ang huling while loop (chords only)
# Ang Huling El Bimbo by Eraserheads in Sonic Pi
use_bpm 90
define :main do | start_tick = 0 |
use_synth :pluck
with_fx :reverb, room: 1 do
if start_tick > 0
tick_set start_tick
@jeremejazz
jeremejazz / installing_gdal.md
Last active January 16, 2022 03:14
Installing Gdal with Anaconda

Installing GDAL with Anaconda

Here are steps to install GDAL in Anaconda with python bindings.

  1. Download and Install Anaconda (or Miniconda for minimal setup) For Windows a shortcut to anaconda prompt will be created in the start menu which should open command prompt with conda activated. In Linux you will be asked to make conda automatically start whenever bash starts. You can also activate it manually.
  2. (Optional. You can skip this if you want to only use base) Create a Conda environment with python.
conda create -n geospatial python=3.9
@jeremejazz
jeremejazz / emedia_pianomethod_linux.md
Last active July 10, 2021 05:00
How to Install Emedia Piano & Keyboard Method on Ubuntu (using WINE)

Install Emedia Piano & Keyboard method on Ubuntu (using WINE)

self notes

sudo apt install fluidsynth

Update 7/28/2019: An updated version of this guide for Ubuntu Server 18.04 LTS is now available. Feel free to check it out.

Mounting VirtualBox shared folders on Ubuntu Server 16.04 LTS

This guide will walk you through steps on how to setup a VirtualBox shared folder inside your Ubuntu Server guest. Tested on Ubuntu Server 16.04.3 LTS (Xenial Xerus)

Steps:

  1. Open VirtualBox
  2. Right-click your VM, then click Settings
  3. Go to Shared Folders section
@jeremejazz
jeremejazz / open_source_church_software.md
Created December 18, 2019 12:33 — forked from seven1m/open_source_church_software.md
List of Open Source Church Software
rawurlencode() {
local string="${1}"
local strlen=${#string}
local encoded=""
local pos c o
for (( pos=0 ; pos<strlen ; pos++ )); do
c=${string:$pos:1}
case "$c" in
[-_.~a-zA-Z0-9] ) o="${c}" ;;
@jeremejazz
jeremejazz / update_theme.sh
Created May 26, 2019 15:59
Hugo Theme Update Script. Uses git subtree
#!/usr/bin/env bash
# This script will download the latest theme release from the Github repository.
# requires jq
REPO="" # github "user/repo"
GITHUB_USERNAME=""
metas=$(echo $REPO | tr "/" "\n")
THEME_NAME=$(echo $metas | awk '{print $2}')
@jeremejazz
jeremejazz / gdal2tiles.py
Created May 2, 2019 11:48
Gdal2tiles-leaflet converted to Python3
#!/usr/bin/python3
# -*- coding: utf-8 -*-
# ******************************************************************************
# $Id: gdal2tiles.py 27349 2014-05-16 18:58:51Z rouault $
#
# Project: Google Summer of Code 2007, 2008 (http://code.google.com/soc/)
# Support: BRGM (http://www.brgm.fr)
# Purpose: Convert a raster into TMS (Tile Map Service) tiles in a directory.
# - generate Google Earth metadata (KML SuperOverlay)
@jeremejazz
jeremejazz / gdal2tiles.py
Created May 2, 2019 11:48
Gdal2tiles-leaflet converted to Python3
#!/usr/bin/python3
# -*- coding: utf-8 -*-
# ******************************************************************************
# $Id: gdal2tiles.py 27349 2014-05-16 18:58:51Z rouault $
#
# Project: Google Summer of Code 2007, 2008 (http://code.google.com/soc/)
# Support: BRGM (http://www.brgm.fr)
# Purpose: Convert a raster into TMS (Tile Map Service) tiles in a directory.
# - generate Google Earth metadata (KML SuperOverlay)