Skip to content

Instantly share code, notes, and snippets.

View zlocate's full-sized avatar

Denis zlocate

View GitHub Profile
@zlocate
zlocate / keepassxc-sync-passwords.path
Created July 10, 2022 11:30
KeePassXC database cloud sync (by rclone & systemd service)
[Path]
PathModified=YOUR_KEEPASSXC_LOCAL_DATABASE_PATH
Unit=keepassxc-sync-passwords.service
[Install]
WantedBy=multi-user.target
@zlocate
zlocate / 010editor_reset.sh
Created February 17, 2023 21:09
010Editor cleanup config and license info ;)
#!/bin/sh
rm ~/.local/share/SweetScape/010\ Editor/010Editor130.cfg
rm ~/.local/share/SweetScape/010\ Editor/010Editor.installed
rm ~/.config/SweetScape/010\ Editor.ini
@zlocate
zlocate / alibaba-vendor.md
Created June 15, 2023 12:20 — forked from emilio-martinez/alibaba-vendor.md
Topin 365GPS Server config

365GPS office address Contact: Erik Liu Address: 505 Block B, Donglian Building, Chuangye Second Road, Baoan District, Shenzhen, Guangdong, China(广东省深圳市宝安区创业二路东联大厦B座505,洪浪北地铁站旁) Mobile/ wechat/ whatsapp: +86-13480999031
Alibaba: 365gps.en.alibaba.com Skype: topin.sales
E-mail: [email protected]

============================================================= Hi

@zlocate
zlocate / .gitlab-ci.yml
Created August 16, 2023 11:20
Gitlab CI build, test, deploy NPM package (with global node modules cache)
# .gitlab-ci.yml
stages:
- build
- test
- deploy
# global cache settings for all jobs
# Ensure compatibility with the install job
#!/bin/bash
# Get node_modules dirs total size
# find . -name "node_modules" -type d -prune -print | xargs du -chs /
# Remove all node_modules dirs
find . -name 'node_modules' -type d -prune -print -exec rm -rf '{}' \;
@zlocate
zlocate / git-config-user-for-remote.md
Created November 10, 2023 23:17 — forked from BadgerCode/git-config-user-for-remote.md
Use different emails for different git repositories

Edit ~/.gitconfig

[user]
        email = [email protected]
        name = Michael Hawkins
[includeIf "hasconfig:remote.*.url:[email protected]:YOUR_COMPANY_NAME/**"]
        path = ~/Documents/Projects/Work/.gitconfig
@zlocate
zlocate / README.md
Last active December 15, 2023 21:55
Script for getting list of installed packages

Manjaro Helpers (Installed Packages)

Скрипты для получения списка установленных пакетов / aur-зависимостей. Полезны при миграции с одной сборки на другую или при переустановке системы.

@zlocate
zlocate / README.md
Last active December 17, 2023 13:10
Создание загрузочной флешки под Linux из ISO образа при помощи dd

Скрипт cоздания загрузочной флешки из ISO-образа

Этот скрипт позволяет записывать ISO-образ на указанное устройство (например, usb-флешку) при помощи dd.

Использование

./write-iso-to-usb.sh /path/to/manjaro.iso /path/to/device
@zlocate
zlocate / PKGBUILD
Created March 7, 2024 18:49
Rapid SSH Proxy (https://github.com/Snawoot/rsp) package build config (PKGBUILD) for Arch Linux/Manjaro
pkgbase='rsp'
pkgname=('rsp')
_module='rsp'
pkgver='1.0.1'
pkgrel=1
pkgdesc="Rapid SSH Proxy"
url="https://github.com/Snawoot/rsp"
depends=('python' 'python-asyncssh')
makedepends=('python-setuptools')
license=('MIT')
@zlocate
zlocate / kaniko-build-docker-image.yml
Created March 7, 2024 18:51
CI pipeline for building Docker images at Kubenertes cluster with Kaniko (env flag customization also available)
stages:
- build
variables:
REGISTRY_IMAGE_PATH: "${CI_REGISTRY}/${CI_PROJECT_NAMESPACE}/${CI_PROJECT_NAME}:${CI_COMMIT_SHORT_SHA}"
PUSH_IMAGE: "true"
GIT_DEPTH: 1
DOCKER_FILE_NAME: "Dockerfile"
kaniko-build-docker-image: