This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| bi | |
| fu | |
| ho | |
| ky | |
| uk | |
| wn | |
| xx | |
| ass | |
| bbw | |
| nig |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // https://jsfiddle.net/v8Lxazhr/ | |
| function changeValue(isIncreasing) { | |
| const valueElement = document.getElementById('valueElement'); | |
| let currentValue = parseInt(valueElement.innerText); | |
| if (isIncreasing) { | |
| currentValue++; | |
| valueElement.style.color = 'green'; | |
| } else { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import type { QwikIntrinsicElements } from "@builder.io/qwik"; | |
| import { component$, Slot } from "@builder.io/qwik"; | |
| export default component$( | |
| <C extends keyof QwikIntrinsicElements>(props: PolyProps<C>) => { | |
| const Component = (props.as ?? "div") as string; | |
| return ( | |
| <Component {...props}> | |
| <Slot /> | |
| </Component> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { Info, DateTime } from "luxon"; | |
| function generateMonthCalendar(dt: DateTime, locale = "en-US") { | |
| const startOfMonth = dt.startOf("month"); | |
| // Prepare an array to fill in the calendar | |
| const calendar = []; | |
| for (let i = 0; i < startOfMonth.weekday - 1; i++) { | |
| calendar.push(" "); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| useOnDocument( | |
| "readystatechange", | |
| $(() => { | |
| const id = setInterval(() => { | |
| isMounted.value = true; | |
| const dt = getTimeLuxon({ timeZone, locale: "en-US" }); | |
| stateTime.value = noSerialize(dt) as DateTime & { | |
| __no_serialize__: true; | |
| }; | |
| }, 1000); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| That function make filter by this map. | |
| [ | |
| { | |
| "si": [ | |
| { | |
| "millimeter": "0.001" | |
| } | |
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { componentQrl, qrl } from "@builder.io/qwik"; | |
| export const qwikSerialized = (dynamicImport, fn = "default") => { | |
| return componentQrl(qrl(dynamicImport, fn)); | |
| } | |
| /* | |
| import Stats from "~/components/widgets/Stats"; | |
| import CallToAction from "~/components/widgets/CallToAction"; | |
| import { qwikSerialized } from "~/utils/qwikSerialized"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| Locales | |
| You can choose from many locales, including some (such as en) that let a single translation support multiple variations of a language (such as en_GB and en_US). | |
| You can localize your extension to any locale that is supported by the Chrome Web Store. If your locale is not listed here, choose the closest alternative. For example, if the default locale of your extension is "de_CH", choose "de" in the Chrome Web Store. | |
| */ | |
| const locales: { label: string; value: string }[] = [ | |
| { label: "العربية", value: "ar" }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| import requests | |
| import json | |
| import re | |
| from slugify import slugify | |
| EMOJI_VERSION = '15.1' | |
| def main(): | |
| text = get_test_file(EMOJI_VERSION) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: "3.1" | |
| services: | |
| web: | |
| image: wordpress:6.4-php8.1-apache | |
| restart: always | |
| volumes: | |
| - ./wordpress:/var/www/html | |
| - ./custom.ini:/usr/local/etc/php/conf.d/custom.ini | |
| env_file: |