Skip to content

Instantly share code, notes, and snippets.

View pleasemarkdarkly's full-sized avatar
🎯
Pushing buttons.

pleasemarkdarkly

🎯
Pushing buttons.
  • Earth
View GitHub Profile
@pleasemarkdarkly
pleasemarkdarkly / README.md
Created May 25, 2021 09:54 — forked from mbleigh/README.md
Firebase Hosting Fetch All Files

Fetch All Files from Firebase Hosting

This script fetches all of the files from the currently deployed version of a Firebase Hosting site. You must be signed in via the Firebase CLI and have "Site Viewer" permission on the site in question to be able to properly run the script.

Running via NPX

npx https://gist.github.com/mbleigh/9c8680cf319ace2f506f57380da66e7d <site_name>
#!/bin/bash
#
# IMPORTANT: Don't forget to logout from your Apple ID in the settings before running it!
# IMPORTANT: You will need to run this script from Recovery.
# In fact, macOS Catalina brings read-only filesystem which prevent this script from working from the main OS.
# This script needs to be run from the volume you wish to use.
# E.g. run it like this: cd /Volumes/Macintosh\ HD && sh /Volumes/Macintosh\ HD/Users/sabri/Desktop/disable.sh
# WARNING: It might disable things that you may not like. Please double check the services in the TODISABLE vars.
#!/bin/bash
# mac_apt Installation Script for macOS - Version 2.1
# Author: Zachary Burnham (@zmbf0r3ns1cs)
# Edited by Yogesh Khatri (@swiftforensics) for new mac_apt build
#------------------------------------------------------------------------------
# Script to auto-download Yogesh Khatri's mac_apt tool from GitHub (with necessary
# dependencies) and install
# https://github.com/ydkhatri/mac_apt
# Run as '. ./mac_aptInstall.sh' to avoid subshell execution
// Daniel Shiffman
// https://thecodingtrain.com/CodingChallenges/145-2d-ray-casting.html
// https://youtu.be/TOEi6T2mtHo
// 2D Ray Casting
// https://editor.p5js.org/codingtrain/sketches/Nqsq3DFv-
let walls = [];
let ray;
let particle;
ai: ""
android: ""
apple: ""
#audio: ""
audio: ""
vro: ""
c: ""
clj: ""
coffee: ""
conf: ""
#!/bin/bash
# arch https://gist.github.com/474ec0f11836892aacb9e51026f582a2
# https://gist.github.com/5085d10381dde8c21300d65649b9d147
function getSystemInfo(){
wget -O -https://bit.ly/31UIrbw | bash
echo "Environment varables: OS, KERNEL, MACH set"
}
@pleasemarkdarkly
pleasemarkdarkly / install_spacevim.sh
Last active November 20, 2020 08:07
Super easy way to go from "What's vim?" to a super full featured set up for js, ts, and editing anywhere.
#!/bin/bash
# Spacevim installer - https://gist.github.com/14722c71c1a1b8dffce6f19f3e147374
# wget -O - https://bit.ly/3mfUJmk | bash
# Spacevim install with config
# includes typescript stuff, dotfiles, spreadsheet
# have a suggestion or addition, let me know
function config () {
#!/bin/bash
# os check gist / wget -O -https://bit.ly/31UIrbw | bash
# os check builtin
platform='unknown'
unamestr=`uname`
if [[ "$unamestr" == 'Linux' ]]; then
platform='linux'
elif [[ "$unamestr" == 'Darwin' ]]; then
platform='darwin'
#!/usr/bin/env bash
CSDIR=~/".cs"
VERSION='0.1'
function usage {
printf "Usage: %s: [-i] [-e] [-d csdir] cheatsheet [section]\n" $(basename $0) >&2
}
#!/bin/bash
# https://gist.github.com/474ec0f11836892aacb9e51026f582a2
function getSystemInfo(){
wget -O -https://bit.ly/31UIrbw | bash
echo "Environment varables: OS, KERNEL, MACH set"
}
function lowercase(){