Skip to content

Instantly share code, notes, and snippets.

View Kremilly's full-sized avatar
🏳️‍⚧️
Work for building a better life

Kremilly Kremilly

🏳️‍⚧️
Work for building a better life
View GitHub Profile
fetch('https://gh-pinned-api.vercel.app/api?user=kremilly').then(
json => json.json()
).then(callback => {
console.log(callback)
})
@Kremilly
Kremilly / setup.py
Created November 16, 2023 16:40
setup.py pip
import os
import sys
from setuptools import find_packages, setup
def read(rel_path: str) -> str:
here = os.path.abspath(os.path.dirname(__file__))
# intentionally *not* adding an encoding option to open, See:
# https://github.com/pypa/virtualenv/issues/201#issuecomment-3145690
with open(os.path.join(here, rel_path)) as fp:
@Kremilly
Kremilly / .env
Last active April 2, 2024 10:40
.env Linkscraper template
# Env file created with Linkscraper (v.2.5.1)
# File generated in: 2024-02-21 09:21:58
# Get key: https://www.virustotal.com/gui/my-apikey
VIRUSTOTAL_KEY=YOUR_VIRUSTOTAL_KEY
# Get key: https://api.imgur.com/oauth2/addclient
IMGUR_CLIENT_API=YOUR_CLIENT_API
# Get key: https://console.cloud.google.com/apis/credentials
@Kremilly
Kremilly / allow-ext.json
Created October 25, 2023 04:02
Extensions allowed in Linkscraper
[
".js", "min.js",
".css", ".min.css",
".png", ".gif", ".svg", ".tiff", ".webp", ".avif", ".jpeg", ".jpg", ".jxr", ".wdp", ".hdp", ".jp2", ".j2k", ".jpf", ".jpx", ".jpm", ".mj2"
]
@Kremilly
Kremilly / paimon.txt
Last active October 10, 2023 21:04
paimon-example.txt
// ENGLISH
// -> Comment
! -> Parameter
!name -> String -> What name the downloaded file will have (OPTIONAL)
RANDOM_NAME -> Macro that allows generating random names for the file (OPTIONAL)
!path -> String -> Which folder the file will be saved in (OPTIONAL, default -> Downloads folder)
DOWNLOAD_PATH -> Macro that fetches the operating system's Downloads folder.
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
body {
font-family: "HelveticaNeue-Light", sans-serif, "宋体","Segoe WPC", "Segoe UI", "SFUIText-Light","Droid Sans Fallback";
font-size: 18px;
padding: 0 12px;
line-height: 1.6;
@Kremilly
Kremilly / languages.json
Created March 31, 2023 12:55
ISO code of languages in world
[
{
"code": "aa",
"name": "Afar",
"native": "Afar"
},
{
"code": "ab",
"name": "Abkhazian",
"native": "Аҧсуа"
@Kremilly
Kremilly / countries.json
Last active April 1, 2023 11:24
ISO code of countries in world
[{"id":4,"alpha2":"af","alpha3":"afg","name":"Afghanistan"},
{"id":8,"alpha2":"al","alpha3":"alb","name":"Albania"},
{"id":12,"alpha2":"dz","alpha3":"dza","name":"Algeria"},
{"id":20,"alpha2":"ad","alpha3":"and","name":"Andorra"},
{"id":24,"alpha2":"ao","alpha3":"ago","name":"Angola"},
{"id":28,"alpha2":"ag","alpha3":"atg","name":"Antigua and Barbuda"},
{"id":32,"alpha2":"ar","alpha3":"arg","name":"Argentina"},
{"id":51,"alpha2":"am","alpha3":"arm","name":"Armenia"},
{"id":36,"alpha2":"au","alpha3":"aus","name":"Australia"},
{"id":40,"alpha2":"at","alpha3":"aut","name":"Austria"},
@Kremilly
Kremilly / http-status-code.json
Created March 25, 2023 21:23
HTTP Status Code
{
"100": {
"code": "100",
"message": "Continue",
"description": "indicates that the initial part of a request has been received and has not yet been rejected by the server.",
"spec_title": "RFC7231#6.2.1",
"spec_href": "https://tools.ietf.org/html/rfc7231#section-6.2.1"
},
"101": {
"code": "101",
@Kremilly
Kremilly / activate-w11.bat
Created November 8, 2022 19:51
Script for activate Windows 11 Pro
slmgr /ipk W269N-WFGWX-YVC9B-4J6C9-T83GX
slmgr /skms kms8.msguides.com
slmgr /ato