Skip to content

Instantly share code, notes, and snippets.

View Venipa's full-sized avatar
:shipit:
Working from home

Venipa

:shipit:
Working from home
View GitHub Profile
@Venipa
Venipa / instagram-native-html5-player.user.js
Last active June 1, 2024 08:18
Instagram - Brings HTML5 native player to top layer v2
// ==UserScript==
// @name Instagram HTML5 Video
// @namespace https://venipa.net
// @version 0.1
// @description try to take over the world!
// @author Venipa
// @match https://www.instagram.com/*
// @updateURL https://gist.github.com/Venipa/f9a91ba80d2f99297cc2bd7081cc87f6/raw/e98b7d9f29e91e7fe5aef14101380b9532a0df61/instagram-native-html5-player.user.js
// @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant unsafeWindow
@Venipa
Venipa / dark-adonis5-docs.user.css
Last active May 16, 2021 19:18
Userstyle - Dark mode for Adonis JS 5 Docs
/* ==UserStyle==
@name Dark mode for docs.adonisjs.com
@namespace venipa.net
@version 1.0.0
@description Dark mode for Adonis JS 5 Docs
@author Venipa <[email protected]>
==/UserStyle== */
@-moz-document domain("docs.adonisjs.com") {
:root {
--background-color: #101010;
const COLOR_SCHEMES = {
Adjacency6: [
"#a9a57c",
"#9cbebd",
"#d2cb6c",
"#95a39d",
"#c89f5d",
"#b1a089",
],
Advantage6: [
@Venipa
Venipa / timeghost-dark.user.css
Last active August 28, 2020 14:30
dark mode for timeghost
/* ==UserStyle==
@name timeghost - going dark
@namespace github.com/openstyles/stylus
@version 1.0.0
@description A new userstyle
@author [email protected]
==/UserStyle== */
@-moz-document domain("web.timeghost.io") {
:root {
--base-bg: #242424;
class Queue {
static queue = [];
static pendingPromise = false;
static enqueue(promise) {
return new Promise((resolve, reject) => {
this.queue.push({
promise,
resolve,
reject,
@Venipa
Venipa / yt2mp3.venipa.net-bookmark-convert
Created October 18, 2019 17:10
Add the Bookmark with this code as url
javascript:"use strict";!function(){const e=new URL(window.location.href);const t=/(?:youtube\.com\/(?:[^\/]+\/.+\/|(?:v|e(?:mbed)?)\/|.*[?&]v=)|youtu\.be\/)([^"&?\/ ]{11})/i;if(!t.test(e.href))return;const o=t.exec(e.href)[1];var n,i;o&&(n=o,(i=document.createElement("a")).style="position: absolute; z-index: -1; width: 0; height: 0; opacity: 0",i.href="https://yt2mp3.venipa.net/video/"+n,i.target="_blank",i.click(),i.remove())}();
import { Resolver, ResourceProxy, Lang, Message, Command, Util, Client, Logger } from "@yamdbf/core";
import { Collection, Emoji } from "discord.js";
const log = Logger.instance('EmojiResolver');
export class EmoteResolver extends Resolver {
public constructor(client: Client)
{
super(client, 'Emoji');
}

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

package stringUebung;
import java.util.Random;
import java.util.Scanner;
public class Sbuilder {
public static void main(String[] args) {
new Sbuilder().start();
}
package banknoten;
import java.util.Random;
import java.util.Scanner;
public class Helper {
public static String ReadLine() {
return ReadLine(new Scanner(System.in), 0);
}
public static String ReadLine(Scanner sc, int musthaveLength) {