- composer install
- cp .env .env.example - แแแแก แจแแแแแ แจแแแแกแแ .env แแแแแก แแแแคแแแฃแ แแชแแแก แแแแแชแแแแแแ.
- php artisan key:generate
- php artisan migrate
- php artisan db:seed
๐ฏ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<el-tabs v-model="activeTabName"> | |
<template v-for="locale in locales"> | |
<el-tab-pane class="" :label="locale" :name="locale"> | |
<el-row> | |
<div class="form-group dashed"> | |
<label class="col-md-1 control-label"><span | |
class="text-danger">*</span>{{ lang.title }} <span class="grey">{{ | |
locale |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Htm: | |
<mat-tab-group [(selectedIndex)]="selectedIndex"> | |
<mat-tab *ngFor="let locale of locales" [label]="locale"> | |
<div class="form-group dashed"> | |
<label class="col-md-1 control-label"> | |
<span class="text-danger">*</span>{{ lang.title }} | |
<span class="grey">{{ locale }}</span>: | |
</label> | |
<div class="col-md-10 uppercase-medium"> | |
<input class="form-control" maxlength="150" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class PointLocation { | |
var $pointOnVertex = true; // Check if the point sits exactly on one of the vertices? | |
function pointLocation() { | |
} | |
function pointInPolygon($point, $polygon, $pointOnVertex = true) { | |
$this->pointOnVertex = $pointOnVertex; | |
// Transform string coordinates into arrays with x and y values |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { useEffect, useState } from 'react'; | |
export const Products = () => { | |
return <> | |
<div> | |
Products | |
</div> | |
<table> | |
<tbody> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
root /var/www/html/special-projects; | |
index index.html index.htm index.nginx-debian.html; | |
server_name special-projects.chaikhana.media; | |
error_page 404 403 500 503 /index.html; | |
location = /index.html { | |
root /var/www/html/special-projects/not-found; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function getDistance($latitude1, $longitude1, $latitude2, $longitude2) { | |
$earth_radius = 6371; | |
$dLat = deg2rad($latitude2 - $latitude1); | |
$dLon = deg2rad($longitude2 - $longitude1); | |
$a = sin($dLat/2) * sin($dLat/2) + cos(deg2rad($latitude1)) * cos(deg2rad($latitude2)) * sin($dLon/2) * sin($dLon/2); | |
$c = 2 * asin(sqrt($a)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const express = require("express"); | |
const { OGM,Model } = require("@neo4j/graphql-ogm"); | |
const neo4j = require("neo4j-driver"); | |
const bodyParser = require("body-parser"); | |
const { | |
NEO4J_URI = "neo4j://localhost:7687", | |
NEO4J_USER = "neo4j", | |
NEO4J_PASSWORD = "passwordneo", | |
} = process.env; |
- แจแแแแกแ แแแกแแแจแ แแแแแ แ แแชแฎแแแแ(1,2,3...) 1 แแแ 100-แแแ.
- แจแแแแกแ แแแกแแแจแ แแแแขแ แแแแแ แ แแชแฎแแแแ 1 แแแ 50 แแแ
- แจแแแแกแ แแแกแแแจแ 4-แแก แฏแแ แแแ แแแแแ แ แแชแฎแแแแ, 1 แแแ 200 แแแ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"pollName": "แแแแแแแแฎแแแก แกแแฎแแแ", | |
"endDate": "2020-01-01 19:00:00", | |
"startDate": "2020-01-01 19:00:00", | |
"questions": [ | |
{ | |
"questionText": "1", | |
"answers": [ | |
{ | |
"text": "1.1", |