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
xcode-select --install | |
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
brew doctor | |
brew tap homebrew/services | |
brew install bash-completion |
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/sh | |
# xcode command line - Select: "Get xcode" and go get a coffee (preferably far from your desk :) | |
xcode-select --install | |
# homebrew | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
# will ask to install the command line tools for macOS if the previous step was not executed | |
brew tap caskroom/cask | |
brew tap caskroom/versions |
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
APP_NAME=Akaunting | |
APP_ENV=production | |
APP_LOCALE=en-GB | |
APP_INSTALLED=true | |
APP_KEY=base64:wuPocbFwZTuWQoiVFTzyMU7ZNe8CTq0CY6pf3G8nIQI= | |
APP_DEBUG=false | |
APP_LOG_LEVEL=debug | |
APP_URL=http://akaunting.lrvl | |
DB_CONNECTION=mysql |
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
version: "3" | |
services: | |
webserver: | |
build: | |
context: ./bin/webserver | |
container_name: '5.6.x-webserver' | |
restart: 'always' | |
ports: | |
- "8080:80" |
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 | |
if [[ -z `grep "net.ipv6.conf.all.disable_ipv6 = 1" /etc/sysctl.conf` ]]; then | |
echo "net.ipv6.conf.all.disable_ipv6 = 1" | sudo tee -a /etc/sysctl.conf | |
echo "net.ipv6.conf.default.disable_ipv6 = 1" | sudo tee -a /etc/sysctl.conf | |
echo "net.ipv6.conf.lo.disable_ipv6 = 1" | sudo tee -a /etc/sysctl.conf | |
fi | |
sudo sysctl -p |
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
{ | |
"id": 56145, | |
"sub_total": "2671.00", | |
"coupon_discount": "0.00", | |
"delivery_charge": "50.00", | |
"total": "2721.00", | |
"status": 10, | |
"payment_status": 3, | |
"paid_amount": "2721.00", | |
"invoice_email": null, |
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
########################################################### | |
###################### General Setup ###################### | |
########################################################### | |
### Paths ################################################# | |
# Point to the path of your applications code on your host | |
APP_CODE_PATH_HOST=../7.1/ | |
# Point to where the `APP_CODE_PATH_HOST` should be in the container |
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 | |
function day($value) { | |
return date('d', strtotime($value)); | |
} | |
function equal($one, $second) { | |
return $one == $second; | |
} |
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
[ | |
{"id":1,"name":"Afghanistan","country_code":"AF","dial_code":"+93","currency_name":"Afghanafgani","currency_code":"AFN","currency_symbol":"؋","created_at":"2020-04-1017:37:33","updated_at":"2020-04-1017:37:48"}, | |
{"id":2,"name":"AlandIslands","country_code":"AX","dial_code":"+358","currency_name":"","currency_code":"","currency_symbol":"","created_at":"2020-04-1017:37:33","updated_at":"2020-04-1017:37:48"}, | |
{"id":3,"name":"Albania","country_code":"AL","dial_code":"+355","currency_name":"Albanianlek","currency_code":"ALL","currency_symbol":"L","created_at":"2020-04-1017:37:33","updated_at":"2020-04-1017:37:48"}, | |
{"id":4,"name":"Algeria","country_code":"DZ","dial_code":"+213","currency_name":"Algerian dinar","currency_code":"DZD","currency_symbol":"د.ج","created_at":"2020-04-1017:37:33","updated_at":"2020-04-1017:37:48"}, | |
{"id":5,"name":"American Samoa","country_code":"AS","dial_code":"+1684","currency_name":"","currency_code":"","currency_symbol":"","created_at":"2020-04-1017:37:33","updat |