Skip to content

Instantly share code, notes, and snippets.

View iuriatan's full-sized avatar

Iuriatan Felipe Muniz iuriatan

View GitHub Profile
@iuriatan
iuriatan / CounterManager.m
Created January 15, 2023 16:28 — forked from velopert/CounterManager.m
React Native iOS Native Component with Swift
#import <React/RCTViewManager.h>
@interface RCT_EXTERN_MODULE(CounterManager, RCTViewManager)
RCT_EXPORT_VIEW_PROPERTY(value, NSNumber)
RCT_EXPORT_VIEW_PROPERTY(leftButtonText, NSString)
RCT_EXPORT_VIEW_PROPERTY(rightButtonText, NSString)
RCT_EXPORT_VIEW_PROPERTY(onPressLeftButton, RCTDirectEventBlock)
RCT_EXPORT_VIEW_PROPERTY(onPressRightButton, RCTDirectEventBlock)
@iuriatan
iuriatan / arch_install.md
Last active February 13, 2023 11:07 — forked from heppu/ARCH_INSTALL.MD
Installing Arch with GPT, dm-crypt, LUKS, LVM and systemd-boot

Create bootable USB

From a linux system:

dd bs=4M if=/path/to/archlinux.iso of=/dev/sdx status=progress && sync

From a windows box, use Rufus and select the dd option when prompted before the recording process.

Boot from USB and set prepare system

note that $keymap means a variable named "keymap". Substitute it for value suitable for you.