Skip to content

Instantly share code, notes, and snippets.

View franTarkenton's full-sized avatar
🌵

Guy Lafleur franTarkenton

🌵
View GitHub Profile

Initiate the rebase

git fetch origin main
git pull origin main --rebase

Resolve conflicts

@franTarkenton
franTarkenton / multiple_python.md
Last active June 17, 2025 14:58
Quick guide to managing multiple versions of python in WSL / ubuntu
@franTarkenton
franTarkenton / migrations.md
Last active August 31, 2022 20:01
Describing Database Migrations

FAM API - Database Migrations

  • What is the source of Database Truth - ORM Model, Datamodel (ER Studio), Flyway

Background

@franTarkenton
franTarkenton / angularCheets.md
Last active June 15, 2022 02:18
Angular Cheat Sheet

data binding

<input class="someclass" [value]="somevariable">

the value property of the input class is now bound to the variable 'somevariable'. If some other part fo the application changes that variable it also gets changed in the input form.

[] = input property syntax

@franTarkenton
franTarkenton / OIDC.md
Last active May 14, 2022 00:44
Understanding OIDC

Overview

It seems there are a lot of different ways an app can the authorized using a 3rd party authorization provider like:

  • keycloak
  • google
  • auth0
  • okta
  • etc...

Get metadata from photo

# change data by adding 2 years to a single file
exiftool "-AllDates+=2:00:00 00:01:00" -verbose myfile.jpg
# change all files matching a pattern
exiftool "-AllDates+=2:00:00 00:01:00" -verbose *.jpg

view metadata

@franTarkenton
franTarkenton / Video_Editing.md
Created December 20, 2021 01:38
Notes on processing videos

Annimations from stills

ffmpeg -r 12 -pattern_type glob -i '*.jpg' -c:v libx264 ../movie4.mp4
@franTarkenton
franTarkenton / Baileys.md
Created December 7, 2020 23:13
My Baileys reciepe

Homemade Baileys




A while back I thought, baileys is kinda expensive, and being a DIY

@franTarkenton
franTarkenton / NewToDev-GettingStartedWithSMK.md
Last active November 4, 2020 02:31
A introductory guide to getting started with SMK, for users that might be wondering... What is node, where to type that? what editor should I use, etc

Introduction

This is a really really simple guide to try to get people with little to no experience with node or command lines or software development experience, started with using the Simple Map Kit Command Line Interface (SMK-CLI). Documentation already exists at the SMK-CLI github repository, however for some it starts with too many assumptions about what a user may or may not know. This document attempts to bring it down to mere mortal level.

Getting started / Installing Dependencies

@franTarkenton
franTarkenton / WSL.md
Last active June 2, 2025 19:01
Windows subsystem for linux 2 setup