python3 setup.py build
Output: build/lib.macosx-10.11-x86_64-3.5/hello.cpython-35m-darwin.so
# Rewrite non /app/build/ requests to /app/build/ | |
RewriteCond %{REQUEST_URI} !^/app/build/ | |
RewriteRule ^(.*)$ /app/build/$1 [L] | |
# Rewrite requests to non-existing files/dirs to /app/build/index.html | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d |
web: | |
image: 'gitlab/gitlab-ee:latest' | |
restart: always | |
hostname: 'gitlab.example.com' | |
environment: | |
GITLAB_OMNIBUS_CONFIG: | | |
external_url 'https://gitlab.example.com' | |
# Add any other gitlab.rb configuration here, each on its own line | |
puma['worker_processes'] = 0 | |
sidekiq['max_concurrency'] = 10 |
HP provides a downloadable "driver" for Linux for the HP 107w printer but there are NO reasonable install instructions provided, and following the "obvious" install process did not get the printer working. | |
The closest I found to HP install instuctions once I knew more is https://support.hp.com/in-en/document/c05588857 | |
Since I found this annoying and wasted more time on getting this printer working under Linux, I'm sharing a summary of what did work (on Debian 10). | |
1. Download the driver file from https://support.hp.com/us-en/drivers/selfservice/hp-laser-100-printer-series/24494339/model/24494342 from under the "Basic Drivers" menu for when the OS is set to Linux. | |
The current version now is: "HP Laser 100 and HP Color Laser 150 Printer series Print Driver V1.00.39:00.12 5.9 MB Mar 20, 2019" |
# https://gitlab.com/help/ci/quick_start/README | |
# https://docs.gitlab.com/ee/ci/introduction/ | |
# https://docs.gitlab.com/ee/ci/yaml/ | |
image: dpolyakov/docker-node-latest-with-rsync:latest | |
# before_script: | |
# - apt-get update -qq | |
# - apt-get install -qq git |
For this configuration you can use web server you like, i decided, because i work mostly with it to use nginx.
Generally, properly configured nginx can handle up to 400K to 500K requests per second (clustered), most what i saw is 50K to 80K (non-clustered) requests per second and 30% CPU load, course, this was 2 x Intel Xeon
with HyperThreading enabled, but it can work without problem on slower machines.
You must understand that this config is used in testing environment and not in production so you will need to find a way to implement most of those features best possible for your servers.
Reference
Remove sensitive files from Git/Github
In Terminal
git filter-branch --index-filter 'git rm --cached --ignore-unmatch [file path/name]' --prune-empty --tag-name-filter cat -- --all
Example: