Skip to content

Instantly share code, notes, and snippets.

View natemartins's full-sized avatar

Nathanael Martins natemartins

View GitHub Profile
@mbinna
mbinna / podforceupdate.sh
Created December 4, 2012 09:43
Clear CocoaPods cache, re-download and re-install all pods
#!/usr/bin/env bash
rm -rf "${HOME}/Library/Caches/CocoaPods"
rm -rf "`pwd`/Pods/"
pod update
@kcak11
kcak11 / App.md
Last active November 1, 2025 20:43
Country Codes

Country Codes

List of all Country Codes (ISO & Dialing) sorted in alphabetical order.

@hirbod
hirbod / LeanText.tsx
Last active March 12, 2025 07:29
React Native LeanView and LeanText component
import { type ComponentType, createElement, forwardRef } from 'react'
import type { TextProps } from 'react-native'
// uncomment for NativeWind support
//import { cssInterop } from 'nativewind'
const LeanText = forwardRef((props, ref) => {
return createElement('RCTText', { ...props, ref })
}) as ComponentType<TextProps>