Skip to content

Instantly share code, notes, and snippets.

View Vresod's full-sized avatar
💭
this

Vresod Vresod

💭
this
View GitHub Profile
@Vresod
Vresod / index.html
Created August 28, 2018 15:23
stolen content
<!DOCTYPE html>
<html lang="en">
<head>
<title>Reptile and Amphibian facts</title>
<link rel="stylesheet" type="text/css" href="/css/main.css">
<link rel="icon" href="/images/favicon.png" type="image/png">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
@Vresod
Vresod / coolguysyndrome.user.js
Last active September 20, 2018 22:21
Cool Kid Syndrome!
// ==UserScript==
// @name Cool guy syndrome
// @namespace http://vresod.github.io
// @version 1.0
// @description cool kid sydrome
// @include *
// @author Vresod
// @grant none
// ==/UserScript==
@Vresod
Vresod / rng.user.js
Created September 20, 2018 22:20
RNG. WIP
// ==UserScript==
// @name RNG
// @namespace http://vresod.github.io
// @version 0.5
// @description keyboard shortcuts
// @include *
// @author Vresod
// @grant none
// ==/UserScript==
@Vresod
Vresod / thanoscar.user.js
Created September 25, 2018 14:50
thanos car
// ==UserScript==
// @name thanos car
// @namespace http://tampermonkey.net/
// @version 0.1
// @description thanos car
// @author Vresod
// @include *
// @grant none
// ==/UserScript==
@Vresod
Vresod / calc.py
Last active October 2, 2018 21:10
calculator in python
def add(x, y):# adding
return float(x) + float(y)
def sub(x, y): #subtracting
return float(x) - float(y)
def mlt(x, y): #multiplying
return float(x) * float(y)
def div(x, y): #dividing
return float(x) / float(y)
def compare(x, y):
if x > y:
@Vresod
Vresod / proc.py
Created October 4, 2018 20:35
Processor utility!
import os
cpus = os.cpu_count()
if cpus == 1:
print('You have',cpus,'CPU.')
else:
print('You have',cpus,'CPUS.')
@Vresod
Vresod / index.html
Created October 10, 2018 14:54
BewitchedGrayMethods created by Vresod - https://repl.it/@Vresod/BewitchedGrayMethods
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>repl.it</title>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<script src="script.js"></script>
// ==UserScript==
// @name Tab Titles
// @namespace https://vresod.github.io
// @version 1.0
// @description Tab Titles is the not so perfect solution to giving custom title to tabs!
// @author Vresod
// @include *
// @grant none
// ==/UserScript==
[
"youtube.com",
"vresod.tk",
"duckduckgo.com",
"github.com"
]
@Vresod
Vresod / bookmark.js
Created September 27, 2019 17:37
go from youtube -> youtube tv with one click
javascript: window.location.href = "https://youtube.com/tv#/watch/video/control?v=" + window.location.href.match(/(?<=\d\/|\.be\/|v[=\/])([\w\-]{11,})|^([\w\-]{11})$/gm)[0]