start new:
tmux
start new with session name:
tmux new -s myname
openssl s_client -crlf -connect imap.gmail.com:993 | |
tag login user@gmail.com passwordhere | |
tag list "" "*" | |
tag select "inbox" | |
tag fetch 1:3 body[header] | |
tag fetch 3 body[header] | |
tag fetch 3 body[text] | |
tag fetch 2 all | |
tag fetch 2 fast | |
tag fetch 2 full |
<?php | |
$conn = \Doctrine\DBAL\DriverManager::getConnection(array( | |
'wrapperClass' => 'Doctrine\DBAL\Connections\MasterSlaveConnection', | |
'driver' => 'pdo_mysql', | |
'keepSlave' => true, | |
'master' => array( | |
'user' => 'ideato', | |
'password' => 'ideato', | |
'dbname' => 'db_ideato' |
{ | |
"require": { | |
"mfacenet/hello-world": "v1.*" | |
} | |
} |
<?php | |
namespace App\Http\Middleware; | |
use Closure; | |
use \Illuminate\Support\Facades\Redirect; | |
class LowercaseRoutes | |
{ | |
/** |
git remote add upstream https://github.com/whoever/whatever.git
git fetch upstream
upload(files) { | |
const config = { | |
onUploadProgress: function(progressEvent) { | |
var percentCompleted = Math.round((progressEvent.loaded * 100) / progressEvent.total) | |
console.log(percentCompleted) | |
} | |
} | |
let data = new FormData() | |
data.append('file', files[0]) |