Skip to content

Instantly share code, notes, and snippets.

View n3k0lai's full-sized avatar

Nicholai n3k0lai

View GitHub Profile
@n3k0lai
n3k0lai / shoreline.html
Created February 2, 2024 19:53
7tv Shoreline widget
<span class="painted-content" style="--d515ae50: linear-gradient(0deg,rgba(5, 102, 141, 1) 25%,rgba(2, 195, 154, 1) 55%,rgba(240, 243, 189, 1) 75%); --2cda1276: drop-shadow(0px 0px 0.1px rgba(2, 195, 154, 1)); display: block;"><span class="username" style="color: rgb(255, 170, 0); background-size: cover !important; background-color: currentColor; background-image: var(--d515ae50); filter: var(--2cda1276); -webkit-text-fill-color: transparent; -webkit-background-clip: text !important; background-clip: text !important; font-weight: 700;">n3k0lai</span></span>
@n3k0lai
n3k0lai / filter
Last active February 27, 2024 14:40
chatterino mega filter
((flags.highlighted) || (flags.system_message) || (flags.first_message) || (author.badges) contains ("Moderator") || (author.badges) contains ("Verified") || (author.badges) contains ("Staff") || (author.badges) contains ("Broadcaster") || (author.badges) contains ("Admin") || (author.badges) contains ("VIP")) && (author.name) != ("Fossabot") && (author.name) != ("Streamlabs") && (author.name) != ("StreamElements") && (author.name) != ("AmazefulBot") && (author.name) != ("Moobot") && (author.name) != ("Nightbot") && (author.name) != ("SchnozeBot") && (author.name) != ("Snusbot") && (author.name) != ("ThePositiveBot") && (author.name) != ("Supibot") && (author.name) != ("BlammoBot")
# this script runs an android mirroring
# program optimized for capture by stream
# https://github.com/Genymobile/scrcpy
$scrcpyDir = 'C:\Program Files\scrcpy-win64\'
$recordingsDir = 'D:\phone recordings\'
# --no-display
$AllArgs = @('--max-size', '1920', '--bit-rate', '2m')
@n3k0lai
n3k0lai / gist:c3ce515dd6aeca4bc2f999e4488fc468
Last active July 3, 2019 09:52
Imparture email domain block list
@imparture.com
@thisisimparture.com
@mailers.trainingbyimparture.com
@mail.lmparturenyc.com
@mail.learnwithimparture.com
@mail.lmparturedenver.com
@mail.imparturenow.com
@imparturega.com
@mail.imparture.net
@mail.imparture.us.com
@n3k0lai
n3k0lai / angularModuleFinder.js
Created August 15, 2018 14:47
Lists all connected modules in an angular page
// pass in a string of module name like "pageContent"
function debugModules(rootModuleName) {
var modulesToExplore = [rootModuleName];
var results = {};
var moduleName, module;
while (modulesToExplore.length > 0) {
moduleName = modulesToExplore.splice(0, 1)[0];
$black:
$white: #fff
$success-green: #30ED62;
$error-red:
$warning-red: #f05a7f
$gold-star: #a292ff;
$classic-base-color: #333;
$classic-primary-color:
$classic-secondary-color

Keybase proof

I hereby claim:

  • I am catlover91 on github.
  • I am me0wmix (https://keybase.io/me0wmix) on keybase.
  • I have a public key whose fingerprint is 8934 8F23 6A40 68F7 9E1D 58F4 3C77 E3BA 1E97 2ED1

To claim this, I am signing this object:

@n3k0lai
n3k0lai / BabbysFirstCantusFirmus
Last active August 29, 2015 14:13
A Cantus Firmus written in Lillypond
\version "2.12.0"
\header{
title = "Babby's First Cantus Firmus"
subtitle = "A Cantus Firmus written in Lillypond"
}
% Rules for Writing a Cantus Firmus
% 1. The cantus must be between eight and sixteen notes in length, all of the
class Board
constructor: (temp) ->
@board = temp.board ? [0,0,0,0,0,0,0,0,0]
@turnNumber = temp.turn ? 0
@over = temp.over ? false
@winner = temp.winner ? "In progress"
win: (playerGuess) ->
result = false
if @board[0] is @board[1] and @board[0] is @board[2]