Skip to content

Instantly share code, notes, and snippets.

View saitho's full-sized avatar
💻
Contributing

Mario Lubenka saitho

💻
Contributing
View GitHub Profile
@saitho
saitho / app.js
Created September 19, 2021 21:54
Archive of our Own - Get Top 30 Series by count
// https://archiveofourown.org/media/Anime%20*a*%20Manga/fandoms
const series = [];
for(const a of document.querySelectorAll('.fandom .tag')) {
let m = /(.*) \((\d+)\)/.exec(a.parentNode.innerText);
if (m !== null) {
series.push({title: m[1], count: m[2]})
}
}
series.sort(function(a, b) {
return a.count - b.count;
name: Triggered by PR approval
on:
pull_request_review:
types: [submitted]
# execute integration test when maintainer approves pull request ("success" signal of manual workflow)
integrationtest:
name: Run integration test
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
steps:
@saitho
saitho / activity-box.md
Last active June 16, 2023 06:33
activity-box

❗️ Opened issue #198 in getstackhead/stackhead ❗️ Opened issue #197 in getstackhead/stackhead ❗️ Opened issue #196 in getstackhead/stackhead 🗣 Commented on #195 in getstackhead/stackhead 🗣 Commented on #192 in getstackhead/stackhead

@saitho
saitho / I'm a night 🦉
Last active April 14, 2023 00:20
productive-box
🌞 Morning 84 commits █▎░░░░░░░░░░░░░░░░░░░ 6.2%
🌆 Daytime 551 commits ████████▌░░░░░░░░░░░░ 40.6%
🌃 Evening 516 commits ███████▉░░░░░░░░░░░░░ 38.0%
🌙 Night 207 commits ███▏░░░░░░░░░░░░░░░░░ 15.2%
@saitho
saitho / TwitchError2000Reloader.user.js
Created January 13, 2021 23:41
Tampermonkey - Reload Twitch stream on Error 2000
// ==UserScript==
// @name Twitch Reloader
// @namespace https://github.com/saitho
// @version 0.1
// @description Reload twitch on 2000 error
// @author You
// @match https://www.twitch.tv/*
// @grant none
// ==/UserScript==
@saitho
saitho / app.ts
Created November 2, 2017 21:11
Node.js Steamstore - Redeem key example
const SteamUser = require('steam-user');
const SteamTotp = require('steam-totp');
const SteamStore = require('steamstore');
const client = new SteamUser();
const steamstore = new SteamStore();
client.logOn({
"accountName": "###username###",
"password": "###password###",
<?php
/**
* A helper class for Codeception (http://codeception.com/) that allows automated accessility checks
* (WCAG 2.0, Section508) using the pa11y (http://pa11y.org/) command line tool
* during acceptance testing.
* It uses local binaries and can therefore be run offline.
*
*
* Requirements: