Skip to content

Instantly share code, notes, and snippets.

View isharadilshan's full-sized avatar

Ishara Dilshan isharadilshan

View GitHub Profile
@isharadilshan
isharadilshan / line_of_code.sh
Created January 21, 2025 04:34
Line of code
#!/bin/bash
# Variables
start_date="2024-07-01"
end_date="2024-07-05"
branch="develop"
# Checkout branch and pull the latest changes
git checkout $branch
git pull
@isharadilshan
isharadilshan / bit_code_strip.sh
Last active January 21, 2025 04:35
Xcode 16 hermes engine strip bitcode script
#!/bin/bash
# Function to check if a binary contains bitcode
check_bitcode() {
local binary_path=$1
if otool -l "$binary_path" | grep -q __LLVM; then
echo "$binary_path contains bitcode."
echo "$binary_path" >> bitcode_frameworks.txt
else
echo "$binary_path does not contain bitcode."
@isharadilshan
isharadilshan / contributing.md
Created March 18, 2020 10:42
How to contribute open source

Contributing

When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.

Please note we have a code of conduct, please follow it in all your interactions with the project.

Pull Request Process

  1. Ensure any install or build dependencies are removed before the end of the layer when doing a
@isharadilshan
isharadilshan / readme.md
Last active March 18, 2020 09:53
Readme file template

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites