- Run
npm install cordova-res --save-dev
- Create
1024x1024px
icon atresources/icon.png
- Create
2732x2732px
splash atresources/splash.png
- Add
"resources": "cordova-res ios && cordova-res android && node scripts/resources.js"
toscripts
inpackage.json
- Copy
resources.js
file toscripts/resources.js
- Run
sudo chmod -R 777 scripts/resources.js
- Run
npm run resources
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 | |
#TODO Delete proxy when user choise all | |
container_name="???" | |
red=`tput setaf 1` | |
cyan=`tput setaf 6` | |
reset=`tput sgr0` | |
CONTAINERS_FOLDER="$HOME/containers" | |
CHOICES=('shared' 'geocoding' 'jptrack' 'fm' 'kpi' 'gm') |
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
alias good_night='shutdown -P 30' | |
alias docker_ip=fct_docker_ip | |
alias docker_pretty='docker ps --format "table {{.ID}}\t{{.Image}}\t{{.Ports}}\t{{.Names}}"' | |
alias docker_clear=fct_docker_clear | |
fct_docker_ip(){ | |
docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' "$1" | |
} | |
fct_docker_clear(){ |
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
server { | |
listen 80; | |
root /var/www/jpandco/jp_relay/public; | |
index index.php index.html index.htm; | |
# server_name local.relay.api; | |
location / { | |
sendfile off; |
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 | |
DOCKER_PIDS=$(docker ps -a -q) | |
if [ -n "$DOCKER_PIDS" ]; then | |
docker stop $DOCKER_PIDS && docker rm $DOCKER_PIDS | |
fi |
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
[Desktop Entry] | |
Version=1.0 | |
Type=Application | |
Name=PhpStorm | |
Icon=/home/themoroccan09/programs/phpstorm/bin/phpstorm.png | |
Exec="/home/themoroccan09/programs/phpstorm/bin/phpstorm.sh" %f | |
Comment=The Drive to Develop | |
Categories=Development;IDE; | |
Terminal=false | |
StartupWMClass=jetbrains-phpstorm |
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
global | |
#debug | |
chroot /var/lib/haproxy | |
user haproxy | |
group haproxy | |
pidfile /var/run/haproxy.pid | |
# Default SSL material locations | |
ca-base /etc/ssl/certs | |
crt-base /etc/ssl/private |
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
global | |
#debug | |
chroot /var/lib/haproxy | |
user haproxy | |
group haproxy | |
pidfile /var/run/haproxy.pid | |
# Default SSL material locations | |
ca-base /etc/ssl/certs | |
crt-base /etc/ssl/private |
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
<!DOCTYPE hibernate-configuration PUBLIC | |
"-//Hibernate/Hibernate Configuration DTD 3.0//EN" | |
"http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd"> | |
<hibernate-configuration> | |
<session-factory> | |
<!-- JDBC Database connection settings --> | |
<property name="connection.driver_class">com.mysql.cj.jdbc.Driver</property> |