This file contains 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
{ | |
"success": true, | |
"project": { | |
"calendar": "2", | |
"startDate": "2020-10-13 08:00:00" | |
}, | |
"calendars": { | |
"rows": [ | |
{ | |
"id": "1", |
This file contains 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 | |
namespace Scriptburn\ElequentUuid\Traits; | |
use Illuminate\Database\Eloquent\ModelNotFoundException; | |
use Ramsey\Uuid\Uuid; | |
/** | |
* Trait UuidModel | |
* @package App\Traits | |
*/ | |
trait UuidModel |
This file contains 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
{ | |
"name": "foursite", | |
"version": "1.2.1", | |
"description": "Foursite project management application", | |
"main": "webpack.config.js", | |
"scripts": { | |
"serve": "php artisan serve --port=8084", | |
"dev": "SET NODE_ENV=development & webpack --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js", | |
"watch": "SET NODE_ENV=development & webpack --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js", | |
"mac": "export NODE_ENV=development&&webpack NODE_OPTIONS=--max-old-space-size=4096 --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js", |
This file contains 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
curl -O https://raw.githubusercontent.com/angristan/openvpn-install/master/openvpn-install.sh | |
chmod +x openvpn-install.sh | |
export AUTO_INSTALL=y | |
export APPROVE_INSTALL=y | |
export ENDPOINT=$(curl -4 ifconfig.co) | |
export APPROVE_IP=y | |
export IPV6_SUPPORT=n | |
export PORT_CHOICE=1 | |
export PROTOCOL_CHOICE=1 | |
export DNS=1 |
This file contains 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
# This file specifies files that are *not* uploaded to Google Cloud Platform | |
# using gcloud. It follows the same syntax as .gitignore, with the addition of | |
# "#!include" directives (which insert the entries of the given .gitignore-style | |
# file at that point). | |
# | |
# For more information, run: | |
# $ gcloud topic gcloudignore | |
# | |
.gcloudignore | |
# If you would like to upload your .git directory, .gitignore file or files |
This file contains 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
{ | |
"af": | |
{ | |
"af-ZA": ["Afrikaans (Suid-Afrika)", "af-ZA", "Afrikaans (South Africa)"] | |
}, | |
"am": | |
{ | |
"am-ET": ["አማርኛ (ኢትዮጵያ)", "am-ET", "Amharic (Ethiopia)"] | |
}, | |
"hy": |
This file contains 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
var SimpleCache = function() { | |
var _values = {}; | |
var getTime = function() { | |
return Date.now() / 1000 | 0 | |
} | |
this.get = function(key) { | |
if (!(key in _values)) { | |
return null | |
} | |
var vl = _values[key]; |
This file contains 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
#!/usr/bin/env bash | |
cecho() { | |
declare -A colors | |
colors=( | |
['black']='\E[0;47m' | |
['red']='\E[0;31m' | |
['green']='\E[0;32m' | |
['yellow']='\E[0;33m' |
This file contains 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
#!/usr/bin/env bash | |
# https://developers.supportbee.com/blog/setting-up-cucumber-to-run-with-Chrome-on-Linux/ | |
# https://gist.github.com/curtismcmullan/7be1a8c1c841a9d8db2c | |
# http://stackoverflow.com/questions/10792403/how-do-i-get-chrome-working-with-selenium-using-php-webdriver | |
# http://stackoverflow.com/questions/26133486/how-to-specify-binary-path-for-remote-chromedriver-in-codeception | |
# http://stackoverflow.com/questions/40262682/how-to-run-selenium-3-x-with-chrome-driver-through-terminal | |
# http://askubuntu.com/questions/760085/how-do-you-install-google-chrome-on-ubuntu-16-04 | |
# Versions | |
CHROME_DRIVER_VERSION=`curl -sS chromedriver.storage.googleapis.com/LATEST_RELEASE` |
This file contains 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
#!/bin/bash | |
set -euo pipefail | |
IFS=$'\n\t' | |
# Ubuntu 16.04 Dev Server | |
# Run like - bash install_lamp.sh | |
# Script should auto terminate on errors | |
echo -e "\e[96m Adding PPA \e[39m" | |
sudo add-apt-repository -y ppa:ondrej/apache2 |
NewerOlder