Skip to content

Instantly share code, notes, and snippets.

@Asetss
Asetss / case1.php
Created April 16, 2021 14:08
case1
<?php
$case1 = '[
{
"from":"03/01/2021",
"to":"03/06/2021"
},
{
"from":"03/10/2021",
"to":"03/15/2021"
stages:
- test
# Variables: these have to match
# the .env.example credentials in your Laravel app
# use the default homestead/secret combination, since
# that database gets created in the edbizarro/gitlab-ci-pipeline-php:7.1
# docker image.
variables:
MYSQL_ROOT_PASSWORD: root
[
1 => [
0 => [
"user_id" => 1,
"date" => "22.10.2018"
"time" => "02:00:00"
],
1 => [
"user_id" => 1,
"date" => "23.10.2018"
@Asetss
Asetss / arr.php
Created November 29, 2018 06:45
arr
<?php
$arr = [
1 => [
0 => [
"user_id" => 1,
"date" => "22.10.2018",
"time" => "01:40:00",
],
1 => [
"user_id" => 1,
server {
listen 80;
listen [::]:80;
listen 443 ssl;
server_name tele.test.com www.tele.test.com;
root /var/www/tele.test.com/public;
index index.html index.htm index.php;