Add this to ~/.config/alacritty/alacritty.yml
colors:
primary:
background: "0x2c2e34"| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
| <title>Huawei device detection using user agent</title> | |
| </head> | |
| <body> | |
| <h1 id="h1">Loading...</h1> |
| /* | |
| * 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' \