One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| #!/usr/bin/perl | |
| # This filter changes all words to Title Caps, and attempts to be clever | |
| # about *un*capitalizing small words like a/an/the in the input. | |
| # | |
| # The list of "small words" which are not capped comes from | |
| # the New York Times Manual of Style, plus 'vs' and 'v'. | |
| # | |
| # 10 May 2008 | |
| # Original version by John Gruber: | 
Note: There is a lot of information here, but if I have provided a link, it is probably something you should click on and read. OAuth is a complex enough subject on it's own, and hacking these two services together only adds to it.
Even so, I have found Firebase's API to be simpler than almost any other OAuth solution I have explored. When all is said and done, the important bits of code related to authentication is actually less than 10 lines. If you have ever tried to implement your own OAuth flow before, you know how amazing that is.
In the end, it may be worth using Firebase for authentication, even if that's the ONLY thing you use it for.
| # Deploying NodeJS App on Google Cloud Platform | |
| `authored Jul 3 2015 by kengz` | |
| ## Installation | |
| - Account with Google Cloud Platform. | |
| - Install [Google Cloud Platform SDK](https://cloud.google.com/sdk/) to use `cloud` in the terminal. | |
| - Install [Docker](https://cloud.google.com/tutorials/install-docker) for the VM container. | |
| - Locally, login for the first time: `gcloud auth login` | 
| import requests | |
| from bs4 import BeautifulSoup | |
| import time | |
| # We've now imported the two packages that will do the heavy lifting | |
| # for us, reqeusts and BeautifulSoup | |
| # This is the URL that lists the current inmates | |
| # Should this URL go away, and archive is available at | |
| # http://perma.cc/2HZR-N38X | 
| library(rgdal) | |
| library(rgeos) | |
| library(ggplot2) | |
| library(readr) | |
| library(tidyr) | |
| library(dplyr) | |
| library(grid) | |
| us <- readOGR("us_states_hexgrid.geojson", "OGRGeoJSON") | 
| /** | |
| * Generate sidenotes using footnotes from Multimarkdown generated content | |
| * Idea and principle borrowed from Adrew Clark : http://acdlite.github.io/jquery.sidenotes/ and https://github.com/acdlite/jquery.sidenotes | |
| * | |
| * This script : - gather footnotes in the passed container selector | |
| * - insert the sidenotes in the current text, according to screen size : | |
| * - on big screens insert the sidenote *before* the anchor | |
| * - on medium screens, insert the sidenote *after* the anchor | |
Warning
These guidelines haven't been updated since 2016. Learn more…
Table of contents
| ruby -e "open(`gem which rubygems`.sub(/\.rb\s*\z/, '/ssl_certs/AddTrustExternalCARoot-2048.pem'), 'wb').write %(-----BEGIN CERTIFICATE-----\nMIIENjCCAx6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBvMQswCQYDVQQGEwJTRTEU\nMBIGA1UEChMLQWRkVHJ1c3QgQUIxJjAkBgNVBAsTHUFkZFRydXN0IEV4dGVybmFs\nIFRUUCBOZXR3b3JrMSIwIAYDVQQDExlBZGRUcnVzdCBFeHRlcm5hbCBDQSBSb290\nMB4XDTAwMDUzMDEwNDgzOFoXDTIwMDUzMDEwNDgzOFowbzELMAkGA1UEBhMCU0Ux\nFDASBgNVBAoTC0FkZFRydXN0IEFCMSYwJAYDVQQLEx1BZGRUcnVzdCBFeHRlcm5h\nbCBUVFAgTmV0d29yazEiMCAGA1UEAxMZQWRkVHJ1c3QgRXh0ZXJuYWwgQ0EgUm9v\ndDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALf3GjPm8gAELTngTlvt\nH7xsD821+iO2zt6bETOXpClMfZOfvUq8k+0DGuOPz+VtUFrWlymUWoCwSXrbLpX9\nuMq/NzgtHj6RQa1wVsfwTz/oMp50ysiQVOnGXw94nZpAPA6sYapeFI+eh6FqUNzX\nmk6vBbOmcZSccbNQYArHE504B4YCqOmoaSYYkKtMsE8jqzpPhNjfzp/haW+710LX\na0Tkx63ubUFfclpxCDezeWWkWaCUN/cALw3CknLa0Dhy2xSoRcRdKn23tNbE7qzN\nE0S3ySvdQwAl+mG5aWpYIxG3pzOPVnVZ9c0p10a3CitlttNCbxWyuHv77+ldU9U0\nWicCAwEAAaOB3DCB2TAdBgNVHQ4EFgQUrb2YejS0Jvf6xCZU7wO94CTLVBowCwYD\nVR0PBAQDAgEGMA8GA1UdEwEB |