Skip to content

Instantly share code, notes, and snippets.

View lewisakura's full-sized avatar
🌸
さくら

lewisakura lewisakura

🌸
さくら
View GitHub Profile
@lewisakura
lewisakura / proxy.lua
Created October 19, 2021 15:14
WebhookProxy
local HttpService = game:GetService("HttpService")
local Proxy = {}
Proxy.__index = Proxy
local function safeReq(url: string, data: any)
local info = HttpService:RequestAsync({
Url = url,
Method = "POST",
@lewisakura
lewisakura / dream-pastebin.md
Last active May 31, 2021 09:03
Dream's Pastebin post was taken down, either by him or Pastebin staff. This is a repost of it.

I feel like this is something important to talk about, I’ve been very withheld for a while about it all and just decided it’d probably be best to just let it out so I can feel relaxed a little more I guess. This will be a very long read i’m sure, I’m writing this in my bath at 4am on my phone so forgive any mistakes or confusing bits.

Back in October/November of 2020, I for the first time since when 1.16 had just released I decided to try and speedrun 1.16 some to get a decent time. My goal was to get a time faster than 25 minutes, which was a good time and fairly obtainable at the time for me without spending months speedrunning. We had or were just about to switch manhunt to 1.16 and I wanted to get practice for that, and then speedrun for a better 1.15 time, because my record on 1.15 had been beaten.

After running for about a week, I got a 19 minute time (that arguably could have been lower, ironically enough due to bad luck). I started running 1.15 directly after, and a few day’s later there were some

@lewisakura
lewisakura / kache.lua
Last active September 26, 2021 20:43
The Kache module.
local DataStoreService = game:GetService("DataStoreService")
local Kache = {}
local _sharedInstances = {}
local _crossServerInstances = {}
--[[
A yielding version of xpcall.
@lewisakura
lewisakura / twistplyr.user.js
Created September 22, 2020 16:59
TwistPlyr
// ==UserScript==
// @name TwistPlyr
// @version 0.1
// @description Converts twist.moe's player to Plyr, which is a lot more stable and doesn't stutter as much, as well as using partial content instead of livestreaming.
// @author LewisTehMinerz
// @match https://twist.moe/a/*
// @grant none
// ==/UserScript==
((d, script, link, style) => {
Import-Module powerline
Import-Module psgit
Import-Module posh-git
$prompt = @(
# uncomment for time
#{ Get-Date -f "T" }
{ Get-SegmentedPath -SegmentLimit 5 -Foreground Black }
# not very nice way of doing this but if i do it where it adds to a string it borks
{ New-PromptText { if (-Not (Test-Success)) { "" } else { " " } } -Bg White -EBg Red -Fg Black -EFg White }
Takedown Notice Pursuant to the Digital Millennium Copyright Act of 1998
To Whom It May Concern,
This is a notice in accordance with the Digital Millennium Copyright Act of 1998 (DMCA) requesting that you immediately cease to provide access to copyrighted material. I wish to report an instance of Copyright Infringement, whereby the infringing material appears on a website for which you are the host.
The infringing material, which I contend belongs to me, is the following:
https://vexera.io main logo / Vexera bot main logo
The original material is located on my website at the following URLs:
https://vexera.io/assets/img/main-logo.png
@lewisakura
lewisakura / tutorial.md
Last active August 12, 2022 06:40
How to make a Discord bot using Eris.

Your first Discord bot

So, you want to get in to writing Discord bots? I'm glad you're here!

Before we begin...

This tutorial will go over how to use node.js, but you still need to have basic knowledge on JavaScript. I'm not a Python or Java bot developer, so if you were looking for tutorials on that you'll need to find another one. Sorry!

Prerequisites

  • node.js
  • knowledge of javascript
  • knowledge of eris

Keybase proof

I hereby claim:

  • I am lewistehminerz on github.
  • I am lewistehminerz (https://keybase.io/lewistehminerz) on keybase.
  • I have a public key ASAf_AyPpeZDhxQSu0uoMwOKWqVSxPRgk6LNAPH1khlVIQo

To claim this, I am signing this object: