Skip to content

Instantly share code, notes, and snippets.

View paulayo93's full-sized avatar
๐ŸŒœ
I code, ship and test enterprise solutions

Paul Oloyede paulayo93

๐ŸŒœ
I code, ship and test enterprise solutions
View GitHub Profile

In terminal:

    nano ~/.bash_profile

Place the following in the opened file:

    # Open Xcode workspace from terminal.
    alias workspace='open -a "/Applications/Xcode.app" *.xcworkspace'
    alias project='open -a "/Applications/Xcode.app" *.xcodeproj'
@paulayo93
paulayo93 / How to convert *app to *ipa
Created October 10, 2024 08:43 — forked from bananita/How to convert *app to *ipa
How to convert *app to *ipa
1. Create a folder called Payload
2. Place the .app folder inside of that
3. Zip up the Payload folder using normal compression
4. Then rename the file with a .ipa extension
@paulayo93
paulayo93 / conventional-commits.md
Created June 29, 2024 15:35 — forked from Zekfad/conventional-commits.md
Conventional Commits Cheatsheet

Quick examples

  • feat: new feature
  • fix(scope): bug in scope
  • feat!: breaking change / feat(scope)!: rework API
  • chore(deps): update dependencies

Commit types

  • build: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
  • ci: Changes to CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)
  • chore: Changes which doesn't change source code or tests e.g. changes to the build process, auxiliary tools, libraries
// MainActivity.java
@Override
protected ReactActivityDelegate createReactActivityDelegate() {
return new ReactActivityDelegate(this, getMainComponentName()) {
@Override
protected ReactRootView createRootView() {
return new RNGestureHandlerEnabledRootView(MainActivity.this);
}
@paulayo93
paulayo93 / podforceupdate.sh
Created November 17, 2022 01:55 — forked from mbinna/podforceupdate.sh
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
import React, { useEffect } from 'react';
import { ActivityIndicator, Dimensions, Image, StyleSheet, View } from 'react-native';
import { PanGestureHandler } from 'react-native-gesture-handler';
import Animated, {
Extrapolate,
Extrapolation,
interpolate,
runOnJS,
useAnimatedGestureHandler,
useAnimatedStyle,
@paulayo93
paulayo93 / Sample.kt
Last active March 18, 2021 10:54
Jetpack Compose Starter Example
package com.example.foodrezipeapp
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.*
import androidx.compose.foundation.gestures.ScrollableDefaults
import androidx.compose.foundation.layout.*
import androidx.compose.material.MaterialTheme
import androidx.compose.material.Surface