Skip to content

Instantly share code, notes, and snippets.

View 0x4445565A's full-sized avatar

Brandon Martinez 0x4445565A

View GitHub Profile
@0x4445565A
0x4445565A / .conky.rc
Created August 26, 2019 05:21
My Conky Config
conky.config ={
-- CONKY SETTINGS
background = true,
update_interval = 2,
total_run_times = 0,
cpu_avg_samples = 2,
net_avg_samples = 2,
override_utf8_locale = true,

Keybase proof

I hereby claim:

  • I am 0x4445565a on github.
  • I am bmar (https://keybase.io/bmar) on keybase.
  • I have a public key ASBPwWBaspLbFSrP19SzdzgCuxy6HY5vXYZllVYI_Z8VmAo

To claim this, I am signing this object:

package main
import (
"crypto/md5"
"encoding/hex"
"fmt"
"io"
"io/ioutil"
"log"
"net/http"
package main
import (
"crypto/md5"
"encoding/hex"
"fmt"
"io"
"io/ioutil"
"log"
"net/http"
/**
* Marlin 3D Printer Firmware
* Copyright (C) 2016 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
#!/bin/bash
declare -A CONFIG
############################
# CONFIG
#
# CONFIG[IP]=AMOUNT_OF_LEDS
############################
@0x4445565A
0x4445565A / keybase2mit.sh
Last active November 12, 2019 01:14
A quick lazy snippet to send your public key to some SKS Key servers.
echo -n "What is your Keybase Username? [ENTER] " && read KEYBASE_USER && KEYBASE_KEY=`curl -s https://keybase.io/${KEYBASE_USER}/key.asc` \
&& curl -X POST --data-urlencode "keytext=${KEYBASE_KEY}" https://pgp.mit.edu/pks/add | grep -io "Key block added to key server database" \
&& curl -X POST --data-urlencode "keytext=${KEYBASE_KEY}" https://pgp.key-server.io/pks/add | grep -io "Key block added to key server database"

Keybase proof

I hereby claim:

  • I am 0x4445565A on github.
  • I am bmar (https://keybase.io/bmar) on keybase.
  • I have a public key whose fingerprint is B5B1 E546 CBF0 1DE1 5FD3 DE0B BABC E315 8E5B B764

To claim this, I am signing this object:

@0x4445565A
0x4445565A / p3skb.poc.js
Created July 28, 2016 09:15
Using import_from_p3skb to export private keys from KeyBase.io
var username = 'testuser';
var passphrase = 'foxtrot:unicorn:charlie:kilo';
$.get("https://keybase.io/_/api/1.0/user/lookup.json",
{
usernames: username,
fields: 'private_keys'
},
function(account) {
private_key = account.them[0].private_keys.primary;
mount --bind /sys /media/ubuntu/Rootfs/sys; mount --bind /dev /media/ubuntu/Rootfs/dev;mount --bind /proc /media/ubuntu/Rootfs/proc;chroot /media/ubuntu/Rootfs;