Skip to content

Instantly share code, notes, and snippets.

View badgumby's full-sized avatar
:atom:
New boot goofin'

BADGumby badgumby

:atom:
New boot goofin'
View GitHub Profile
@sparkyfen
sparkyfen / keybaseLogin.js
Created October 27, 2014 20:28
Keybase.io Login w/NodeJS using Request, Crypto, and Scrypt
// Get salt: https://keybase.io/docs/api/1.0/call/getsalt
// Login: https://keybase.io/docs/api/1.0/call/login
var request = require('request');
var scrypt = require('scrypt');
var crypto = require('crypto');
var username = "myUsername";
var password = "myPassword";
request('https://keybase.io/_/api/1.0/getsalt.json?email_or_username=' + username, function (error, body, results) {
if(error) {
console.log(error);
@rvl
rvl / git-pushing-multiple.rst
Created February 9, 2016 11:41
How to push to multiple git remotes at once. Useful if you keep mirrors of your repo.

Pushing to Multiple Git Repos

If a project has to have multiple git repos (e.g. Bitbucket and Github) then it's better that they remain in sync.

Usually this would involve pushing each branch to each repo in turn, but actually Git allows pushing to multiple repos in one go.

If in doubt about what git is doing when you run these commands, just

@artman41
artman41 / wsl-install_another_distro.md
Last active January 25, 2024 23:45
Instructions on how to install a custom distro in WSL2 (Windows SubSystem for Linux 2)

WSL install another distro

  1. Here are some default vars for the process
ISO_DIR=~/fedora;
ROOTFS_MOUNT_DIR=/mnt/contents

DISTRO_LOCATION=