Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

a lot of converting back/forth with hex and dec

  • Loading branch information...
commit 780d426c3eae607b55a9b4599d00f68614373552 1 parent f012757
@jzacsh authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 .bash_aliases
View
4 .bash_aliases
@@ -31,6 +31,10 @@ alias vim='vim -X'
alias html='w3m -dump -T text/html'
alias pastie="$PASTIE"
+# most commonly I'd like to convert: decimal <=> hex
+alias tohex="printf '0x%x\n'"
+alias fromhex="printf '%0.0f\n'"
+
# x env #######################
alias br='$BROWSER'
alias ch='chromium-browser'
Please sign in to comment.
Something went wrong with that request. Please try again.