Skip to content

Instantly share code, notes, and snippets.

View djmango's full-sized avatar
🥫
Cooking

Sulaiman Ghori djmango

🥫
Cooking
View GitHub Profile
@djmango
djmango / signpainter.sh
Last active July 18, 2024 00:53
script to install my basic stuff on servers
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
curl -s https://install.zerotier.com | sudo bash
bash <(curl -s https://raw.githubusercontent.com/lunarvim/lunarvim/master/utils/installer/install.sh)
curl -o config.lua https://gist.githubusercontent.com/djmango/b44a651a4966662cb1fcd7f04289a2ca/raw/1110f2d66dc7a499587ebb09bdcf08027ac92b46/config.lua
curl --proto '=https' --tlsv1.2 -LsSf https://setup.atuin.sh | sh
echo 'eval "$(atuin init zsh)"' >> ~/.zshrc
echo 'eval "$(atuin init bash)"' >> ~/.bashrc
@djmango
djmango / config.lua
Last active June 8, 2024 08:46
My LunarVim config
-- Sulaiman Khan Ghori (https://github.com/djmango)
-- My LunarVim configuration file
-- https://www.lunarvim.org/docs/configuration
local home = os.getenv("HOME")
lvim.colorscheme = "lunar"
lvim.format_on_save = true
lvim.lsp.hover = true
@djmango
djmango / taerminal_lunarvim.yaml
Created October 13, 2023 21:15
Warp LunarVim x Taerminal Theme (invisible padding)
accent: "#8bbce5"
background: "#1A1B26"
details: darker
foreground: "#f0f0f0"
terminal_colors:
bright:
black: "#6f6f6f"
blue: "#c2e3ff"
cyan: "#c0e9f8"
green: "#d6fcba"
@djmango
djmango / swiftink_terms.md
Created August 23, 2023 23:05
Swiftink.io Terms

Swiftink.io Website Terms of Use

Version 1.0

Last revised on August 23, 2023

The website located at www.swiftink.io (the " Site") is a copyrighted work belonging to Swiftink (" Company", " us", " our", and " we"). Certain features of the Site may be subject to additional guidelines, terms, or rules, which will be posted on the Site in connection with such features. All such additional terms, guidelines, and rules are incorporated by reference into these Terms.

These Terms of Use (these " Terms") set forth the legally binding terms and conditions that govern your use of the Site. By accessing or using the Site, you are accepting these Terms (on behalf of yourself or the entity that you represent), and you represent and warrant that you have the right, authority, and capacity to enter into these Terms (on behalf of yourself or the entity that you represent). you may not access or use the Site or accept the Terms if you are not at least 18 years old. If you do not agree wi

@djmango
djmango / swiftink_privacy.md
Created August 23, 2023 23:01
Swiftink.io Privacy Policy

SWIFTINK LIMITED LIABILITY COMPANY PRIVACY POLICY

Swiftink Limited Liability Company (the "Company") is committed to maintaining robust privacy protections for its users. Our Privacy Policy ("Privacy Policy") is designed to help you understand how we collect, use and safeguard the information you provide to us and to assist you in making informed decisions when using our Service.

For purposes of this Agreement, "Site" refers to the Company's website, which can be accessed at www.swiftink.io and www.swiftink.co.uk.

"Service" refers to the Company's services accessed via the Site, in which users can interact with the Swiftink API and services, including uploading media, reading created transcripts, and creating API keys.

The terms "we," "us," and "our" refer to the Company.

@djmango
djmango / transcript.json
Created June 16, 2023 03:52
Example Transcript JSON object
{
"transcription_id": "7cf094b91662b7",
"user_id": "931c215c-b6c6-4b86-96dd-193f18d8c6dc",
"created": "2023-05-03T02:40:52.006612+00:00",
"updated": "2023-05-03T02:41:46.412716+00:00",
"name": "2023-05-03 02:40:52",
"status": "complete",
"orphaned": false,
"translate": false,
"recipients": [
@djmango
djmango / .zshrc
Last active December 1, 2023 22:22
My .zshrc
# zmodload zsh/zprof
source /opt/homebrew/share/antigen/antigen.zsh
# Load the oh-my-zsh's library.
antigen use oh-my-zsh
# Bundles from the default repo (robbyrussell's oh-my-zsh).
antigen bundle command-not-found
antigen bundle direnv
# antigen bundle dirhistory
@djmango
djmango / .zshrc
Last active December 1, 2023 22:22
My Neovim init.vim
source /opt/homebrew/share/antigen/antigen.zsh
# Load the oh-my-zsh's library.
antigen use oh-my-zsh
# Bundles from the default repo (robbyrussell's oh-my-zsh).
antigen bundle command-not-found
antigen bundle direnv
# antigen bundle dirhistory
antigen bundle docker
@djmango
djmango / kb.json
Created February 3, 2023 09:38
Karabiner Complex Modification - VSCode Use Function Keys
{
"title": "Function keys work as fn keys (instead of media keys)",
"rules": [
{
"description": "(Atom, CKII, EUIV, iTerm, muCommander, PyCharm, VSCode, WebStorm, AndroidStudio) Function keys work as fn keys",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "f1",
@djmango
djmango / commerzbank_to_simplifi.py
Created January 8, 2023 08:49
A script to convert a CSV account transaction file exported from Commerzbank to a format that can be imported into Simplifi.
""" A script to convert a CSV account transaction file exported from Commerzbank to a format that can be imported into Simplifi. """
import csv
from datetime import datetime
from pathlib import Path
HERE = Path(__file__).parent
# EUR_TO_USD: float = 1.13
EUR_TO_USD: float = 1.00