Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Venipa Venipa

🏠
Working from home
View GitHub Profile
View wallhaven-unsub-all-tags.js
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 Oct 18, 2019
Add the Bookmark with this code as url
View yt2mp3.venipa.net-bookmark-convert
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())}();
View EmoteResolver.ts
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');
}
View keybase.md

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:

View Sbuilder.java
package stringUebung;
import java.util.Random;
import java.util.Scanner;
public class Sbuilder {
public static void main(String[] args) {
new Sbuilder().start();
}
View Helper.java
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) {
@Venipa
Venipa / upload.php
Last active Jun 9, 2017
Simple File Upload
View upload.php
<?php
$target_dir = "uploads/".date("Y-m-d");
if(!file_exists($target_dir)) {
mkdir($target_dir);
}
$maxfilesize = 200; //MB
$filetype = ".".pathinfo($_FILES["files"]["name"], PATHINFO_EXTENSION);
$target_file = $target_dir . "/[" . date("h.m.s") . "]" . random_str(2) . "_" . $_FILES["files"]["name"];
$key = "Qvnpk7wVaYqHDEqkSCw31YWUd7bmNVaJbwsokX9aqzGDlhMb4a";
$postkey = isset($_POST["key"]) ? stripslashes(trim($_POST["key"])) : null;
View License CCGLoader
Copyright (c) 2016 Venipa
Simple you bought it you can use it.
No sharing of the product.
You can’t perform that action at this time.