Skip to content

Instantly share code, notes, and snippets.

View king-of-poppk's full-sized avatar

king-of-poppk

View GitHub Profile
@jhurliman
jhurliman / base64.js
Created September 29, 2011 06:39 — forked from Marak/base64.js
An extremely simple implementation of base64 encoding / decoding using node.js Buffers (plus url-safe versions)
/*
* base64.js: An extremely simple implementation of base64 encoding / decoding using node.js Buffers
*
* (C) 2010, Nodejitsu Inc.
* (C) 2011, Cull TV, Inc.
*
*/
var base64 = exports;
@n2o
n2o / docker-ip.md
Last active February 23, 2024 16:37
Show IP of your docker-container

Show IP of your Docker container

tested on Arch Linux x64 4.5.4-1-ARCH

Ever needed the IP of your running docker container? I found a script somewhere on Stackoverflow, packed it into a function and created an alias for it. This function is just a shorthand to get the IP by container ID or by the container's name:

Append this to your .bash_aliases or similar:

# ~/.bash_aliases