-
Basic intro to web development: 15 mins
-
What happens with an HTTP request
-
10 minute history of web standards / HTML. first page on the internet * Markup language + CSS + Javascript * Browser wars, html 4.0, etc. * From pages to apps - HTML 5 / Web Apps 1.0
-
Evolution of Javascript: 10 mins
-
from "DHTML" tor jQuery to complex web apps and 10,000 javascript frame-works.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var map = new L.Map('map'); | |
var cloudmadeUrl = 'http://{s}.tile.cloudmade.com/API-KEY/997/256/{z}/{x}/{y}.png', | |
cloudmadeAttrib = 'Map data © 2011 OpenStreetMap contributors, Imagery © 2011 CloudMade', | |
cloudmade = new L.TileLayer(cloudmadeUrl, {maxZoom: 18, attribution: cloudmadeAttrib}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var map = new L.Map('map'); | |
var mapquestUrl = 'http://{s}.mqcdn.com/tiles/1.0.0/osm/{z}/{x}/{y}.png', | |
subDomains = ['otile1','otile2','otile3','otile4'], | |
mapquestAttrib = 'Data, imagery and map information provided by <a href="http://open.mapquest.co.uk" target="_blank">MapQuest</a>, | |
<a href="http://www.openstreetmap.org/" target="_blank">OpenStreetMap</a> and contributors. | |
var mapquest = new L.TileLayer(mapquestUrl, {maxZoom: 18, attribution: mapquestAttrib, subdomains: subDomains}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>Bar Chart</title> | |
<script type="text/javascript" src="http://github.com/mbostock/d3/raw/v1.8.2/d3.js"></script> | |
<style type="text/css"> | |
body { | |
font: 10px sans-serif; | |
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"features":[{"id":"V.Jayalakshmi","properties":{"Name":"V.Jayalakshmi","Number of sessions":1,"State":"Tamil Nadu","City ":"Sathyamangalam","geo_longitude":77.276,"geo_latitude":11.5845},"type":"Feature","geometry":{"type":"Point","coordinates":[77.276,11.5845]}},{"id":"Shailendra Singh","properties":{"Name":"Shailendra Singh","Number of sessions":1,"State":"New Delhi","City ":"New Delhi","geo_longitude":77.2159562,"geo_latitude":28.6138967},"type":"Feature","geometry":{"type":"Point","coordinates":[77.2159562,28.6138967]}},{"id":"R.S. Mathur","properties":{"Name":"R.S. Mathur","Number of sessions":1,"State":"New Delhi","City ":"New Delhi","geo_longitude":77.2159562,"geo_latitude":28.6138967},"type":"Feature","geometry":{"type":"Point","coordinates":[77.2159562,28.6138967]}},{"id":"Chandan Borthakur","properties":{"Name":"Chandan Borthakur","Number of sessions":1,"State":"Assam","City ":"Gohpur","geo_longitude":93.6323048,"geo_latitude":26.8879397},"type":"Feature","geometry":{"type":"Point","coordinates":[9 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Add this to ~/.profile -
export LANGUAGE="en_US.UTF-8"
export LANG="en_US.UTF-8"
export LC_ALL="en_US.UTF-8"
- Run
source ~/.profile
sudo su postgres psql
update pg_database set datistemplate=false where datname='template1';
- LIKE, ILIKE
- fuzzystrmatch
- trigram
- tsvector/query
- URLs.
- Categories.
- Removing generic but non brand names like cafe, pizza etc..
OlderNewer