-
Open a browser
# start an instance of firefox with selenium-webdriver driver = Selenium::WebDriver.for :firefox # :chrome -> chrome # :ie -> iexplore
- Go to a specified URL
This document covers basic steps to setup
django
user who will serve Django applications,...on a default Ubuntu 10.04 server installation.
Stop number | Name without locality | Locality | Locality number | Code | Name | NaPTAN stop class | NaPTANId | Easting | Northing | |
---|---|---|---|---|---|---|---|---|---|---|
1 | Pearse Street (Pearse Avenue) | Sallynoggin | E0825024 | ->NE2 | Stop No. 3234 | BCT | 8250DB003234 | 724091 | 726427 | |
1 | Pearse Street (Pearse Avenue) | Sallynoggin | E0825024 | ->SW1 | Stop No. 3210 | BCT | 8250DB003210 | 724087 | 726412 | |
2 | Lr. Drumcondra Road | Drumcondra (Dublin) | E0822021 | 1 | Drumcondra Road Lower | BCT | 825000101 | 715947 | 736197 | |
2 | Lr. Drumcondra Road | Drumcondra (Dublin) | E0822021 | 2 | Drumcondra Road Lower | BCT | 8250B1001201 | 715929 | 736199 | |
3 | Clontarf Road Junction Strandville Avenu | Clontarf | E0822038 | 1 | Stop No. 1741 | BCT | 8220DB001741 | 718428 | 736222 | |
4 | College Green | Dublin City South | E0822091 | 1 | Taxi Rank | TXR | 8220TR000078 | 715797 | 734107 | |
4 | College Green | Dublin City South | E0822091 | 2 | Stop No. 1359 | BCT | 8220DB001359 | 715770 | 734095 | |
4 | College Green | Dublin City South | E0822091 | 3 | College Green | BCT | 825000157 | 715769 | 734095 | |
4 | College Green | Dublin City South | E0822091 | 4 | Stop No. 4522 | BCT | 8220DB004522 | 715821 | 734081 |
from oauth2 import Token | |
from social_auth.backends.utils import build_consumer_oauth_request | |
from social_auth.backends.facebook import FacebookAuth | |
def facebook_profile_image(user): | |
try: | |
social_auth = user.social_auth.filter(provider='facebook')[0] | |
except IndexError: | |
return [] |
# Some good references are: | |
# http://russbrooks.com/2010/11/25/install-postgresql-9-on-os-x | |
# http://www.paolocorti.net/2008/01/30/installing-postgis-on-ubuntu/ | |
# http://postgis.refractions.net/documentation/manual-1.5/ch02.html#id2630392 | |
#1. Install PostgreSQL postgis and postgres | |
brew install postgis | |
initdb /usr/local/var/postgres | |
pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start |
# coding=UTF-8 | |
from __future__ import division | |
import re | |
# This is a naive text summarization algorithm | |
# Created by Shlomi Babluki | |
# April, 2013 | |
class SummaryTool(object): |
// <a href="product.html" data-lazy-image="product.jpg" data-lazy-image-alt="The Product"></a> | |
;(function($) { | |
$('*[data-lazy-image]').each(function() { | |
var alt = $(this).attr('data-lazy-image-alt') === undefined ? '' : 'alt="'+$(this).attr('data-lazy-image-alt')+'"'; | |
$(this).append($('<img src="'+$(this).attr('data-lazy-image')+'" '+alt+'" />')); | |
}); | |
}(jQuery)); |
This is a non-technical reading list for technical people.
This is a list of software you should read like a novel.
This is my default career advice for people starting out in geo/GIS, especially remote sensing, adapted from a response to a letter in 2013.
I'm currently about to start a Geography degree at the University of [Redacted] at [Redacted] with a focus in GIS, and I've been finding that I have an interest in working with imagery. Obviously I should take Remote Sensing and other similar classes, but I'm the type of person who likes to self learn as well. So my question is this: What recommendations would you give to a student who is interested in working with imagery? Are there any self study paths that you could recommend?
I learned on my own and on the job, and there are a lot of important topics in GIS that I don’t know anything about, so I can’t give comprehensive advice. I haven’t arrived anywhere; I’m just ten minutes ahead in the convoy we’re both in. Take these recommendations critically.
Find interesting people. You’ll learn a lot more from a great professor (or mentor, or friend, or conference) o