Skip to content

Instantly share code, notes, and snippets.

@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
{
@ArtaDante
ArtaDante / DiscordQuest.md
Last active April 30, 2024 16:47
Complete Discord Quest

Complete Recent Discord Quest

Note

Working With Discord Application

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
@aneeshd
aneeshd / heating-cooling.yaml
Last active April 30, 2024 16:38 — forked from f45tb00t/heating.yaml
Home Assistant Blueprint For Heating/Cooling
blueprint:
name: Heating/Cooling Control and Window Sensor
description: Control your heating and cooling with options for group home, if temp is below
a specific value, set temp, and heating between specific times.
domain: automation
input:
state:
name: Scheduled State
description: The desired state.
selector:
@dhruvaray
dhruvaray / chatgpt_macros_bundle.md
Created April 30, 2024 15:05
Macros (for ChatGPT Memory)

command /bundle bundles the working code as a zip file for download. Users will fill in the value of the programming-language. Default value of programming-language is python. Do the following 0. create a project directory structure 1. Add context sensitive logging 2. Add exception handling 3. Follow language style standards 4. Provide a dependency file 5. Provide a build file 6. Provide detailed README.md 7. Provide a blank LICENSE file.

@S-Koell
S-Koell / exportDDL.js
Last active April 30, 2024 16:33 — forked from DominiqueComte/exportDDL.sql
export an Oracle schema DDL with SQLcl
var CopyOption = Java.type("java.nio.file.StandardCopyOption");
// put all files here >>>
var rootPathString = 'C:/Users/dump';
var pathString;
//Create Root Folder for instance.
//var instance = util.executeReturnOneCol('SELECT sys_context(\'USERENV\',\'INSTANCE_NAME\') AS Instance FROM dual');
//rootPathString = rootPathString + "/" + instance;