Skip to content

Instantly share code, notes, and snippets.

View choubari's full-sized avatar
🎥
in a mission to create valuable coding content

Kawtar CHOUBARI choubari

🎥
in a mission to create valuable coding content
View GitHub Profile
@choubari
choubari / secrets.xml
Created October 13, 2022 14:16
Sample Ad Units for My Muslim App repository
<!-- Sample Ad Units for Muslim App repository -->
<!-- https://github.com/choubari/Muslim-App -->
<!-- For more test ad units, check: https://developers.google.com/admob/android/test-ads -->
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="AdAppID">PUT-YOUR-ADD-APP-ID-HERE</string>
<string name="Home_Banner">ca-app-pub-3940256099942544/6300978111</string>
#!/bin/bash
# Get the commit message from file, which just contains the message
commitMessage=$(cat $1)
# Ensure each commit message is formatted with a project key (eg: JIRA-1234)
pattern="([A-z]{1,5}-[0-9]{1,})+"
if [[ ! "$commitMessage" =~ $pattern ]]; then
echo "Please add an issue number to the commit message: $commitMessage"
exit 1
@choubari
choubari / .gitignore
Created May 27, 2021 20:02
The .gitignore file I use for Unity projects
# This .gitignore file should be placed at the root of your Unity project directory
#
# Get latest from https://github.com/github/gitignore/blob/master/Unity.gitignore
#
/[Ll]ibrary/
/[Tt]emp/
/[Oo]bj/
/[Bb]uild/
/[Bb]uilds/
/[Ll]ogs/