Skip to content

Instantly share code, notes, and snippets.

@hex
hex / map.json
Created July 9, 2025 08:49
{
"map_width": 512,
"map_height": 512,
"number_of_houses": 96,
"tile_types": [
{
"id": 0,
"type": "grass",
"name": "Empty Tile",
"walkable": true
@hex
hex / SassMeister-input.sass
Created November 5, 2014 12:52
Generated by SassMeister.com.
// ----
// Sass (v3.4.7)
// Compass (v1.0.1)
// ----
.radu_e_capos
:color red
:font-weight bold
:font-size 100000000px
@hex
hex / preload.css
Created April 30, 2010 09:08
Preload images with CSS
#preloadedImages {
width: 0px;
height: 0px;
visibility:hidden;
background-image: url(path/to/image1.png);
background-image: url(path/to/image2.png);
background-image: url(path/to/image3.png);
background-image: url(path/to/image4.png);
background-image: url();
}
sudo apt-get install -y build-essential libssl-dev libreadline5 libreadline5-dev zlib1g zlib1g-dev make
mkdir ~/rubysrc
cd ~/rubysrc
wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-preview1.tar.gz
tar xvfz ruby-1.9.2-preview1.tar.gz
cd ruby-1.9.2-preview1
./configure
sudo make
sudo make install
cd ~