Skip to content

Instantly share code, notes, and snippets.

View MedRedha's full-sized avatar
:octocat:
In Code We Trust

Med Redha Khelifi MedRedha

:octocat:
In Code We Trust
View GitHub Profile
@MedRedha
MedRedha / pulse.sh
Last active November 27, 2025 04:21
Pulse - Checking the vital signs of your developer toolchain
#!/bin/bash
# ____ ___
# /\ _`\ /\_ \
# \ \ \L\ \ __ __\//\ \ ____ __
# \ \ ,__//\ \/\ \ \ \ \ /',__\ /'__`\
# \ \ \/ \ \ \_\ \ \_\ \_ /\__, `\/\ __/
# \ \_\ \ \____/ /\____\/\____/\ \____\
# \/_/ \/___/ \/____/ \/___/ \/____/
#
# Checking the vital signs of your developer toolchain.
@MedRedha
MedRedha / payload.json
Last active February 15, 2024 12:45
Trigger Xcode Simulator Push Notification
// SINCE IT'S A JSON FILE - PLEASE REMOVE ALL THE COMMENTS -
// You can trigger a local push notification on your simulator by either:
// 1. Change file extension from .json to .apns and Drag & Drop the payload.apns on the simulator
// 2. Use terminal with following commandline: xcrun simctl push booted [APP BUNDLE ID] payload.json
// ENJOY!! 🎉
{
"Simulator Target Bundle": "com.apple.mobilecal", // add app bundle id here Calendar app for example
"aps": {
"alert": {
@MedRedha
MedRedha / FILENAME.STYLE.TSX
Last active November 18, 2020 10:43
Legal Doctrine Mobile Project TypeScript File Structure Boilerplate
//////// FILENAME.STYLE.TS ////////
import { Dimensions, Platform, StyleSheet } from 'react-native';
const { width, height } = Dimensions.get('window');
const styles = StyleSheet.create({
mainContainer: {
width,
height,
@MedRedha
MedRedha / flutter-animated-splash.markdown
Last active July 23, 2022 01:53
Flutter Animated Splash
@MedRedha
MedRedha / css-gooey-menu-version-2.markdown
Created April 21, 2020 12:04
CSS Gooey Menu (Version 2)
@MedRedha
MedRedha / light-effect-by-mariano-zorrilla.markdown
Created April 16, 2020 00:41
Light effect by Mariano Zorrilla
@MedRedha
MedRedha / index.html
Created March 25, 2020 17:04
Navigation bar concept
<div class="wrapper">
<div class="item menu">
<div class="linee linee1"></div>
<div class="linee linee2"></div>
<div class="linee linee3"></div>
</div>
<div class="item gallery">
<div class="dot dot1"></div>
<div class="dot dot2"></div>
<div class="dot dot3"></div>