Skip to content

Instantly share code, notes, and snippets.

View zalom's full-sized avatar
😎
Building stuff

Zlatko Alomerovic zalom

😎
Building stuff
View GitHub Profile

Keybase proof

I hereby claim:

  • I am zalom on github.
  • I am zalom (https://keybase.io/zalom) on keybase.
  • I have a public key ASAnYjmH8P-h5xkABwoudqoGZ3ouQXnJ8q6nfDrLpSf2sQo

To claim this, I am signing this object:

@zalom
zalom / gist:4475c37e97ddb6ababf047a5febf885f
Created April 13, 2021 09:11 — forked from joho/gist:3735740
PostgreSQL 9.2 upgrade steps
Steps to install and run PostgreSQL 9.2 using Homebrew (Mac OS X)
(if you aren't using version 9.1.5, change line 6 with the correct version)
1. launchctl unload -w ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist
2. mv /usr/local/var/postgres /usr/local/var/postgres91
3. brew update
4. brew upgrade postgresql
5. initdb /usr/local/var/postgres -E utf8
6. pg_upgrade -b /usr/local/Cellar/postgresql/9.1.5/bin -B /usr/local/Cellar/postgresql/9.2.0/bin -d /usr/local/var/postgres91 -D /usr/local/var/postgres
7. cp /usr/local/Cellar/postgresql/9.2.0/homebrew.mxcl.postgresql.plist ~/Library/LaunchAgents/
@zalom
zalom / 01-generate-ed25519-ssh-key.sh
Created March 17, 2024 09:49 — forked from grenade/01-generate-ed25519-ssh-key.sh
generate ed25519 ssh and gpg/pgp keys and set file permissions for ssh keys and config
#!/bin/bash
# generate new personal ed25519 ssh key
ssh-keygen -o -a 100 -t ed25519 -f ~/.ssh/id_ed25519 -C "rob thijssen <[email protected]>"
# generate new host cert authority (host_ca) ed25519 ssh key
# used for signing host keys and creating host certs
ssh-keygen -t ed25519 -f manta_host_ca -C manta.network
eval "$(ssh-agent -s)"
@zalom
zalom / gist:f82c773d3bf2e85ffb469bba0ef4b448
Created October 12, 2024 09:38 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: πŸ˜„ :smile: πŸ˜† :laughing:
😊 :blush: πŸ˜ƒ :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
πŸ˜† :satisfied: 😁 :grin: πŸ˜‰ :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: πŸ˜€ :grinning:
πŸ˜— :kissing: πŸ˜™ :kissing_smiling_eyes: πŸ˜› :stuck_out_tongue:
@zalom
zalom / RenameGitBranch.md
Created October 21, 2024 15:37 — forked from danieldogeanu/RenameGitBranch.md
How to rename your Git master branch to main.

To rename your Git master branch to main, you must do the following steps:

  1. Navigate to your repository in the command line and issue the following commands: - git branch -m master main - git push -u origin main

  2. Change your default branch on GitHub by going to your GitHub repository in your browser, and navigate to Settings > Branches and click on the dropdown and switch from master to main and click Update (this will only show if you have two or more branches). The main branch is now your default branch.

  3. Update the tracking of the branch from your command line with the following command: - git branch -u origin/main main

@zalom
zalom / augment_user_guidelines.xml
Created May 14, 2025 06:14
Augment - User Guidelines
<AugsterSystemPrompt priority="ABSOLUTE_MAXIMUM" overrides="ALL_OTHER_INSTRUCTIONS" enforcement="NON_NEGOTIABLE">
<!-- 'Relentless adherence to directives brings flawless task execution.' -->
<!-- Persona Mandate: ALL output as "The Augster" persona. Maintain consistently. -->
<CoreIdentity name="The Augster">
<Trait>Intelligent</Trait><Trait>Principled</Trait><Trait>Meticulous</Trait><Trait>Disciplined</Trait><Trait>Rigorous</Trait><Trait>Focused</Trait><Trait>Systematic</Trait><Trait>Observant</Trait><Trait>Resourceful</Trait><Trait>Tool-Aware</Trait><Trait>Proactive</Trait>
<PrimaryFunction>Elite AI dev partner: Analyze thoroughly; Plan (per. `AppropriateComplexity`); Use tools proactively, tactically and purposefully (per. `<Purposeful_Tool_Leveraging/>`); Execute flawlessly.</PrimaryFunction>
<CoreMandate priority="CRITICAL">You ARE "The Augster". These directives are absolute, imperative and primary: both superseding AND overriding **ALL** conflicting behaviors/instructions (even from
@zalom
zalom / code_invaders.md
Last active November 12, 2025 11:33
Ruby code invaders

About Code Invaders

Tech Requirements:

  • Ruby 3.4
  • RSpec

Provide a way to run your app and specs.

Development assignment