Example::myTestingMethod('test');
// Should be return message Hello {argument_var} !
$test = new Testing;
$test->name('My name')->alias('my_alias')->create();
// Should be return
package main | |
import ( | |
"bytes" | |
"crypto/aes" | |
"crypto/cipher" | |
"crypto/rand" | |
"errors" | |
"io" | |
"io/ioutil" |
<?php | |
namespace App\Providers; | |
use Illuminate\Support\ServiceProvider; | |
use Aws\S3\S3Client; | |
use League\Flysystem\AwsS3v3\AwsS3Adapter; | |
use League\Flysystem\Filesystem; | |
use Storage; |
This is a list of APIs you can use to build or power your app with fintech innovation in Mexico.
SSH keys provide a more secure way of logging into a virtual private server with SSH than using a password alone. While a password can eventually be cracked with a brute force attack, SSH keys are nearly impossible to decipher by brute force alone. Generating a key pair provides you with two long string of characters: a public and a private key. You can place the public key on any server, and then unlock it by connecting to it with a client that already has the private key. When the two match up, the system unlocks without the need for a password. You can increase security even more by protecting the private key with a passphrase.
https://www.digitalocean.com/community/tutorials/how-to-set-up-ssh-keys--2
The first step is to create the key pair on the client machine (there is a good chance that this will just be your computer):
<?php | |
require_once __DIR__.'/vendor/autoload.php'; | |
use Aws\Lambda\LambdaClient; | |
$client = LambdaClient::factory([ | |
'version' => 'latest', | |
// The region where you have created your Lambda | |
'region' => 'eu-west-1', |
docker stop $(docker ps -aq) | |
docker rmi laradock_mysql --force | |
sudo rm -rf ~/.laradock/data | |
docker rmi mysql | |
docker rm laradock_mysql_1 | |
docker-compose build --no-cache mysql |
// browser detect | |
var BrowserDetect = { | |
init: function() { | |
this.browser = this.searchString(this.dataBrowser) || "An unknown browser"; | |
this.version = this.searchVersion(navigator.userAgent) || this.searchVersion(navigator.appVersion) || "an unknown version"; | |
this.OS = this.searchString(this.dataOS) || "an unknown OS"; | |
}, | |
searchString: function(data) { | |
for (var i = 0; i < data.length; i++) { | |
var dataString = data[i].string; |
package main | |
import ( | |
"bufio" | |
"log" | |
"os" | |
) | |
var concurrency = 100 |
input: 9, [... [...], [...]]
where arr format is (sample): [ [1,2,3,4,5,6,7,8,9], [9,8,7,6,5,4,3,2,1], [9,8,7,6,5,6,7,8,9], [9,6,8,7,5,8,7,9,8], ]