I hereby claim:
- I am ladaposamuel on github.
- I am samuelladapo (https://keybase.io/samuelladapo) on keybase.
- I have a public key ASCwZslojtOD0XeJGPo8kRr4SI-gWqMaIhLF5kDlbuIo1Ao
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
[ | |
"Akínyẹmí", | |
"Awóyọmí", | |
"Adélóun", | |
"Adélóhun", | |
"Abíọ́lá", | |
"Ayìnbọ́", | |
"Alọ́móge", | |
"Agbógunlérí", | |
"Akínyọọ́lá", |
Here are the simple steps needed to create a deployment from your lokal GIT repository to a server based on this in-depth tutorial.
You are developing in a working-copy on your local machine, lets say on the master branch. Most of the time, people would push code to a remote server like github.com or gitlab.com and pull or export it to a production server. Or you use a service like my Deepl.io to act upon a Web-Hook that's triggered that service.
<?php | |
function number_unformat($number, $force_number = true, $dec_point = '.', $thousands_sep = ',') { | |
if ($force_number) { | |
$number = preg_replace('/^[^\d]+/', '', $number); | |
} else if (preg_match('/^[^\d]+/', $number)) { | |
return false; | |
} | |
$type = (strpos($number, $dec_point) === false) ? 'int' : 'float'; | |
$number = str_replace(array($dec_point, $thousands_sep), array('.', ''), $number); | |
settype($number, $type); |
public function passes($attribute, $address) | |
{ | |
$decoded = decodeBase58($address); | |
$d1 = hash("sha256", substr($decoded,0,21), true); | |
$d2 = hash("sha256", $d1, true); | |
if(substr_compare($decoded, $d2, 21, 4)){ | |
return false; |
<?php | |
namespace App\Rules; | |
use Illuminate\Contracts\Validation\Rule; | |
class ValidateBtcAddress implements Rule | |
{ | |
/** | |
* Create a new rule instance. |
function decodeBase58($input) { | |
$alphabet = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"; | |
$out = array_fill(0, 25, 0); | |
for($i=0;$i<strlen($input);$i++){ | |
if(($p=strpos($alphabet, $input[$i]))===false){ | |
return false; | |
} | |
$c = $p; | |
for ($j = 25; $j--; ) { |
INSERT INTO `bank_names`(`bank_name`) | |
VALUES | |
('Access Bank'), | |
('Citibank'), | |
('Diamond Bank'), | |
('Dynamic Standard Bank'), | |
('Development Financial Pruben Bank'), | |
('Ecobank Nigeria'), | |
('Fidelity Bank Nigeria'), | |
('First Bank of Nigeria'), |
<?php | |
/** | |
* BBcode helper class | |
* | |
* @package BBcode | |
* @category Helper | |
* @author Chema <chema@garridodiaz.com> | |
* @copyright (c) 2012 | |
* @license GPL v3 | |
*/ |