Skip to content

Instantly share code, notes, and snippets.

@Dlfaith
Dlfaith / gist:0d43be3dfb296bb6260af75ef082faa8
Created December 6, 2022 02:51
Free Windows Server 2022 Product Key
Free Windows Server 2022 Standard Product Key
HP9DJ-NK2X6-4QPCH-8HY8H-6X2XY
RRNMT-FP29D-CHKCH-GWQP2-DDDVB
44QN4-X3R72-9X3VK-3DWD6-HFWDM
Free Windows Server 2022 Datacenter Product Key
WX4NM-KYWYW-QJJR4-XV3QB-6VM33
Download windows Sever 2022 Evaluation edition:
Windows Server 2022 Evaluation English
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Z-Index Example</title>
<style>
html, body { background-color: #00787F; }
.container {
position: relative;
tell application "Finder"
activate
set these_items to the selection
log these_items
repeat with this_item in these_items
set item_name to (get displayed name of this_item)
if item_name is not ".DS_Store" then
set current_com to (get comment of this_item)
if current_com is not "" then
set comment of this_item to current_com as string
@VincentH-Net
VincentH-Net / Extensions.cs
Created April 9, 2024 18:03
ASP.NET Core Minimal API's Endpoints registration helper
// Endpoints registration helper
// Enables DI for a group of endpoints to reduce init code and repeating parameters across endpoints
// Usage in e.g. Program.cs:
app.RegisterEndpoints(
typeof(CatalogEndpoints),
typeof(BasketsEndpoints)
);
import Make from "@rbxts/make";
import { useMountEffect } from "@rbxts/pretty-react-hooks";
import React, { useRef } from "@rbxts/react";
interface Props extends React.PropsWithChildren {
readonly ExtraCameraDepth?: number;
readonly Native: React.InstanceProps<ViewportFrame>;
readonly Object: BasePart | Model;
}
@MiraSynth
MiraSynth / cornparser.go
Created April 30, 2024 21:07
A cron string parser in hopes I can use it to schedule jobs
package cron
import (
"fmt"
"strconv"
"strings"
)
const (
MINUTE = 0
#EXTINF:-1,BeIN Sports News
http://iptv.nextnet.krd:25461/nextnet/3738/4335
#EXTINF:-1,BeIN SPORTS 1 FHD
http://iptv.nextnet.krd:25461/nextnet/3738/4338
#EXTINF:-1,BeIN SPORTS 2 FHD
http://iptv.nextnet.krd:25461/nextnet/3738/4339
#EXTINF:-1,BeIN SPORTS 3 FHD
http://iptv.nextnet.krd:25461/nextnet/3738/4340
#EXTINF:-1,BeIN SPORTS 4 FHD
http://iptv.nextnet.krd:25461/nextnet/3738/4341
from abc import ABC
from abc import abstractmethod
from abc import abstractproperty
from dataclasses import dataclass, field
from typing import Any
from typing import AsyncGenerator
from typing import Awaitable
from typing import Callable
from typing import Generator
from typing import Generic
@sanchezzzhak
sanchezzzhak / clickhouse-get-tables-size.sql
Created January 18, 2018 13:43
clickhouse get tables size
SELECT table,
formatReadableSize(sum(bytes)) as size,
min(min_date) as min_date,
max(max_date) as max_date
FROM system.parts
WHERE active
GROUP BY table
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active April 30, 2024 21:07
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This no longer works in browser!

Note

This no longer works if you're alone in vc! Somebody else has to join you!

How to use this script:

  1. Accept the quest under User Settings -> Gift Inventory