Skip to content

Instantly share code, notes, and snippets.

Computer Information:
Manufacturer: Valve
Model: Galileo
Form Factor: Laptop
No Touch Input Detected
Processor Information:
CPU Vendor: AuthenticAMD
CPU Brand: AMD Custom APU 0405
CPU Family: 0x17
CPU Model: 0x91
#include <bits/stdc++.h>
#include <iostream>
#include <regex>
#include <cmath>
struct Point {
int64_t x, y;
};
const fs = require("fs")
class Point {
x
y
constructor(x, y) {
this.x = x
this.y = y
}
// ==UserScript==
// @name Plex Background Art
// @namespace com.arimil.renari.plexbackgroundart
// @version 0.5
// @description Sets the artwork image at the background in Plex.
// @author Renari
// @match YOURPLEXDOMAINHERE*
// @require https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js
// @require https://greasyfork.org/scripts/1003-wait-for-key-elements/code/Wait%20for%20key%20elements.js?version=2765
// @grant none
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Renari
Renari / shuffle.py
Created November 23, 2015 17:57
python shuffle
from random import randint
def shuffle(deck):
for i in range(0, len(deck)):
temp = deck[len(deck)-(i+1)]
rand = randint(0, len(deck)-(i+1))
deck[len(deck)-(i+1)] = deck[rand]
list[rand] = temp
return deck