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).
Gioi thieu API TOKEN |
<?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 |
Usage: pdf2htmlEX [options] <input.pdf> [<output.html>] | |
-f,--first-page <int> first page to convert (default: 1) | |
-l,--last-page <int> last page to convert (default: 2147483647) | |
--zoom <fp> zoom ratio | |
--fit-width <fp> fit width to <fp> pixels | |
--fit-height <fp> fit height to <fp> pixels | |
--use-cropbox <int> use CropBox instead of MediaBox (default: 1) | |
--hdpi <fp> horizontal resolution for graphics in DPI (default: 144) | |
--vdpi <fp> vertical resolution for graphics in DPI (default: 144) |
# Docker installation script for Ubuntu 16.04 (Xenial) on Azure | |
# Usage: execute sudo -i, first. | |
# wget -q -O - "$@" https://gist.githubusercontent.com/tsaqib/9c7c6eed460930b1a14665043bd2157c/raw/ --no-cache | sh | |
# After running the script reboot and check whether docker is running. | |
apt-get update -y | |
apt install -y apt-transport-https ca-certificates curl software-properties-common | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - |