Skip to content

Instantly share code, notes, and snippets.

View fastmover's full-sized avatar

Steven Kohlmeyer fastmover

View GitHub Profile
@fastmover
fastmover / unblur.js
Created August 19, 2025 16:59
jobsleads.com unblur
// Remove body blur
document.querySelector('body').removeAttribute('class')
// Remove registration modal - classes: app-modal RegistrationModal registration-modal
document.querySelector('.RegistrationModal').remove()
// Remove blur & styling - job-preview-description
document.querySelector('.job-preview-description').removeAttribute('class')
@fastmover
fastmover / nvminstall.sh
Created August 12, 2024 22:11
install nvm, download & use latest LTS
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.0/install.sh | bash
nvm install --lts
npm use --lts
@fastmover
fastmover / setup-php-composer-laravel.sh
Created July 27, 2024 05:08
Setup a fresh WSL 2 environment with PHP, Composer & Laravel
#!/usr/bin/sudo bash
current_user=$(logname)
RED="\e[31m"
GREEN="\e[32m"
NC="\e[0m"
# blue=$(tput setaf 4)
green=$(tput setaf 2)
@fastmover
fastmover / go.sh
Created September 6, 2023 15:00
Install Spikster (cipi) on ubuntu 22.04 (vultr)
#!/bin/bash
# Installation now completes but panel is broken
# One issue is composer is ran as root user
# Panel is broken: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.1.0".
#################################################### CONFIGURATION ###
BUILD=202112181
@fastmover
fastmover / chysler-capital-payment-totals.js
Created July 1, 2020 17:59
Go to Chrysler Capital's Website, go into Transaction history, change the date range to cover all transactions and set the items per page to the maximum (96). Open JavaScript console and paste this code and press ENTER.
let total = 0.0;
let principal = 0.0;
let interest = 0.0;
$('#postedPaymentsTable tr > td:nth-child(3)').each(function(row, row2) {
const payment = row2.innerHTML.replace('(','').replace(')', '').replace('$', '').replace(',','')
if(payment !== '--') {
total = total + +payment;
}
});
#pragma semicolon 1
#include <sourcemod>
#define PLUGIN_VERSION "1.8"
#define cGreen 0x04
#define cDefault 0x01
new spawned[MAXPLAYERS + 1];
@fastmover
fastmover / rotations.css
Created February 11, 2019 22:23
CSS makes me laugh
* {
animation: rotations 5s infinite;
}
@keyframes rotations {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
healthcheck:
test: "nc -z 192.168.1.1 22"
interval: 1s
retries: 120
@fastmover
fastmover / sortByTimeWithMoment.js
Created March 9, 2018 17:15
Sort dates in an array using moment.js
const ordered = {};
selectedDays.sort((one, two) => {
let ts1 = moment(one.getTime()).unix();
let ts2 = moment(two.getTime()).unix();
if(ts1 < ts2)
return -1;
if(ts1 > ts2)
return 1;
return 0
}).forEach((key) => {
@fastmover
fastmover / mac.sh
Created February 20, 2018 05:16
Install MAC stuff
#!/bin/bash
#install homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
#install linux commands
brew install watch
brew install htop
#brew install wget (is this included in the new mac now?)