This is a rough proof of concept.
There will be broken things.
Comments are welcome.
Installation
| <?php | |
| // API access key from Google API's Console | |
| define( 'API_ACCESS_KEY', 'YOUR-API-ACCESS-KEY-GOES-HERE' ); | |
| $registrationIds = array( $_GET['id'] ); | |
| // prep the bundle | |
| $msg = array |
| /* | |
| Show a progress element for any form submission via POST. | |
| Prevent the form element from being submitted twice. | |
| */ | |
| (function (win, doc) { | |
| 'use strict'; | |
| if (!doc.querySelectorAll || !win.addEventListener) { | |
| // doesn't cut the mustard. | |
| return; | |
| } |
| # 1) Create your private key (any password will do, we remove it below) | |
| $ cd ~/.ssh | |
| $ openssl genrsa -des3 -out server.orig.key 2048 | |
| # 2) Remove the password | |
| $ openssl rsa -in server.orig.key -out server.key |
http://lucene.apache.org/solr/
Sunspot - Sunspot is a Ruby library for interaction with the Solr search engine.
| <?php | |
| #API access key from Google API's Console | |
| define( 'API_ACCESS_KEY', 'YOUR-SERVER-API-ACCESS-KEY-GOES-HERE' ); | |
| $registrationIds = $_GET['id']; | |
| #prep the bundle | |
| $msg = array | |
| ( | |
| 'body' => 'Body Of Notification', |
Let's create a demo app Rails 5 app using Active Admin. We can also practice using git along the way.
adding_modelsrails g model Category name:string