Skip to content

Instantly share code, notes, and snippets.

@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:

@rdump
rdump / Technicolor C2100T DSL modem real DNS.md
Last active April 30, 2024 16:42
Configuring the Centurylink-sold Technicolor C2100T DSL modem to use real DNS

Configuring the Centurylink-sold Technicolor C2100T DSL modem to use real DNS

Here's how to get real DNS set up on a Technicolor C2100T modem. This works at minimum when you're doing PPPoE (the usual method) on a C2100T modem sold or rented to you by Centurylink.

Motivation

When you look up a nonexistent domain name, proper DNS service tells you it doesn't exist by returning Nonexistent Domain (NXDOMAIN).

In contrast, even on business lines, Centurylink's DNS service will snipe NXDOMAIN. Centurylink's servers (nameservers at 205.171.2.25 & 205.171.3.25 at least) return a Centurylink web server IP addresses when you should be getting NXDOMAIN.

@MrAwesomeness
MrAwesomeness / C# guessing game
Created June 2, 2015 21:10
C# guess a number from 1 to 100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication1
{
class Program
{