- python 2.7 (or 2.6 may suffice)
- scrapy 0.16.3 +dependencies
- pyquery
Aims
| import subprocess | |
| desired_output = '*{color:#2290f0}' | |
| # Iterate through possible values of 'amount' | |
| for amount in range(1, 100): # Adjust the range as needed | |
| # Create the Sass code with the current 'amount' | |
| sass_code = f'*{{color:darken(#3a9cf2, {amount})}}' | |
| # Run the Sass command and capture the output |
| sudo wget -qO - https://www.eparaksts.lv/files/ep3updates/debian/public.key | sudo apt-key add - | |
| sudo apt-add-repository "deb https://www.eparaksts.lv/files/ep3updates/debian focal eparaksts" | |
| sudo apt-get install eparakstitajs3 | |
| sudo apt-get install awp | |
| sudo apt-get install latvia-eid-middleware | |
| sudo apt-get install eparaksts-token-signing |
| #!/bin/bash | |
| gource \ | |
| -s .03 \ | |
| -1280x720 \ | |
| --auto-skip-seconds .1 \ | |
| --multi-sampling \ | |
| --stop-at-end \ | |
| --key \ | |
| --highlight-users \ |
| #!/bin/bash | |
| gource \ | |
| -s .03 \ | |
| -1280x720 \ | |
| --auto-skip-seconds .1 \ | |
| --multi-sampling \ | |
| --stop-at-end \ | |
| --key \ | |
| --highlight-users \ |
| 1. Production | |
| 2018-10-11 07:21:56,544 DEBUG Upgraded connection daphne.response.GkzuNjvJfr!CdnKwdIibr to WebSocket daphne.response.GkzuNjvJfr!QfSjmSanWT | |
| 2018-10-11 07:21:56,750 DEBUG WebSocket daphne.response.GkzuNjvJfr!QfSjmSanWT open and established | |
| 2018-10-11 07:21:56,752 DEBUG WebSocket daphne.response.GkzuNjvJfr!QfSjmSanWT accepted by application | |
| 2018-10-11 07:21:56,752 DEBUG Sent WebSocket packet to client for daphne.response.GkzuNjvJfr!QfSjmSanWT | |
| 2018-10-11 07:21:56,753 DEBUG Sent WebSocket packet to client for daphne.response.GkzuNjvJfr!QfSjmSanWT | |
| 2018-10-11 07:24:38,789 DEBUG WebSocket closed for daphne.response.GkzuNjvJfr!QfSjmSanWT | |
| 2. Sandbox |
| service elasticsearch stop | |
| yum list installed | grep elastic | |
| yum remove elasticsearch.noarch | |
| wget https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-1.7.0.noarch.rpm | |
| yum install elasticsearch-1.7.0.noarch.rpm | |
| rm /var/lock/subsys/elasticsearch -Rf | |
| rm -Rf /var/lib/elasticsearch/* | |
| service elasticsearch start | |
| curl -XGET '127.0.0.1:9200' |
| sudo apt-get install zlib1g-dev | |
| sudo apt-get install g++ | |
| sudo apt-get install uuid-dev | |
| export VENV=$VIRTUAL_ENV | |
| mkdir $VENV/packages && cd $VENV/packages | |
| curl -O http://oligarchy.co.uk/xapian/1.2.18/xapian-core-1.2.18.tar.xz | |
| curl -O http://oligarchy.co.uk/xapian/1.2.18/xapian-bindings-1.2.18.tar.xz |
| rbt post -o --guess-summary --guess-description --tracking-branch=origin/master |