Skip to content

Instantly share code, notes, and snippets.

View Winens's full-sized avatar
👋
<- &success

İbrahim Can Eldem Winens

👋
<- &success
  • Turkey
View GitHub Profile
@Winens
Winens / android-setup.sh
Created October 23, 2024 20:54 — forked from mate-h/android-setup.sh
Downloads the Android Command Line tools for MacOS and installs the platform-tools (including ADB) package with the sdkmanager CLI. Useful for installing basic Android tooling and the Android Emulator without the need to install Android Studio or the entire SDK.
# install mise from https://mise.jdx.dev/getting-started.html
mise install java@17
mise global java@17
# install brew from https://brew.sh/
# sdkmanager, avdmanager
brew install --cask android-commandlinetools
echo "fish_add_path /opt/homebrew/share/android-commandlinetools/cmdline-tools/latest/bin" > ~/.config/fish/config.fish
@Winens
Winens / CountryCodes.json
Created August 26, 2023 10:34 — forked from anubhavshrimal/CountryCodes.json
Country and Dial or Phone codes in JSON format
[
{
"name": "Afghanistan",
"dial_code": "+93",
"code": "AF"
},
{
"name": "Aland Islands",
"dial_code": "+358",
"code": "AX"
@Winens
Winens / Email Server (Linux, Unix, Mac).md
Created January 23, 2022 15:55 — forked from raelgc/Email Server (Linux, Unix, Mac).md
Setup a Local Only SMTP Email Server (Linux, Unix, Mac)

Setup a Local Only SMTP Email Server (Linux, Unix, Mac)

1 - Point localhost.com to your machine

Most of programs will not accept an email using just @localhost as domain. So, edit /etc/hosts file to make the domain localhost.com point to your machine, including this content to the file:

127.0.0.1 localhost.com

2 - Install Postfix

@Winens
Winens / full-disk-encryption-arch-uefi.md
Created December 6, 2021 15:31 — forked from huntrar/full-disk-encryption-arch-uefi.md
Arch Linux Full-Disk Encryption Installation Guide [Encrypted Boot, UEFI, NVMe, Evil Maid]

Arch Linux Full-Disk Encryption Installation Guide

This guide provides instructions for an Arch Linux installation featuring full-disk encryption via LVM on LUKS and an encrypted boot partition (GRUB) for UEFI systems.

Following the main installation are further instructions to harden against Evil Maid attacks via UEFI Secure Boot custom key enrollment and self-signed kernel and bootloader.

Preface

You will find most of this information pulled from the Arch Wiki and other resources linked thereof.

Note: The system was installed on an NVMe SSD, substitute /dev/nvme0nX with /dev/sdX or your device as needed.