Skip to content

Instantly share code, notes, and snippets.

View stepankuzmin's full-sized avatar
🌍

Stepan Kuzmin stepankuzmin

🌍
View GitHub Profile
@Nemo157
Nemo157 / arm-eabi-gcc_on_osx.markdown
Created April 7, 2011 01:30
How I installed arm-eabi-gcc on Mac OS X 10.6 - MacBook Air

Install some needed libraries

brew install libmpc

Make the temp directory to build in

mkdir toolchain
cd toolchain

Get the required sources

@stolen
stolen / .gitignore
Created March 21, 2012 13:30
Erlang parse_transform tutorial files
*.beam
@liamdon
liamdon / gist:2467603
Created April 22, 2012 23:53
CoffeeScript, Jade and Stylus syntax highlighting in Sublime Text 2

Step 1: Clone the bundles into your Sublime Text packages directory

cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages
git clone git://github.com/jashkenas/coffee-script-tmbundle CoffeeScript
git clone https://github.com/miksago/jade-tmbundle.git Jade
git clone https://github.com/LearnBoost/stylus.git Stylus

Step 2: Restart Sublime Text 2

@x-Code-x
x-Code-x / readme_install_node
Created April 30, 2012 20:52
Install npm node.js on Debian Squeeze / Wheezy / Linux Mint Debian Edition
#Quick cp from http://sekati.com/etc/install-nodejs-on-debian-squeeze
#
#Needed to install TileMill from MapBox
#
#Installs node.js which has npm bundled
#
#Build Dependencies
sudo apt-get update && apt-get install git-core curl build-essential openssl libssl-dev
@brandonb927
brandonb927 / osx-for-hackers.sh
Last active July 24, 2024 15:28
OSX for Hackers: Yosemite/El Capitan Edition. This script tries not to be *too* opinionated and any major changes to your system require a prompt. You've been warned.
#!/bin/sh
###
# SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer)
# For Sierra or newer, see https://github.com/mathiasbynens/dotfiles/blob/master/.macos
###
# Alot of these configs have been taken from the various places
# on the web, most from here
# https://github.com/mathiasbynens/dotfiles/blob/5b3c8418ed42d93af2e647dc9d122f25cc034871/.osx
@hrwgc
hrwgc / README.md
Last active September 4, 2023 11:15
VIIRS Nighttime Lights 2012 processing
@tmcw
tmcw / xyz_vs_tms.md
Last active April 3, 2024 06:18
The difference between XYZ and TMS tiles and how to convert between them

The difference between XYZ and TMS tiles and how to convert between them

Lots of tile-based maps use either the XYZ or TMS scheme. These are the maps that have tiles ending in /0/0/0.png or something. Sometimes if it's a script, it'll look like &z=0&y=0&x=0 instead. Anyway, these are usually maps in Spherical Mercator.

Good examples are OpenStreetMap, Google Maps, MapBox, MapQuest, etc. Lots of maps.

Most of those are in XYZ. The best documentation for that is slippy map tilenames on the OSM Wiki, and Klokan's Tiles a la Google.

@mbostock
mbostock / .block
Last active October 2, 2016 14:14
Albers Siberia
license: gpl-3.0
@joyrexus
joyrexus / yelp.coffee
Last active December 22, 2015 19:19
Render yelp search results as geojson (or map).
#!/usr/bin/env coffee
'''
Yelp TERM in CITY and render results as geojson (or map).
Examples:
yelp tacos
yelp --in Louisville brewpubs
yelp --in Nashville "chinese takeout"
yelp --map --in Milwaukee "bowling alleys" # render results as map via geojson.io
@staltz
staltz / introrx.md
Last active July 25, 2024 16:52
The introduction to Reactive Programming you've been missing