This document starts out trivial and perhaps boring, but builds up to more interesting information, perhaps things you did not realize about how MariaDB and MySQL indexing works.
This also explains [EXPLAIN][1] (to some extent).
<?php | |
namespace Minitest; | |
abstract class AbstractFoo | |
{ | |
protected function bar() | |
{ | |
return $this->baz(); | |
} |
This document starts out trivial and perhaps boring, but builds up to more interesting information, perhaps things you did not realize about how MariaDB and MySQL indexing works.
This also explains [EXPLAIN][1] (to some extent).
Tài lnày tài liệu này tầm thường và có lẽ là nhàm chán, nhưng lại tạo nên nhiều thông tin thú vị, có lẽ điều mà bạn không nhận ra về cách hoạt động đánh chỉ mục của MariaDB và MySQL.
Điều này cũng giải thích [EXPLAIN][1] (đến một mức độ nào đó).
#!/bin/sh | |
wget http://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.15-osx10.11-x86_64.tar.gz | |
tar xfvz mysql-5.7* | |
echo "stopping mamp" | |
sudo /Applications/MAMP/bin/stop.sh | |
sudo killall httpd mysqld | |
echo "creating backup" |
#!/bin/sh | |
wget http://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.18-macos10.12-x86_64.tar.gz | |
tar xfvz mysql-5.7.18-macos10.12-x86_64.tar.gz | |
echo "Stopping MAMP" | |
sudo /Applications/MAMP/bin/stop.sh | |
sudo killall httpd mysqld | |
echo "Copy Bin" |
apps: | |
- script : /path/to/artisan | |
name : 'converter' | |
interpreter : /path/to/php | |
cwd : /path/to/code | |
exec_mode: fork | |
args : args1 args2 | |
autorestart : true | |
restart_delay : 30000 | |
out_file : /path/to/log/converter.out.log |
# source: https://trac.ffmpeg.org/wiki/CentosCompilationGuide | |
yum -y install autoconf automake gcc gcc-c++ git libtool make nasm pkgconfig zlib-devel | |
mkdir ~/ffmpeg_sources | |
cd ~/ffmpeg_sources | |
curl -O http://www.tortall.net/projects/yasm/releases/yasm-1.2.0.tar.gz | |
tar xzvf yasm-1.2.0.tar.gz | |
cd yasm-1.2.0 |
<?php | |
<<<CONFIG | |
packages: | |
- "symfony/process:^5.0" | |
CONFIG; | |
/** | |
* Created by PhpStorm. | |
* User: hocvt | |
* Date: 2020-04-03 |
#!/bin/bash | |
# sudo ./mysql-db-create.sh dbname dbuser password | |
# Functions | |
ok() { echo -e '\e[32m'$1'\e[m'; } # Green | |
EXPECTED_ARGS=3 | |
E_BADARGS=65 | |
MYSQL=`which mysql` |
#!/bin/bash | |
## Use : ss command | |
## variable for change : | |
## | |
##---------- | |
Timetemp='%H%M' | |
Time=$(date +"${Timetemp}") | |
Date=$(date +"%y%m%d") | |
Yest=$(date --date="1 day ago" +"%y%m%d") | |
#Day=$(date +"%a") |