Skip to content

Instantly share code, notes, and snippets.

View franTarkenton's full-sized avatar
🌵

Guy Lafleur franTarkenton

🌵
View GitHub Profile
@franTarkenton
franTarkenton / github_demo_agenda.md
Last active September 9, 2020 19:23
Agenda for Github Overview

GITHUB / Walkthrough


Rough Agenda

  • Confirm / Adjust Agenda Complete 9-9-2020
  • Background on Git - What is it, where did it come from? Complete 9-9-2020
  • Overview of GIT (fast) Complete 9-9-2020
@franTarkenton
franTarkenton / serve.js
Created July 17, 2020 17:35
Node https web server
/*
create the client certificates:
--------------------------------------------
openssl genrsa -out key.pem 2048
openssl req -new -key key.pem -out client.csr
openssl x509 -req -in client.csr -signkey key.pem -out cert.pem
run the web server:
--------------------------------------------
node serve.js

Description

The following code demo's one way you can query active directory, translating a username to an email address. Code is derived from this [stackexchange post](https://stackoverf

Cheat sheet for VS_Code

Annoying Preview Mode

By default when you open a file it is opened in preview mode. You can tell a tab is a preview if the text describing the file that was opened is itallicized. If you double click on the tab it will remove preview mode, resulting in the file staying open when you open another file.

You can also disable preview mode by adding the following to your setting.json:

My notes on openshifty stuff!

PROJECTS

check projects

oc get projects

NEW CONFIGS

@franTarkenton
franTarkenton / Getting_Started_With_GDAL.md
Last active October 12, 2023 01:18
Getting Started wtih GDAL

Installing

Not Easy!

Using Windows Subsystem 4 Linux (WSL):

sudo apt-get install gdal-bin
sudo apt-get install libgdal-dev
sudo apt-get install python3-gdal

Outline

  • CI/CD for BCDC api tests
  • The Story... How I arrived at using Github Actions
  • Workflow that was created
  • Opportunities for Improvement

Drawing

Intro

Each project / task / app / script that you work on may have its own dependency requirements. Ideally you don't want to have to "polute" your core python install with a bunch of dep

@franTarkenton
franTarkenton / Eclipse_Tips.md
Last active November 23, 2018 23:38
Eclipse Tips

Drawing

Useful Shortcuts

      Short cut       description
ctrl->2, w w