Skip to content

Instantly share code, notes, and snippets.

View hranicka's full-sized avatar

Jaroslav Hranička hranicka

View GitHub Profile
@Remiii
Remiii / README.md
Last active July 6, 2024 13:26
How to delete Vault (AWS Glacier) 🗻

How to delete Vault (AWS Glacier)

This Gist give some tips in order to remove AWS Glacier Vault with AWS CLI (ie. https://aws.amazon.com/en/cli/).

Step 1 / Retrive inventory

$ aws glacier initiate-job --job-parameters '{"Type": "inventory-retrieval"}' --vault-name YOUR_VAULT_NAME --account-id YOUR_ACCOUNT_ID --region YOUR_REGION
@ChuntaoLu
ChuntaoLu / run-multiple-redis-instances.md
Last active January 9, 2020 04:59 — forked from jarvys/run-multiple-redis-instances.md
configure multiple redis servers
  • create a new redis .conf file
$ cp /etc/redis/6379.conf /etc/redis/6380.conf
  • edit /etc/redis/6380.conf, illustrated as below
...
@Im0rtality
Im0rtality / README.md
Last active March 17, 2023 14:36
PHP CLI Debugging in Vagrant using Xdebug and PHPStorm

In host:

  1. Go to PHPStorm Settings > Project settings > PHP > Servers
  2. Add server with following parameters:
    • Name: vagrant (same as serverName= in debug script)
    • Host, port: set vagrant box IP and port
    • Debugger: Xdebug
    • [v] Use path mappings
    • Map your project root in host to relative dir in guest
  • Hit OK