Skip to content

Instantly share code, notes, and snippets.

View ilirhushi's full-sized avatar
Working

Ilir Hushi ilirhushi

Working
View GitHub Profile
@eveningkid
eveningkid / react-native-reanimated-drag-sort_apple-music.jsx
Last active November 2, 2024 23:36
React Native Reanimated 2 Multiple Drag and Sort: Apple Music Example
// Expo SDK40
// expo-blur: ~8.2.2
// expo-haptics: ~8.4.0
// react-native-gesture-handler: ~1.8.0
// react-native-reanimated: ^2.0.0-rc.0
// react-native-safe-area-context: 3.1.9
import React, { useState } from 'react';
import {
Image,
import React from 'react';
import {Platform, Text, StyleSheet, TextInput, View, TouchableOpacity} from 'react-native';
import {Overlay, Header} from 'react-native-elements';
import DateTimePicker from '@react-native-community/datetimepicker';
import moment from "moment";
export interface IProps {
date?: string;
placeholder?: string;
@edyrkaj
edyrkaj / countdown.helper.ts
Last active February 5, 2020 15:22
Helper method for countdown
/**
* This class has a static a method `run` which needs to pass a callback method in order to get back the values
* for minutes and seconds
* If you need to show number values with zeros on pad start you have an example at the end of this code:
* Countdown
* run {method}
* @author Eledi Dyrkaj <[email protected]>
*/
export class Countdown {
/**
@edyrkaj
edyrkaj / MapService.php
Last active September 24, 2023 15:36
Google Maps API Curl Call - Laravel Service
<?php
/**
* Copyright (c) 2017. Ezeclip
*/
namespace App\Services;
class MapService {
// Define Constants
const GOOGLE_API_KEY = "XXX";
@arniebradfo
arniebradfo / any.component.html
Last active October 22, 2024 18:40
Angular *ngFor recursive list tree template
<h1>Angular 2 Recursive List</h1>
<ul>
<ng-template #recursiveList let-list>
<li *ngFor="let item of list">
{{item.title}}
<ul *ngIf="item.children.length > 0">
<ng-container *ngTemplateOutlet="recursiveList; context:{ $implicit: item.children }"></ng-container>
</ul>
</li>
</ng-template>
@parmentf
parmentf / GitCommitEmoji.md
Last active December 4, 2024 19:19
Git Commit message Emoji
@rxaviers
rxaviers / gist:7360908
Last active December 5, 2024 00:42
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue: