- Navigate to
/user/<username>/downvoted/
or/user/<username>/upvoted/
- Scroll the entire page loading posts in view.
- Open your browser developer console.
- Enter the script and run.
- Reload the page and scroll to the bottom to load more.
-- Create the database | |
CREATE DATABASE your_database_name; | |
-- Create the user with a password | |
CREATE USER your_username WITH PASSWORD 'your_password'; | |
-- Grant all current and future permissions on the database to the user | |
GRANT ALL PRIVILEGES ON DATABASE your_database_name TO your_username; | |
GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO your_username; | |
GRANT ALL PRIVILEGES ON ALL SEQUENCES IN SCHEMA public TO your_username; |
<body onload=z=c.getContext`2d`,setInterval(`c.width=W=150,Y<W&&P<Y&Y<P+E|9<p?z.fillText(S++${Y=`,9,9|z.fillRect(p`}*0,Y-=--M${Y+Y},P+E,9,W),P))):p=M=Y=S=6,p=p-6||(P=S%E,W)`,E=49) onclick=M=9><canvas id=c> |
Last updated March 13, 2024
This Gist explains how to sign commits using gpg in a step-by-step fashion. Previously, krypt.co was heavily mentioned, but I've only recently learned they were acquired by Akamai and no longer update their previous free products. Those mentions have been removed.
Additionally, 1Password now supports signing Git commits with SSH keys and makes it pretty easy-plus you can easily configure Git Tower to use it for both signing and ssh.
For using a GUI-based GIT tool such as Tower or Github Desktop, follow the steps here for signing your commits with GPG.
#!/bin/sh | |
# option 2: paste this into user-data to automate install via boot script | |
# NOTE: update --label=owner=YOURNAME below if you want to easily identify yours | |
# renames the host to have a suffix of alexellisio | |
export original=$(cat /etc/hostname) | |
sudo hostname $original-master-alexellisio | |
echo $original-master-alexellisio | sudo tee /etc/hostname | |
apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D |
Since Twitter doesn't have an edit button, it's a suitable host for JavaScript modules.
Source tweet: https://twitter.com/rauchg/status/712799807073419264
const leftPad = await requireFromTwitter('712799807073419264');
Below are many examples of function hoisting behavior in JavaScript. Ones marked as works
successfuly print 'hi!' without errors.
To play around with these examples (recommended) clone them with git and execute them with e.g. node a.js
(I may be using incorrect terms below, please forgive me)
.pulsate path { | |
stroke: #2980b9; | |
-webkit-animation: pulsate 5s ease-out; | |
-webkit-animation-iteration-count: infinite; | |
-moz-animation: pulsate 5s ease-out; | |
-moz-animation-iteration-count: infinite; | |
-ms-animation: pulsate 5s ease-out; | |
-ms-animation-iteration-count: infinite; | |
animation: pulsate 5s ease-out; | |
animation-iteration-count: infinite; |
THIS GIST WAS MOVED TO TERMSTANDARD/COLORS
REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!
When the directory structure of your Node.js application (not library!) has some depth, you end up with a lot of annoying relative paths in your require calls like:
const Article = require('../../../../app/models/article');
Those suck for maintenance and they're ugly.