Skip to content

Instantly share code, notes, and snippets.

View stalinkay's full-sized avatar
💭
Ominverse 🌌

Stalin Kay stalinkay

💭
Ominverse 🌌
View GitHub Profile
@stalinkay
stalinkay / reflection_and_annotations.md
Created November 11, 2024 17:20 — forked from psygo/reflection_and_annotations.md
Reflection and Annotations in Dart

Reflection in Dart

Unfortunately, [since mirrors currently bloat compiled code][no_support_mirrors], it isn't supported for Flutter or web apps. A [workaround][source_gen_tutorial] would be to use a package like [source_gen][source_gen].

dart:mirrors

Most of the info here, comes from [Understanding Reflection and Annotations in Dart tutorial][reflection_tutorial], from the Fullstack Dart and Flutter Tutorials YouTube channel. He also created a [gist][gist_tutorial] with it.

@stalinkay
stalinkay / apple-tv-screen-saver-feeds.txt
Created September 27, 2024 00:42 — forked from theothernt/apple-tv-screen-saver-feeds.txt
A list of the feeds Apple uses for its video screensavers
tvOS 10: 1080p + H.264
http://a1.phobos.apple.com/us/r1000/000/Features/atv/AutumnResources/videos/entries.json
tvOS 11: 1080p/4K + SDR/HDR + HEVC
https://sylvan.apple.com/Aerials/2x/entries.json
https://t27q97zg19.execute-api.us-east-1.amazonaws.com/prod/aerialAltJSON/4kEntites.json
tvOS 12: 4K + SDR/HDR + HEVC, 1080p + H.264, localised descriptions
https://sylvan.apple.com/Aerials/resources.tar
#!/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-commits-cheatsheet.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