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', |
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
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
[ | |
{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
Dim wk As Worksheet | |
Private Sub UserForm_Initialize() | |
' 1. Create a list of items to populate the list with | |
' when the user opens the form | |
Me.ComboBox1.AddItem "Kendall Jenner", 0 | |
Me.ComboBox1.AddItem "Kylie Jenner", 1 | |
Me.ComboBox1.AddItem "Kim Kardashian", 2 | |
Me.OptionButton1.Value = True |
This file has been truncated, but you can view the full file.
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
# Top 20K hashes from the Troy Hunt / haveibeenpwned Pwned Passwords list v2 (2018-02-21) | |
# Original raw as published is at https://gist.github.com/roycewilliams/eef06c1148707ce8c8a1dea85768b207 | |
20760336:7c4a8d09ca3762af61e59520943dc26494f8941b:123456 | |
7016669:f7c3bc1d808e04732adf679965ccc34ca7ae3441:123456789 | |
3599486:b1b3773a05c0ed0176787a4f1574ff0075f7521e:qwerty | |
3303003:5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8:password | |
2900049:3d4f2bf07dc1be38b20cd6e46949a1071f9d0e3d:111111 | |
2680521:7c222fb2927d828af22f592134e8932480637c0d:12345678 | |
2670319:6367c48dd193d56ea7b0baad25b19455e529f5ee:abc123 | |
2310111:e38ad214943daad1d64c102faec29de4afe9da3d:password1 |
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 argparse | |
import os | |
import threading | |
import time | |
from urllib import parse | |
import requests | |
BASE_DIR = os.path.dirname(os.path.abspath(__file__)) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Option Explicit | |
Sub assign_MacroToShape() | |
' | |
' This macro assigns a macro to a given shape | |
' | |
'Set variables | |
Dim active_Book As Workbook | |
Set active_Book = ActiveWorkbook |
NewerOlder