Skip to content

Instantly share code, notes, and snippets.

View EngPeterShaker's full-sized avatar

Peter Shaker EngPeterShaker

View GitHub Profile
@EngPeterShaker
EngPeterShaker / yarn.md
Created January 20, 2021 15:26
Useful aliases for Yarn

Basic Commands

alias y="yarn"
alias yi="yarn init -y"

Install And Remove Packages

Ubuntu To Mac OS Mojave theme

Mc OS Mojave Ubuntu Look alike


Pre-requisites

  • sudo apt update
  • sudo apt install gnome-tweaks
  • sudo apt-get install gir1.2-clutter-1.0 gir1.2-clutter-gst-3.0 gir1.2-gtkclutter-1.0
@EngPeterShaker
EngPeterShaker / readme.md
Created July 26, 2021 15:47 — forked from benstr/readme.md
Gist Markdown Cheatsheet

#Heading 1 ##Heading 2 ###Heading 3 ####Heading 4 #####Heading 5 ######Heading 6


Paragraph

@EngPeterShaker
EngPeterShaker / .gitconfig
Created September 12, 2022 10:52 — forked from 0livare/.gitconfig
My git alias list. Running 'git alias' will pretty-print these commands to the terminal.
# Some options that may or may not be applicable to you
[user]
name = Zach Posten
email = [email protected]
[push]
default = upstream
[core]
autocrlf = input # Force replacing CRLF line endings with LF
ignorecase = false
[merge]
@EngPeterShaker
EngPeterShaker / iTerm2.md
Created April 26, 2023 10:04 — forked from soifou/iTerm2.md
iTerm2 Shortcuts

iTerm2 Shortcuts

Tab navigation

  • open new tab: Cmd + t
  • next tab: Cmd + Shift + ]
  • previous tab: Cmd + Shift + [

Pane navigation

@EngPeterShaker
EngPeterShaker / rangeerror.js
Created August 20, 2024 13:49 — forked from MadhuNimmo/rangeerror.js
Simplest solution to JSON.stringify RangeError: Invalid string length
var out="[";
for(var indx=0;indx<data.length-1;indx++){
out+=JSON.stringify(data[indx],null,4)+",";
}
out+=JSON.stringify(data[data.length-1],null,4)+"]";