Skip to content

Instantly share code, notes, and snippets.

@LufsX
LufsX / clash.yaml
Last active May 9, 2024 16:26
Profile
#####################################
# 基于 DivineEngine/Profiles 的配置文件
# 添加/修改一些基础配置
# 包括 DNS, Custom Rules 等
# 建议搭配 https://github.com/LufsX/shell-sub 并开启增强模式食用 ~
#####################################
# Port of HTTP(S) proxy server on the local end
# port: 7890
@hwkr
hwkr / auto-animate.tsx
Created July 27, 2022 17:51
Auto Animate Component
import { ElementType, HTMLAttributes } from "react";
import { useAutoAnimate } from "@formkit/auto-animate/react";
interface Props extends HTMLAttributes<HTMLElement> {
as?: ElementType;
}
export const AutoAnimate: React.FC<Props> = ({
as: Tag = "div",
children,
@CPT-GrayWolf
CPT-GrayWolf / aacsdb-update
Last active May 9, 2024 16:22
Install Blu-Ray AACS VUK keys for libaacs automatically from the FindVUK database.
#! /bin/bash
#
# This is a simple bash script, designed to allow
# quick download and installation of the FindVUK
# AACS VUK database.
#
# This allows Blu-Ray disks who's VUK is known
# to be played on systems using libaacs.
#
# It's reccomended to schedule this file to run
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active May 9, 2024 16:21
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
@chawyehsu
chawyehsu / makeding.conf
Created May 9, 2024 12:59
思杰马克丁域名列表
4009997658.com
6xigema.com
abbyychina.com
affinitychina.cn
affinitysoft.cn
aida64cn.com
alienskins.cn
anydeskchina.cn
appscan.net.cn
ayoachina.com
import Foundation
import Photos
typealias AssetID = String
class ImageUtil {
static var defaultAlbumName = "App Name"
static var videosAlbumName = "App Name Videos"
@rob5300
rob5300 / DialogueTriggerBehaviour.cs
Last active May 9, 2024 16:16
Example of a PlayableBehaviour
using Ink.Runtime;
using System;
using UnityEngine;
using UnityEngine.Playables;
using UnityEngine.Timeline;
using Dialogue;
[Serializable]
public class DialogueTriggerBehaviour : PlayableBehaviour
{
@chrismccord
chrismccord / dev.exs
Created May 8, 2024 20:06
Live Reload LiveView notify
config :wps, WPSWeb.Endpoint,
live_reload: [
notify: [
live_view: [
~r"lib/wps_web/core_components.ex$",
~r"lib/wps_web/(live|components)/.*(ex|heex)$"
]
],
patterns: [
~r"priv/static/(?!uploads/).*(js|css|png|jpeg|jpg|gif|svg)$",