Skip to content

Instantly share code, notes, and snippets.

View Far-Se's full-sized avatar
🦝

Far Se Far-Se

🦝
  • Iasi
View GitHub Profile
@Far-Se
Far-Se / shows.js
Last active October 8, 2021 05:59
Upcoming TV Shows
(async()=>{
let json = await (await fetch('https://api.tvmaze.com/schedule/full')).json(),
data = [];
(json.filter(d=>d._embedded.show.rating.average && d.number === 1 && d._embedded.show.network?.country.code === "US"))
.forEach(d=>data.push({title:d._embedded.show.name, season:d.season, airdate:d.airdate, type:d._embedded.show.type, genre:d._embedded.show.genres.join(", "), rating:d._embedded.show.rating?.average}));
console.clear();
console.table(data);
}
)();
@Far-Se
Far-Se / youtube-fresh-videos.js
Last active January 3, 2022 15:15
User Script for Youtube to see only videos newer than 1 month on Main Page.
// ==UserScript==
// @name Youtube Fresh Videos only
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Filter Youtube Recommended to show only less then a month, with different styles for hours days and weeks.
// @author Your Grandma
// @match https://www.youtube.com/
// @icon https://t1.gstatic.com/faviconV2?client=SOCIAL&type=FAVICON&fallback_opts=TYPE,SIZE,URL&url=https://youtube.com
// @grant none
// ==/UserScript==
@Far-Se
Far-Se / pricy.js
Created January 6, 2022 08:27
Pricy Checker Tampermonkey
// ==UserScript==
// @name Pricy Check Price
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://www.emag.ro/*
// #match https://*/*
// @icon https://www.google.com/s2/favicons?domain=emag.ro
// @run-at context-menu
let fetch = require("cross-fetch");
let fs = require("fs");
let process = require("process");
var ffmpeg = require("fluent-ffmpeg");
const cliProgress = require('cli-progress');
const cliSelect = require('cli-select');
const REMOVE_ALL_MP4 = true;
const progressBar = new cliProgress.SingleBar({}, cliProgress.Presets.shades_classic);
@Far-Se
Far-Se / trello_dark.js
Created January 29, 2022 09:29
Trello Dark Mode for Tampermonkey/Stylus
// ==UserScript==
// @name xCSS Trello
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://trello.com/*
// @match https://*.trello.com/*
// @grant none
// @icon https://t1.gstatic.com/faviconV2?client=SOCIAL&type=FAVICON&fallback_opts=TYPE,SIZE,URL&url=https://www.w3schools.com/
@Far-Se
Far-Se / discord-shortcuts.js
Last active January 31, 2022 07:42
Discord edit shortcuts
// ==UserScript==
// @name Discord Shortcuts
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://discord.com/*
// @icon https://icons.duckduckgo.com/ip2/discord.com.ico
// @grant none
// ==/UserScript==
@Far-Se
Far-Se / pricy.js
Created February 3, 2022 08:49
Pricy Info under images
// ==UserScript==
// @name PricyGraph
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://www.emag.ro/*
// @icon https://icons.duckduckgo.com/ip2/emag.ro.ico
// @grant GM_xmlhttpRequest
// ==/UserScript==
// ==UserScript==
// @name xCSS Minimalistic Scroll
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match http://*/*
// @match https://*/*
// @grant none
// @run-at document-start
@Far-Se
Far-Se / twitch.script.js
Created May 13, 2022 18:25
Twitch enhancer
// ==UserScript==
// @name Twitch Script
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match *.twitch.tv/*
// @match twitch.tv/*
// @match https://twitch.tv/*
// @icon https://t1.gstatic.com/faviconV2?client=SOCIAL&type=FAVICON&fallback_opts=TYPE,SIZE,URL&url=http://twitch.tv
@Far-Se
Far-Se / commands.json
Last active May 28, 2022 14:53
Windows Powertoys Run Shortcuts Alias Plugin
{
"edit": "notepad .\\commands.json",
"win32": "start https://pub.dev/documentation/win32/latest/",
"n": "Send {Media_Next}",
"pr": "Send {Media_Prev}",
"p": "Send {Media_Play_Pause}",
"g": "start \"https://github.com/search?q={argsURI}\""
}