Skip to content

Instantly share code, notes, and snippets.

View laskarcyber's full-sized avatar

Prasasto Adi laskarcyber

View GitHub Profile
@laskarcyber
laskarcyber / 0_reuse_code.js
Last active August 29, 2015 14:08
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@laskarcyber
laskarcyber / dabblet.css
Created November 8, 2014 07:13
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
@laskarcyber
laskarcyber / dabblet.css
Created November 6, 2014 22:02
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
background: #f06;
background: linear-gradient(90deg, blue, yellow);
max-height: 50%;
#!/usr/bin/env python
#
# Converts any integer into a base [BASE] number. I have chosen 62
# as it is meant to represent the integers using all the alphanumeric
# characters, [no special characters] = {0..9}, {A..Z}, {a..z}
#
# I plan on using this to shorten the representation of possibly long ids,
# a la url shortenters
#