Skip to content

Instantly share code, notes, and snippets.

View byronaltice's full-sized avatar

Byron Altice byronaltice

  • PM Me
  • Atlanta, GA, USA
View GitHub Profile
@byronaltice
byronaltice / ethercraft.js
Last active January 20, 2018 17:48
Total Balance Owed on EtherCraft
//Written by Casey Scarborough
//@caseyscarborough
// Change the invested amount to your amount in ETH invested into the ethercraft website/game
// https://ethercraft.io/#/inventory/0x87bf5750f4ca59dac8455ec37286967bb8388d13
// Paste below line of code into chrome developer to pull directly from gist
// function f() {var s = document.createElement('script');s.setAttribute('src', 'https://cdn.rawgit.com/byronaltice/c4aa5bc59624a0dfefbea0e3e18eedaa/raw/7f522ed173d7bc69db42b9d9e176f62d6a83e6bf/ethercraft.js');document.head.appendChild(s);return;}f();
var showIndividual = true,
oneEth = 1000000000000000000,
@jimmywarting
jimmywarting / readme.md
Last active April 21, 2024 15:32
Cors proxies
Exposed headers
Service SSL status Response Type Allowed methods Allowed headers
@DQNEO
DQNEO / diff_of_a_merge_commit.txt
Last active June 7, 2022 20:32
How to show diff of a merge commit
$ git diff abcdef^ abcdef
or
$ git show --first-parent abcdef
or
$ git show -m abcdef
http://stackoverflow.com/questions/40986518/git-show-of-a-merge-commit?answertab=votes#tab-top
@gmccreight
gmccreight / master.vim
Last active September 23, 2023 08:41
A script that gives you a playground for mastering vim
" copy all this into a vim buffer, save it, then...
" source the file by typing :so %
" Now the vim buffer acts like a specialized application for mastering vim
" There are two queues, Study and Known. Depending how confident you feel
" about the item you are currently learning, you can move it down several
" positions, all the way to the end of the Study queue, or to the Known
" queue.
" type ,, (that's comma comma)
@memphys
memphys / shortcuts.md
Created March 28, 2012 12:22
Bash Shortcuts For Maximum Productivity

source: http://www.skorks.com/2009/09/bash-shortcuts-for-maximum-productivity/

Command Editing Shortcuts

  • Ctrl + a – go to the start of the command line
  • Ctrl + e – go to the end of the command line
  • Ctrl + k – delete from cursor to the end of the command line
  • Ctrl + u – delete from cursor to the start of the command line
  • Ctrl + w – delete from cursor to start of word (i.e. delete backwards one word)
  • Ctrl + y – paste word or text that was cut using one of the deletion shortcuts (such as the one above) after the cursor