This file contains hidden or 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
package database; | |
public class Book | |
{ | |
/* at the very beginning we need to create instance variables **/ | |
public String title; | |
public String author; | |
This file contains hidden or 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
# to generate your dhparam.pem file, run in the terminal | |
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
This file contains hidden or 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
<?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]); |
This file contains hidden or 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
// 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; |
This file contains hidden or 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
<?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" | |
| |
This file contains hidden or 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
#!/usr/bin/env python3 | |
#Title: Nitrxgen md5 crahking script (Requires the Internet to access the API) | |
#Author: bl4ckbo7 | |
""" | |
[ Examples ] | |
------------ | |
./nitrxgen - hashes.txt | |
./nitrxgen 6b6e8ca697b4ea4bdc8ac88613ab646e |
-
laravel-sitemap spatie/laravel-sitemap Github: https://github.com/spatie/laravel-sitemap
-
seotools artesaos/seotools Github: https://github.com/artesaos/seotools
OlderNewer