Skip to content

Instantly share code, notes, and snippets.

View rengetsu's full-sized avatar

Pavel Trostianko rengetsu

  • Vilnius, Lithuania
View GitHub Profile
@rengetsu
rengetsu / password_hash_example.php
Created April 7, 2021 19:59 — forked from jeremykendall/password_hash_example.php
Example of password hashing and verification with password_hash and password_verify. This script is intended to be run from the command line like so: 'php -f password_hash_example.php'
<?php
/**
* Example of password hashing and verification with password_hash and
* password_verify
*
* This script is intended to be run from the command line
* like so: 'php -f password_hash_example.php'
*
* @see http://stackoverflow.com/a/20809916/1134565
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<CodeBlocksConfig version="1">
<editor>
<colour_sets>
<ACTIVE_COLOUR_SET>
<str>
<![CDATA[modnokai night shift v2]]>
</str>
</ACTIVE_COLOUR_SET>
<ACTIVE_LANG>
@rengetsu
rengetsu / .htaccess
Last active August 22, 2019 20:21 — forked from Guibzs/.htaccess
Symfony 4 ~ .htaccess
<VirtualHost *:80>
ServerName kes.koplac.cz
ServerAlias www.kes.koplac.cz
DocumentRoot /subdom/kes
<Directory /subdom/kes>
AllowOverride None
Order Allow,Deny
Allow from All