Skip to content

Instantly share code, notes, and snippets.

View MasudXpeed's full-sized avatar
🌴
On vacation

Masud Rana MasudXpeed

🌴
On vacation
View GitHub Profile
@MasudXpeed
MasudXpeed / Elementor Tab Controls
Last active November 11, 2021 06:27
ELementor tab control base.
<?php
$this->start_controls_tabs(
'data_style_tabs'
);
$this->start_controls_tab(
'data_style_normal_tab',
[
'label' => __( 'Normal', 'textdomain' ),
@MasudXpeed
MasudXpeed / elementor-repeater-control-condition.php
Created November 25, 2021 07:03 — forked from Sharifur/elementor-repeater-control-condition.php
how to use condition inside elementor repeater controls, elementor repeater condition
$this->add_control( 'testimonial_items', [
'label' => esc_html__( 'Testimonial Item', 'appside-master' ),
'type' => Controls_Manager::REPEATER,
'default' => [
[
'designation' => esc_html__( 'Technician', 'appside-master' ),
],
],
'fields' => [
@MasudXpeed
MasudXpeed / rarreg.key
Created November 26, 2021 00:14 — forked from MuhammadSaim/rarreg.key
Step 1: Create a file called rarreg.key Step 2: Paste into the file the raw content of this gist Step 3: Go to Winrar install directory (by default => c:\ProgramFiles\WinRAR\ ) Step 4: Paste the rarreg.key into WinRAR directory Step 5: Enjoy
RAR registration data
WinRAR
Unlimited Company License
UID=4b914fb772c8376bf571
6412212250f5711ad072cf351cfa39e2851192daf8a362681bbb1d
cd48da1d14d995f0bbf960fce6cb5ffde62890079861be57638717
7131ced835ed65cc743d9777f2ea71a8e32c7e593cf66794343565
b41bcf56929486b8bcdac33d50ecf773996052598f1f556defffbd
982fbe71e93df6b6346c37a3890f3c7edc65d7f5455470d13d1190
6e6fb824bcf25f155547b5fc41901ad58c0992f570be1cf5608ba9
import { useCalendar } from '@h6s/calendar';
import { useMachine } from '@xstate/react';
import { Button as AriaButton } from 'ariakit/button';
import clsx from 'clsx';
import { isSunday, isSameDay, addMonths, isFuture, isPast, setDate } from 'date-fns';
import format from 'date-fns/format';
import isWithinInterval from 'date-fns/isWithinInterval';
import { FC, useCallback, useMemo } from 'react';
import Select from '@components/forms/components/Select';
<?php
/*
Register Fonts
*/
function studio_fonts_url() {
$font_url = '';
/*
Translators: If there are characters in your language that are not supported
by chosen font(s), translate this to 'off'. Do not translate into your own language.