Skip to content

Instantly share code, notes, and snippets.

View rukku's full-sized avatar

RK Aranas rukku

  • Philippine Space Agency
  • Quezon City, Philippines
View GitHub Profile
@rukku
rukku / gist:2a06fb451021550cd63f7ac36180aabc
Last active February 24, 2021 15:38 — forked from joubertnel/gist:d31328d6db838a4d978a1c20e8d16e40
Nim: compile for Apple M1 / macOS
# based on information from: https://github.com/nim-lang/Nim/issues/16211
git clone https://github.com/nim-lang/Nim
cd Nim
git clone -q --depth 1 https://github.com/nim-lang/csources_v1.git csources
./build_all.sh
@rukku
rukku / iterate_csv.py
Created February 1, 2017 15:08 — forked from nsonnad/iterate_csv.py
Iterate over specific range of rows with python csv.reader()
import csv
import itertools
f = csv.reader(open('file.csv'))
for row in itertools.islice(f, 0, 50):
print row
@rukku
rukku / ccog-readinglist.md
Created December 6, 2015 16:42 — forked from pramsey/ccog-readinglist.md
Canadian Council on Geomatics Reading List
@rukku
rukku / modern-geospatial-python.md
Last active December 21, 2023 16:34 — forked from jqtrde/modern-geospatial-python.md
Modern remote sensing image processing with Python
@rukku
rukku / storytelling_from_space.md
Last active December 2, 2015 06:29 — forked from briantjacobs/storytelling_from_space.md
Storytelling from Space

Storytelling from Space: Tools/Resources

This list of resources is all about acquring and processing aerial imagery. It's generally broken up in three ways: how to go about this in Photoshop/GIMP, using command-line tools, or in GIS software, depending what's most comfortable to you. Often these tools can be used in conjunction with each other.

Acquiring Landsat & MODIS

Web Interface

  • Libra
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>MaptimeDiliman Slippy Map</title>
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.css" />
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>MaptimeDiliman Slippy Map</title>
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.css" />
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<style>
body {
background-color: green;
}
</style>
#!/bin/bash
# setup repository
sudo wget -qO- http://apt.opengeo.org/gpg.key | apt-key add -
sudo chmod 655 /etc/apt/sources.list
sudo echo "deb http://apt.opengeo.org/ubuntu lucid main" >> /etc/apt/sources.list
sudo chmod 644 /etc/apt/sources.list
sudo apt-get update
# install opengeo suite
import argparse
import re
from multiprocessing.pool import ThreadPool as Pool
import requests
import bs4
root_url = 'http://pyvideo.org'
index_url = root_url + '/category/50/pycon-us-2014'