Skip to content

Instantly share code, notes, and snippets.

View binury's full-sized avatar

Robin Ury binury

  • Texas
  • 20:45 (UTC -05:00)
View GitHub Profile
@a-tokyo
a-tokyo / dependabot-rn-support.yml
Last active December 7, 2022 01:26
Github action that adds react-native support to dependabot by automatically running pod install after dependabot upgrades an npm/yarn package.
# This adds react-native support to dependabot by automatically running pod install after dependabot upgrades an npm/yarn package.
# Dependabot open issue: https://github.com/dependabot/dependabot-core/issues/935#issuecomment-698481919
name: Update Cocoapods Dependencies after Dependabot package upgrade
on:
push:
branches:
- dependabot/npm_and_yarn/** # OR dependabot/npm_and_yarn/**react-native** to run only for packages that have react-native in the name
pull_request:
branches:
- dependabot/npm_and_yarn/** # OR dependabot/npm_and_yarn/**react-native** to run only for packages that have react-native in the name

ZSH CheatSheet

This is a cheat sheet for how to perform various actions to ZSH, which can be tricky to find on the web as the syntax is not intuitive and it is generally not very well-documented.

Strings

Description Syntax
Get the length of a string ${#VARNAME}
Get a single character ${VARNAME[index]}