Skip to content

Instantly share code, notes, and snippets.

View verticaio's full-sized avatar
💻
Working.....

BabakMammadli verticaio

💻
Working.....
View GitHub Profile
@adaswordlace
adaswordlace / fingerguns.zsh-theme
Last active November 30, 2021 03:49
ZSH prompt with finger guns 👉 😎 👉 (requires emoji support)
# Don't forget to set COMPLETION_WAITING_DOTS=false in your .zshrc - it doesn't always play nice with multiline prompts
# Troubleshooting breadcrumbs:
# Prompt design: http://zsh.sourceforge.net/Doc/Release/Prompt-Expansion.html#Prompt-Expansion
# Zsh Line Editor (zle): http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html
#Broken down into its component pieces because I was tired of looking at a nearly incomprehensible string
FG_USER_BADGE=$'%{$fg_bold[green]%}%n@%m%{$reset_color%}'
FG_TIMESTAMP=$'%{$fg[blue]%}%D{[%X]}%{$reset_color%}'
FG_CWD_DISPLAY=$'%{$fg[white]%}[%~]%{$reset_color%}'
@gschmutz
gschmutz / docker-compose.yml
Last active November 12, 2024 19:44
Docker Compose with Kafka Single Broker, Connect, Schema-Registry, REST Proxy, Kafka Manager
version: '2'
services:
zookeeper:
image: confluentinc/cp-zookeeper:3.3.0
hostname: zookeeper
ports:
- "2181:2181"
environment:
ZOOKEEPER_CLIENT_PORT: 2181
@kwk
kwk / timeular-activity-time.sh
Last active April 16, 2021 19:59
Display amount of time spent in activity tracked by timeular for the current day
#!/bin/bash
set -e
# Go here to create or refresh an API key and API secret and paste them:
# https://profile.timeular.com/#/app/account
# Put this in your ~/.timeular.config
# API_KEY="..."
# API_SECRET="..."