Skip to content

Instantly share code, notes, and snippets.

View ispeakcomputer's full-sized avatar
💻
Building

Ryan W ispeakcomputer

💻
Building
  • Remote
View GitHub Profile
@ispeakcomputer
ispeakcomputer / nowhal.js
Last active November 11, 2022 22:42 — forked from jziggas/nowhal.js
JavaScript to delete all of your Reddit comments
// Go to https://www.reddit.com/user/<username>/ and paste into your console.
// Reddit throttles these actions, hence the 1s timer.
// Make sure to goto your profile > user settings > opt out of redesign.
// If you do not run this against the old theme it will not work
let interval = setInterval(() => {
let deleteButtons = $('a.togglebutton[data-event-action="delete"]');
if (deleteButtons.length === 0) {
clearInterval(interval);
#!/bin/bash
sudo apt-get update
sudo apt-get install -y apt-transport-https ca-certificates gnupg lsb-release
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
sudo apt-get install -yq docker-ce docker-ce-cli containerd.io
docker run -p 80:8000 -d --restart always -e DATABASE_USERNAME=$1 -e DATABASE_PASSWORD=$2 -e DATABASE_HOST=$3 ispeakcomputer/interview:latest
@ispeakcomputer
ispeakcomputer / delete_all_tweets.py
Created August 1, 2020 06:47 — forked from davej/delete_all_tweets.py
This script will delete all of the tweets in a specified account.
# -*- coding: utf-8 -*-
"""
This script will delete all of the tweets in the specified account.
You may need to hit the "more" button on the bottom of your twitter profile
page every now and then as the script runs, this is due to a bug in twitter.
You will need to get a consumer key and consumer secret token to use this
script, you can do so by registering a twitter application at https://dev.twitter.com/apps
@requirements: Python 2.5+, Tweepy (http://pypi.python.org/pypi/tweepy/1.7.1)
This file has been truncated, but you can view the full file.
/
$$$lang-translate.service.js.aspx
$367-Million-Merger-Blocked.html
$defaultnav
${idfwbonavigation}.xml
$_news.php
$search2
£º
.0
/0
@ispeakcomputer
ispeakcomputer / kubernetes_commands.md
Created May 6, 2019 19:27 — forked from edsiper/kubernetes_commands.md
Kubernetes Useful Commands
@ispeakcomputer
ispeakcomputer / rule.js
Created December 31, 2018 09:21 — forked from vktr/rule.js
Add Stripe Customer Id to Auth0 via custom rule
function (user, context, callback) {
user.app_metadata = user.app_metadata || {};
if ('stripe_customer_id' in user.app_metadata) {
context.idToken['https://example.com/stripe_customer_id'] = user.app_metadata.stripe_customer_id;
return callback(null, user, context);
}
var stripe = require('stripe')('sk_....');
var customer = {
@ispeakcomputer
ispeakcomputer / tmux-cheatsheet.markdown
Created October 25, 2017 18:55 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname