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
The one listed on http://spatialreference.org/ref/epsg/4326/ has an errant 9 somewhere. The correct SQL statement is below: | |
INSERT into spatial_ref_sys (srid, auth_name, auth_srid, proj4text, srtext) values ( 4326, 'epsg', 4326, '+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs ', 'GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.01745329251994328,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]'); |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> | |
<meta name="description" content=""> | |
<meta name="author" content=""> |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> | |
<title>Bootstrap 101 Template</title> | |
<!-- Bootstrap --> |
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
$(document).ready(function() { | |
$("#cool").click(function() { | |
$(".whatever-div").css("background-color","blue"); //edit, body must be in quotes! | |
}); | |
}); |
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>Totally cool title</title> | |
</head> | |
<body> | |
<h1>This is a simple webpage</h1> | |
<p>It should have a pop-up.</p> | |
</body> | |
<script> | |
alert('I am doing some math. Here is 3 times 8, which equals ' + 3*7) |
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>Totally cool title</title> | |
<style> | |
.radtastic { | |
background-color: yellow; | |
font-size: 14px; | |
} | |
.omgwhat { |
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>Totally cool title</title> | |
</head> | |
<body> | |
<h1>This is a simple webpage</h1> | |
<p>And this is my simple paragraph.</p> | |
<h2>This headline is pretty cool. It should end right here. | |
<p>This is a paragraph. It should have normal styles.</p> | |
<p><a href="http://www.aol.com">This is a cool little link. It should be blue and underlined.</a></p> |
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
@media only screen and (max-width: 550px) { | |
.col-label { | |
display: inline-block; | |
text-align: right; | |
font-weight: bold; | |
width: 110px; | |
} | |
/* Force table to not be like tables anymore */ |
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
UPDATE `wp_posts` | |
SET `post_author`=6 | |
WHERE `post_content` LIKE '%Cole Moser%'; | |
UPDATE `wp_posts` | |
SET `post_author`=5 | |
WHERE `post_content` LIKE '%Kyle Scanlan%'; | |
UPDATE `wp_posts` | |
SET `post_author`=4 |
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
import gdata.docs.service | |
import gdata.spreadsheet.service | |
import os | |
import tempfile | |
import csv | |
def get_spreadsheet(account, password, key, gid): | |
gd_client = gdata.docs.service.DocsService() | |
gd_client.email = account |
NewerOlder