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
[ | |
{name: 'Afghanistan', code: 'AF'}, | |
{name: 'Åland Islands', code: 'AX'}, | |
{name: 'Albania', code: 'AL'}, | |
{name: 'Algeria', code: 'DZ'}, | |
{name: 'American Samoa', code: 'AS'}, | |
{name: 'AndorrA', code: 'AD'}, | |
{name: 'Angola', code: 'AO'}, | |
{name: 'Anguilla', code: 'AI'}, | |
{name: 'Antarctica', code: 'AQ'}, |
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
export function useDebounce() { | |
function debounce<T extends (...args: any[]) => void>(func: T, wait: number, immediate: boolean = false) { | |
let timeout: ReturnType<typeof setTimeout> | null = null | |
// return function (this: any, ...callbackArgs: Parameters<T>) { | |
return function (...callbackArgs: Parameters<T>) { | |
// const context = this | |
function later() { | |
timeout = null |
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 re | |
from difflib import SequenceMatcher | |
import random | |
import Levenshtein | |
from rapidfuzz import fuzz, process | |
from thefuzz import fuzz as thefuzz | |
import pandas | |
from unidecode import unidecode | |
# https://www.datacamp.com/tutorial/fuzzy-string-python |
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 globals from 'globals' | |
import eslint from '@eslint/js' | |
import eslintPluginVue from 'eslint-plugin-vue' | |
import typescriptEslint from 'typescript-eslint' | |
import stylistic from '@stylistic/eslint-plugin' | |
export default typescriptEslint.config( | |
{ | |
ignores: [ | |
'*.d.ts', |
OlderNewer