Add this to ~/.config/alacritty/alacritty.yml
colors:
primary:
background: "0x2c2e34"
/* | |
* MIT License | |
* | |
* Copyright (c) 2023-2024 Fabio Lima | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to deal | |
* in the Software without restriction, including without limitation the rights | |
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
* copies of the Software, and to permit persons to whom the Software is |
This content moved here: https://exploringjs.com/impatient-js/ch_arrays.html#quickref-arrays
;; Enable ligatures without prettify-symbols | |
(provide 'add-pragmatapro-symbol-keywords) | |
(defconst pragmatapro-fontlock-keywords-alist | |
(mapcar (lambda (regex-char-pair) | |
`(,(car regex-char-pair) | |
(0 (prog1 () | |
(compose-region (match-beginning 1) | |
(match-end 1) |
APP_NAME="gogs" | |
MYSQL_PASSWORD="change_me" | |
HOSTNAME="example.com" | |
# setup mysql server and database | |
debconf-set-selections <<CONFIG | |
mysql-server-5.5 mysql-server/root_password password ${MYSQL_PASSWORD} | |
mysql-server-5.5 mysql-server/root_password_again password ${MYSQL_PASSWORD} | |
CONFIG | |
apt-get install -y --force-yes mysql-server |
gogs: | |
image: gogs/gogs:latest | |
ports: | |
- "3000:3000" | |
- "10022:22" | |
volumes: | |
- ./data:/data | |
drone: | |
image: drone/drone:0.4 | |
# build: . |
Replace 192.168.99.100 by your DOCKER_HOST IP
# Configure the server
curl 'http://192.168.99.100:3000/install' \
-H 'Origin: null' -H 'Accept-Encoding: gzip, deflate' \
-H 'Accept-Language: fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4' \
-H 'Upgrade-Insecure-Requests: 1' \
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36' \
{# style 1 - long form #} | |
{% if filepath == '/var/opt/tomcat_1' %} | |
{% set tomcat_value = tomcat_1_value %} | |
{% else %} | |
{% set tomcat_value = tomcat_2_value %} | |
{% endif %} | |
{# style 2 - short form #} | |
{% set tomcat_value = tomcat_1_value if (filepath == '/var/opt/tomcat_1') else tomcat_2_value %} |