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.
<?php | |
/* | |
|-------------------------------------------------------------------------- | |
| Remove Laravel Comments | |
|-------------------------------------------------------------------------- | |
| | |
| Just made a new Laravel project, but don't want all those big | |
| comment blocks? Put this in the root of your project and run | |
| "php remove_laravel_comments.php" | |
| |
// JS for grabbing utm params and parsing into url | |
var getRefQueryParam = function() { | |
var temp = {}; | |
document.location.search.replace(/\??(?:([^=]+)=([^&]*)&?)/g, function() { | |
var decode = function(s) { | |
return decodeURIComponent(s.split("+").join(" ")); | |
}; | |
temp[decode(arguments[1])] = decode(arguments[2]); | |
}); | |
return temp; |
<?php | |
//Requires php with the openssl module. | |
//This is useful for instances where installing openssl isn't an option | |
// but PHP is available, like on Windows servers using WAMP. | |
//use php extractpfx.php /path/tocert.pfx "pass phrase" | |
//http://php.net/manual/en/function.openssl-pkcs12-read.php | |
if(file_exists($argv[1])) { | |
$rawpfx = file_get_contents($argv[1]); |
# to generate your dhparam.pem file, run in the terminal | |
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
package database; | |
public class Book | |
{ | |
/* at the very beginning we need to create instance variables **/ | |
public String title; | |
public String author; | |