Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env bash
# Abort sign off on any error
set -e
# Start the benchmark timer
SECONDS=0
# Repository introspection
OWNER=$(gh repo view --json owner --jq .owner.login)
@mjbalcueva
mjbalcueva / password-input.tsx
Last active April 30, 2024 16:56
shadcn ui custom password input
"use client"
import { forwardRef, useState } from "react"
import { EyeIcon, EyeOffIcon } from "lucide-react"
import { Button } from "@/components/ui/button"
import { Input, InputProps } from "@/components/ui/input"
import { cn } from "@/lib/utils"
const PasswordInput = forwardRef<HTMLInputElement, InputProps>(
({ className, ...props }, ref) => {
@Klerith
Klerith / instalaciones-next.md
Last active April 30, 2024 16:56
Instalaciones recomendadas para el curso de Next.js 13 >
@imba-tjd
imba-tjd / .Cloud.md
Last active April 30, 2024 16:55
☁️ 一些免费的云资源

IaaS指提供系统(可以自己选)或者储存空间之类的硬件,软件要自己手动装;PaaS提供语言环境和框架(可以自己选);SaaS只能使用开发好的软件(卖软件本身);BaaS一般类似于非关系数据库,但各家不通用,有时还有一些其它东西。

其他人的集合

@khimaros
khimaros / 00default-release
Last active April 30, 2024 16:54
debian testing with automatic security updates from unstable
APT::Default-Release "testing";
@bosconian-dynamics
bosconian-dynamics / AliceBotCT1.js
Last active April 30, 2024 16:49
Automated cracker for Hackmud Discord's AliceBot tier-1 lock simulations
class AliceBotCT1 {
constructor( httpHeaders ) {
this.alicebotMacro = "!alicebot.out_4l1c3b"
this.discordClient = new DiscordClient( httpHeaders.authorization, httpHeaders.cookie, httpHeaders.superProperties )
this.lockArgs = null
this.latency = {
process: {
start: null,
value: 0
},
@edokeh
edokeh / index.js
Last active April 30, 2024 16:50
佛祖保佑,永无 BUG
//
// _oo0oo_
// o8888888o
// 88" . "88
// (| -_- |)
// 0\ = /0
// ___/`---'\___
// .' \\| |// '.
// / \\||| : |||// \
// / _||||| -:- |||||- \
@shoogle
shoogle / qt-without-xcode.md
Last active April 30, 2024 16:45
Qt without XCode - how to use Qt Creator for macOS software development without installing XCode

Qt without Xcode

How to use Qt Creator for software development on macOS without having to install Xcode

Justification

Qt refuses to install on macOS unless Apple's Xcode is installed beforehand. This is unfortunate because: