Helper setup to edit .yaml files with Vim:
List of general purpose commands for Kubernetes management:
| // 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 |
| # -*- 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) |
| / | |
| $$$lang-translate.service.js.aspx | |
| $367-Million-Merger-Blocked.html | |
| $defaultnav | |
| ${idfwbonavigation}.xml | |
| $_news.php | |
| $search2 | |
| £º | |
| .0 |
Helper setup to edit .yaml files with Vim:
List of general purpose commands for Kubernetes management:
| 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 = { |