Skip to content

Instantly share code, notes, and snippets.

View JacobSanford's full-sized avatar

Jacob Sanford JacobSanford

View GitHub Profile
@JacobSanford
JacobSanford / installTeamsPoposUbuntu2204.md
Created May 3, 2022 15:30
Install Microsoft Teams : POPOS/Ubuntu 22.04

Install Microsoft Teams : POPOS/Ubuntu 22.04

First, install sponge

sudo apt-get install moreutils

Export the Microsoft key to our local keyring

CMH Accession ID,Species ID,Collectors,Country,Province/State,County,Verbatim Locality,Latitude,Longitude,Geo Precision,Collection Year,Collection Month,Collection Day,Verbatim Event Date,Abundance,Habitat,Occurrence Remarks,Other Catalogue No.,Previous Identifications,Reproductive Condition,Data Entry By
66204,220,"Mazerolle, D.M.",Canada,New Brunswick,Kent,Mundleville; small creek ~1.85km W of Chapel Pt.,46.59609,-64.94426,1,2013,9,27,na,na,"in shallow water of tidal muddy creek, among patches of emergent salt marsh vegetation (Saltwater Cordgrass). ",Descr.: 1m x 1m patch. Assc.Sp.: Spartina alterniflora. GEOLOC: wpt 608. NOTES: WTF/Xstrata Zinc Bathurst Aster project. ,DM4178,Zannichellia palustre L. by D.M.Mazerolle,No reproductive structures seen on specimen,Belfry
66206,1905,"Mazerolle, D.M.",Canada,New Brunswick,Northumberland,"Eel River; ~325m SSE of mouth of Nadeau Bk, on E Shore.",47.01586,-65.01346,1,2013,9,24,na,na,"brackish mud in intertidal zone, at lower edge of river bank.",Count:~100. Des
40:26
timm3887:Hiiiii
41:20
timm3887:My username is actually Icewallow_come_
41:28
@JacobSanford
JacobSanford / migrateArraySyntax.php
Created January 29, 2018 12:34
Migrate old PHP array syntax (arrray()) to new ([])
<?php
# composer require grom358/pharborist:dev-master
require_once 'vendor/autoload.php';
use Pharborist\Filter;
use Pharborist\Node;
use Pharborist\Parser;
use Pharborist\ParserException;
use Pharborist\TokenNode;
use Pharborist\RootNode;
@JacobSanford
JacobSanford / boostrapK8s.md
Last active November 14, 2018 12:57
Bootstrap K8S CoreOS

Set UP

From baremetal coreOS

Update CoreOS

sudo update_engine_client -update

Enable Docker

sudo systemctl enable docker.service

Installing PHP7 on OSX

Full Instructions

Ensure you have OSX Sierra

EOM

Install PHP7

curl -s https://php-osx.liip.ch/install.sh | bash -s 7.1
fractional_equivalents = {
'1/32' : 0.03125,
'1/16' : 0.06250,
'3/32' : 0.09375,
'1/8' : 0.12500,
'5/32' : 0.15625,
'3/16' : 0.18750,
'7/32' : 0.21875,
'1/4' : 0.25000,
'9/32' : 0.28125,