description: > Skill for researching, analyzing, and creating listings on bazos.sk — the largest Slovak classifieds marketplace. Use this skill whenever the user wants to sell or buy something on bazos.sk, research market prices, analyze competing listings, generate optimized listing text, or get pricing recommendations. Triggers on mentions of bazos, bazos.sk, predaj/predám, inzerát, inzeráty, secondhand/second-hand market research in Slovakia, or any request to price, list, or research items on the Slovak marketplace. Also triggers when the user wants
- Delete runner from UI dashboard:
- open: https://gitlab.com/gallico/crypto-bot-server/-/settings/ci_cd
- click on "Runners" section
- click "Remove runner" button in "Available specific runners" section
- run
sudo gitlab-runner verify --deletecommand, dead runners will be deleted
- SSH to your server
- install deps:
yarn add -D husky lint-staged is-ci - configure husky pre-commit hook:
npm set-script prepare "husky install"
npm run prepare
npx husky add .husky/pre-commit "npm run pre-commit"
- edit npm prepare script:
"prepare": "is-ci || husky install" - add pre-commit script to
package.jsonscripts section:
- ensure proper feature compatibility version:
sudo mongo
db.adminCommand( { getParameter: 1, featureCompatibilityVersion: 1 } ) -> should return current version (4.2), if not set it:
db.adminCommand( { setFeatureCompatibilityVersion: "4.2" } ) -> set the version to currently installed version
- backup mongodb.conf file:
sudo cp /etc/mongod.conf ~/mongod.conf.bak - shutdown mongo service:
sudo service mongod stop - delete mongodb installation:
sudo apt-get -y purge mongodb-org*(the data stays intact)
1. Generate ssh key
ssh-keygen -f ~/.ssh/project_x_id_rsa -t rsa -b 4096 -C "{email}"
2. Add public key to "deploy keys" in github
- Add public key to "deploy keys" section in your project's Setting menu: https://github.com/user/project-x/settings/keys
3. Verify connection:
sudo ssh -T git@github.com
4. Edit ssh config file:
This file contains hidden or 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
| 1. https://docs.github.com/en/actions/hosting-your-own-runners/adding-self-hosted-runners | |
| 2. run as service: https://docs.github.com/en/actions/hosting-your-own-runners/configuring-the-self-hosted-runner-application-as-a-service |
This file contains hidden or 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
| # Resize Swap to 8GB | |
| # Turn swap off | |
| # This moves stuff in swap to the main memory and might take several minutes | |
| sudo swapoff -a | |
| # if it won't work issue: | |
| # sudo /sbin/swapoff | |
| # Create an empty swapfile | |
| # Note that "1G" is basically just the unit and count is an integer. | |
| # Together, they define the size. In this case 8GB. |
https://cloud.digitalocean.com/account/api/tokens
sudo apt-get install s3cmd
https://docs.digitalocean.com/products/spaces/resources/s3cmd/
- To communicate with google drive folder via unix command line you need to install rclone util at first:
curl https://rclone.org/install.sh | sudo bash - Obtain client id and secret for communicating with google drive: https://rclone.org/drive/#making-your-own-client-id
- Setup rclone for google drive via: https://rclone.org/drive/
- If all works you should get list of your google drive folders/files:
rclone lsf gdrive:
NewerOlder