Git adalah salah satu VCS (Version Control System)
- Mengatur versi source code
- Menambahkan checkpoint
- Git bekerja secara local
import React, {Component} from "react" | |
const dateTimeFormat = "DD/MM/YYYY h:mm:ss a" | |
function HistoryRows({histories}) { | |
return histories.map((data, index) => ( | |
<tr key={index}> | |
<td>{data.message}</td> | |
<td>{moment(data.createdAt).format(dateTimeFormat)}</td> | |
<td>{data.createdBy}</td> |
// @flow | |
import React from 'react'; | |
import DropzoneComponent from 'react-dropzone-component'; | |
import type {DropzoneState, DropzoneMedia} from 'react-dropzone-component'; | |
import 'react-dropzone-component/styles/filepicker.css'; | |
//$FlowFixMe | |
import 'dropzone/dist/min/dropzone.min.css'; | |
import type {Media} from '../types/media'; |
FROM php:7.3-fpm | |
RUN apt-get update && apt-get install -y libpng-dev libjpeg-dev libpq-dev libzip-dev git\ | |
&& rm -rf /var/lib/apt/lists/* \ | |
&& docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr \ | |
&& docker-php-ext-install gd mbstring pdo pdo_mysql pdo_pgsql zip bcmath exif | |
#Get Composer | |
RUN curl -o /tmp/composer-setup.php https://getcomposer.org/installer \ |
// https://twitter.com/wesbos/status/1063515277911052290/photo/1 | |
async function soFetch(input, settings = {}) { | |
const response = await fetch(input, { | |
headers: { | |
Accept: 'application/json, text/plain, */*', | |
'Content-Type': 'application/json' | |
}, | |
...settings | |
}); |
FROM ruby:2.5.3 | |
# Make nodejs and yarn as dependencies | |
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - | |
RUN curl -sL https://deb.nodesource.com/setup_8.x | bash | |
RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list | |
# Install dependencies and perform clean-up | |
RUN apt-get update -qq && apt-get install -y \ | |
build-essential \ |
[{"id":1,"name":"Sepatu Converse","price":3050,"desc":"aman","imageSrc":"https://images.nike.com/is/image/DotCom/PDP_HERO/132170C_001_A_PREM/converse-chuck-taylor-all-star-leather-unisex-high-top-shoe.jpg"},{"id":2,"name":"Vans","price":2000,"desc":"aman","imageSrc":"https://media.journeys.com/images/products/1_259094_ZM.JPG"},{"id":3,"name":"New Balance","price":550,"desc":"aman","imageSrc":"https://media.endclothing.com/media/f_auto,q_auto,w_760,h_760/prodmedia/media/catalog/product/0/5/05-07-2017_newbalance_u520avintage_blue_u520ab_eh_1.jpg"}] |
tail -f -n 450 storage/logs/laravel*.log \ | |
| grep -i -E -C 4 \ | |
"^\[\d{4}\-\d{2}\-\d{2} \d{2}:\d{2}:\d{2}\]|Next [\w\W]+?\:" \ | |
--color |
{ | |
"info": { | |
"_postman_id": "692adab9-f9a9-48e0-8452-08ba65e36958", | |
"name": "Faskes BPJS", | |
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" | |
}, | |
"item": [ | |
{ | |
"name": "Provinces list", | |
"request": { |