Skip to content

Instantly share code, notes, and snippets.

View JBlackCat's full-sized avatar

J Black JBlackCat

  • SF Bay Area, CA
View GitHub Profile
@JBlackCat
JBlackCat / Menu-icon-to-Close-Icon.markdown
Created February 3, 2014 00:14
A Pen by Jesse Black.

Menu icon to Close Icon

I saw something similar to this on another website(I forget which one) and I thought I would take a stab at creating my own.

A Pen by Jesse Black on CodePen.

License.

@JBlackCat
JBlackCat / NodeJS-Shell-StartUp.md
Last active August 29, 2015 14:22
Make NodeJs file executable in shell

##Inside executable file to start

#!/usr/bin/env node

//Define Node Native Modules

//Define Third-Party Modules

(function(){
 "use strict";
@JBlackCat
JBlackCat / raspberry-pi-setup.md
Last active May 1, 2019 20:14
Stuff to setup on raspberry pi
@JBlackCat
JBlackCat / rpi2-bitcoin-mine-rig.md
Last active February 24, 2023 18:08
Rapberry-Pi-2-Antminer-U2-CGMiner-Bitcoin-Mining

Fix Formatting and figure out startup script.

  1. Setup a bitcoin wallet. You can find a list of available wallets at https://bitcoin.org/en/choose-your-wallet. I decided to https://www.coinbase.com to start.

  2. Sign up for a bitcoin pool. A comparison of mining pools can be found at https://en.bitcoin.it/wiki/Comparison_of_mining_pools. I found this a bit overwhelming so I decide to start with Slush's pool, (https://mining.bitcoin.cz), as a few tutorials were using it. This video contains some info on setting it up. https://www.youtube.com/watch?v=blDhGFTGuhU

  3. ssh into your raspberry pi

  4. Pull down any updates to any packages you have currently installed, $ sudo apt-get update

  5. Install the updates you just downloaded, $ sudo apt-get upgrade

@JBlackCat
JBlackCat / onResizeDone.js
Created September 5, 2015 22:28
onResizeDone -
var resizeTimer;
$(window).on('resize', function(e) {
clearTimeout(resizeTimer);
resizeTimer = setTimeout(function() {
// Run code here, resizing has "stopped"
}, 250);
https://www.reddit.com/r/git/comments/48sngr/how_can_i_set_up_a_local_git_repo_with_multiple/
@JBlackCat
JBlackCat / raspberry-pi-kali-linux-setup.md
Created May 15, 2016 03:53
Setup Environment for Kali Linux on the Raspberry Pi