Open Terminal. Paste the text below, substituting in your GitHub email address.
ssh-keygen -t rsa -b 4096 -C "[email protected]"
Generating public/private rsa key pair.
Open Terminal. Paste the text below, substituting in your GitHub email address.
ssh-keygen -t rsa -b 4096 -C "[email protected]"
Generating public/private rsa key pair.
| <?php | |
| /** | |
| * Payoneer API integration | |
| * | |
| * @date 27/11/12 | |
| * @name $payoneer | |
| * @author Panagiotis Moustafellos | |
| */ | |
| class Payoneer | |
| { |
| <?php | |
| class PageController extends \App\Http\Controllers\Controller | |
| { | |
| public function show() | |
| { | |
| $slug = request()->segment(1); | |
| $page = \TCG\Voyager\Models\Page::where('slug', $slug) | |
| ->firstOrFail(); | |
| ######################################################################## | |
| # OPTIMAL .htaccess FILE FOR SPEED AND SECURITY @Version 2018 | |
| ######################################################################## | |
| # ---------------------------------------------------------------------- | |
| # Rewrite from HTTP to HTTPS - if you want to use it, comment it out | |
| # ---------------------------------------------------------------------- |
| <?php | |
| // WordPress stores the site URL in the database by default (which I have never | |
| // understood), and it's a pain to have to type out the UPDATE SQL or search in | |
| // phpMyAdmin to change it. This is a simple way to put the URL into | |
| // wp-config.php instead. | |
| // Note that you will still need to update any URLs that appear in the content, | |
| // especially when you copy a database from a development site to production: | |
| // https://gist.github.com/davejamesmiller/a8733a3fbb17e0ff0fb5 |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
| <?php | |
| /** | |
| * Generate an encryption key for CodeIgniter. | |
| * http://codeigniter.com/user_guide/libraries/encryption.html | |
| */ | |
| // http://www.itnewb.com/v/Generating-Session-IDs-and-Random-Passwords-with-PHP | |
| function generate_token ($len = 32) | |
| { |
| <?php | |
| /** | |
| * Generate an encryption key for CodeIgniter. | |
| * http://codeigniter.com/user_guide/libraries/encryption.html | |
| */ | |
| // http://www.itnewb.com/v/Generating-Session-IDs-and-Random-Passwords-with-PHP | |
| function generate_token ($len = 32) | |
| { |
| <?php | |
| /** | |
| * Generate an encryption key for CodeIgniter. | |
| * http://codeigniter.com/user_guide/libraries/encryption.html | |
| */ | |
| // http://www.itnewb.com/v/Generating-Session-IDs-and-Random-Passwords-with-PHP | |
| function generate_token ($len = 32) | |
| { |