Skip to content

Instantly share code, notes, and snippets.

View stalinkay's full-sized avatar
💭
Ominverse 🌌

Stalin Kay stalinkay

💭
Ominverse 🌌
View GitHub Profile
#!/bin/bash
# Copyright (c) <2018> <Maksym Rusynyk>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
@stalinkay
stalinkay / conventional_commit_messages.md
Created September 27, 2023 14:00 — forked from qoomon/conventional_commit_messages.md
Conventional Commit Messages

Conventional Commit Messages

See how a minor change to your commit message style can make a difference. Examples

Have a look at CLI util git-conventional-commits to ensure this conventions and generate changelogs

Commit Formats

Default

@stalinkay
stalinkay / .ignore
Created August 20, 2023 17:36 — forked from hereisderek/.ignore
my homebrew install list
dump.list
@stalinkay
stalinkay / readme-mde.md
Created August 20, 2023 17:20 — forked from ThePredators/readme-mde.md
Setup Mobile Development Environment

⭐ Setup Mobile Development Environment

⚠️ The following configuration has been tested on Intel, M1 & M2 Ships ⚠️

Pre-requisit :

If you have any issues with macOS, or need anything related to it check this documentation

Install Xcode Command Line tools :

@stalinkay
stalinkay / pyenv_macos_virtualenv.md
Created August 7, 2023 08:30 — forked from tasercake/pyenv_macos_virtualenv.md
Setting up pyenv virtualenvs on a Mac (with Homebrew)

Install Pyenv & Pyenv-virtualenv

Install Python build dependencies

xcode-select --install
brew install openssl readline sqlite3 xz zlib

Install using Homebrew

@stalinkay
stalinkay / install_pyenv_mac_zsh.rst
Created August 7, 2023 08:30 — forked from josemarimanio/install_pyenv_mac_zsh.rst
Installing pyenv on macOS for Zsh using Homebrew
/db
/plugins
/uploads
/logs
@stalinkay
stalinkay / sample_multiline.yml
Created July 24, 2023 08:40 — forked from usmansaleem/sample_multiline.yml
multiline docker environment variable (via docker compose)
environment:
SERVER_NAME: "myserver.doma.in"
# Dummy key, cert
SSL_KEY: |-
-----BEGIN RSA PRIVATE KEY-----
MIICXQIBAAKBgQD272jYrLm8Ph5QpMWFcWUO9Ua1EviykalP+tkMIg12yZ3GvezF
y8aayxdztB5vu68jqMeg6mOJlscWqFUhmAxj4mDknYenVzVX2CKzCgHlGninTKxY
61rXDaDZVpSZ+XIESJkaB0z9HHYtrSLr0coKmq4cT5TRptOnkpDlJxIRaQIDAQAB
AoGATcTYoGTFmiN2KK+8BWrRCQT2X9C5woNdb3LxKIEQ/HhC2HS4PRMQWW/c0vPH
IilZ30EoneUztAFochpRtWLNg4lJoLy04X/eNjEiC/imp0KSwWXmnuLhDcWcb0+M
apt-get upgrade -y
apt-get dist-upgrade -y
apt-get install -y update-manager-core
iptables -I INPUT -p tcp --dport 1022 -j ACCEPT'
sudo sed -i 's/Prompt=.*/Prompt=normal/' /etc/update-manager/release-upgrades
rm /var/run/reboot-required*
do-release-upgrade --frontend=DistUpgradeViewNonInteractive
#"DistUpgradeViewText", "DistUpgradeViewGtk", "DistUpgradeViewKDE"
@stalinkay
stalinkay / obsidian-daily-note-template.txt
Created January 23, 2023 20:54 — forked from dannberg/obsidian-daily-note-template.txt
Dann Berg's Daily Note Template for Obsidian. Uses Dataview & Templater plugins. Should be saved as a Markdown file in Obsidian. Read the full tour: https://dannb.org/blog/2022/obsidian-daily-note-template/
---
created: <% tp.file.creation_date() %>
---
tags:: [[+Daily Notes]]
# <% moment(tp.file.title,'YYYY-MM-DD').format("dddd, MMMM DD, YYYY") %>
<< [[<% fileDate = moment(tp.file.title, 'YYYY-MM-DD-dddd').subtract(1, 'd').format('YYYY-MM-DD-dddd') %>|Yesterday]] | [[<% fileDate = moment(tp.file.title, 'YYYY-MM-DD-dddd').add(1, 'd').format('YYYY-MM-DD-dddd') %>|Tomorrow]] >>
---