Skip to content

Instantly share code, notes, and snippets.

View Fitzpa's full-sized avatar
💭
Coding

Louie Fitzpatrick Fitzpa

💭
Coding
View GitHub Profile
@Fitzpa
Fitzpa / package.json
Created July 16, 2022 20:06 — forked from jherr/package.json
Simple monorepo starter
{
"name": "packages",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"private": true,
"scripts": {
"start": "concurrently \"wsrun --parallel start\""
},
"workspaces": [
@Fitzpa
Fitzpa / Setting_upa_new_repo.md
Created February 8, 2022 03:50 — forked from alexpchin/Setting_upa_new_repo.md
Create a new repository on the command line

Setting up a new Git Repo

##Create a new repository on the command line

touch README.md
git init
git add README.md
git commit -m "first commit"

git remote add origin [email protected]:alexpchin/.git

@Fitzpa
Fitzpa / helpers.css
Created May 11, 2020 05:42
Helpers CSS Classes
/* HELPERS */
.centered {
display: flex;
justify-content: center;
align-items: center;
}
/* margin */
@Fitzpa
Fitzpa / what_stack.js
Created April 30, 2020 03:56
Snippet to tell if what technologies a website is using
if(!!window.React ||
!!document.querySelector('[data-reactroot], [data-reactid]'))
console.log('React.js');
if(!!window.angular ||
!!document.querySelector('.ng-binding, [ng-app], [data-ng-app], [ng-controller], [data-ng-controller], [ng-repeat], [data-ng-repeat]') ||
!!document.querySelector('script[src*="angular.js"], script[src*="angular.min.js"]'))
console.log('Angular.js');
if(!!window.Backbone) console.log('Backbone.js');
@Fitzpa
Fitzpa / generate_new_ssh_key.md
Last active October 30, 2020 16:55
Generate a new ssh key

Generating a new ssh-key

Open Terminal. Paste the text below, substituting in your GitHub email address.

ssh-keygen -t rsa -b 4096 -C "[email protected]"

This creates a new ssh key, using the provided email as a label

Generating public/private rsa key pair.