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 / 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 / 404-page-lost-in-space.markdown
Created March 20, 2020 23:33
404 Page - Lost In Space
@MedRedha
MedRedha / Redha Warp Theme.yml
Created November 30, 2022 07:46
Redha Warp Theme
accent: "#00f3bf"
background: "#0f1115"
foreground: "#ffffff"
details: "darker"
terminal_colors:
normal:
black: "#101116"
red: "#ff0064"
green: "#00ff9b"
yellow: "#ff1e00"
@MedRedha
MedRedha / Redha iTerm Colors.itermcolors
Created November 30, 2022 07:36
Redha iTerm/Warp Color Profile
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Ansi 0 Color</key>
<dict>
<key>Alpha Component</key>
<real>1</real>
<key>Blue Component</key>
<real>0.086274512112140656</real>
@MedRedha
MedRedha / flutter-animated-splash.markdown
Last active July 23, 2022 01:53
Flutter Animated Splash

Keybase proof

I hereby claim:

  • I am medredha on github.
  • I am medredha (https://keybase.io/medredha) on keybase.
  • I have a public key ASAxPs1_Ary9xBPf8UwyFugEVVnvBSBpJvUYVLyEhHfkzAo

To claim this, I am signing this object:

@MedRedha
MedRedha / cloudSettings
Last active June 24, 2021 18:58 — forked from kevin-smets/iterm2-solarized.md
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)
{"lastUpload":"2021-06-24T18:58:51.398Z","extensionVersion":"v3.4.3"}
@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 / floating-back-to-top-button-with-smooth-scroll-using-css-jquey.markdown
Created August 29, 2020 01:18
Floating Back to Top Button with Smooth Scroll using CSS & JQuey

Floating Back to Top Button with Smooth Scroll using CSS & JQuey

This type of button is most useful when we have a large amount of content in a single page that time we need this type of button going at the top of the page. Using CSS and JQuery, We can built better interface and make designable button.

When page is scroll down, then button automatically display on the page and when click on button then page will scroll and move on top of the page. Using this button, we can back to the top of the screen without manually scrolling.

A Pen by Rohan Hapani on CodePen.

License.