For homebrew version 0.9.5.
brew -v # => Homebrew 0.9.5
Install the current version of mysql.
# Install current mysql version
brew install mysql
[ | |
{ | |
"name": "Thành phố Hà Nội", | |
"districts": [ | |
{ | |
"name": "Quận Ba Đình", | |
"wards": [ | |
{ | |
"name": "Phường Phúc Xá" | |
}, |
-- | |
-- Table structure for table `area_districts` | |
-- | |
DROP TABLE IF EXISTS `area_districts`; | |
CREATE TABLE IF NOT EXISTS `area_districts` ( | |
`id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, | |
`province_id` bigint(20) UNSIGNED NOT NULL, | |
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, | |
PRIMARY KEY (`id`), |
td { | |
white-space: normal; | |
white-space: -moz-pre-wrap; | |
white-space: -pre-wrap; | |
white-space: -o-pre-wrap; | |
word-wrap: break-word; | |
} |
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "E2E", | |
"type": "node", | |
"request": "launch", | |
"program": "${workspaceRoot}/node_modules/.bin/protractor", | |
"cwd": "${workspaceRoot}", | |
"console": "integratedTerminal", |
$('.parallax').css('background-positionY', ($(window).scrollTop() * 0.3) + 'px'); |
import { Dayjs, OpUnitType } from 'dayjs'; | |
const isEqualTime = (expected: Dayjs, unit: OpUnitType = 'ms') => ({ | |
$$typeof: Symbol.for('jest.asymmetricMatcher'), | |
asymmetricMatch: (actual: Dayjs) => expected.isSame(actual, unit), | |
toAsymmetricMatcher: () => 'Dayjs<' + expected.toISOString() + '>', | |
}); | |
export default isEqualTime; |
# Use a base image with Node.js and Java (required for DynamoDB Local) | |
FROM openjdk:11-jdk-slim as dynamodb-admin | |
# Install Node.js and DynamoDB Admin | |
RUN apt-get update && apt-get install -y curl && \ | |
curl -fsSL https://deb.nodesource.com/setup_16.x | bash - && \ | |
apt-get install -y nodejs && \ | |
npm install -g dynamodb-admin | |
# Download DynamoDB Local |