Skip to content

Instantly share code, notes, and snippets.

View furious's full-sized avatar

furious

View GitHub Profile
@furious
furious / frs-whatsapp_audio_speed.user.js
Last active May 17, 2021 19:22
WhatsApp - Enables Audio Speed Feature
// ==UserScript==
// @name WhatsApp - Enables Audio Speed Feature
// @namespace whatsappaudiospeed
// @version 2.0
// @description Enables the upcoming Audio Speed feature
// @author FURiOUS
// @match https://web.whatsapp.com/
// @icon https://www.google.com/s2/favicons?domain=whatsapp.com
// @require https://raw.githubusercontent.com/pedroslopez/moduleRaid/master/moduleraid.js
// @grant none
@furious
furious / frs-google_image_search.php
Created December 2, 2020 13:01
Google - Simple Image Search API
<?php
function google_image_search($keyword, $page=0){
$c = curl_init();
curl_setopt_array($c, [
CURLOPT_FOLLOWLOCATION => 1,
CURLOPT_RETURNTRANSFER => 1,
CURLOPT_SSL_VERIFYPEER => 0,
CURLOPT_USERAGENT => 'Mozilla/5.0 (Windows Phone 8.1; ARM; Trident/7.0; Touch; WebView/2.0; rv:11.0; IEMobile/11.0; NOKIA; Lumia 525) like Gecko'
]);
@furious
furious / frs-twitch_current_payout_dashboard.user.js
Last active February 9, 2021 12:59
Twitch - Current Payout (Dashboard)
// ==UserScript==
// @name Twitch - Current Payout (Dashboard)
// @namespace twitchpayout
// @version 1.5.1
// @description Shows current accumulated/estimated payout revenue and last payment on dashboard
// @author FURiOUS
// @homepage https://furious.pro
// @downloadURL https://gist.github.com/furious/d284d67af89a00866fa60c318a84bf50/raw/frs-twitch_current_payout_dashboard.user.js
// @supportURL https://twitch.tv/furious
// @match https://dashboard.twitch.tv/u/*
@furious
furious / frs-marcelo_gamepad.ino
Created September 19, 2019 19:51
Simple Switches Gamepad using ATMEGA32U4
#include <Gamepad.h>
unsigned char button_normal[32] = {2,3,4,5,6};
unsigned char button_switch[32] = {7,8,9,10,14,15,16,A0,A1,A2,A3};
bool button_state[32];
void setup_pins(unsigned char *buttons, uint8_t total){
for(uint8_t i=0; i<total; i++){
pinMode(buttons[i], INPUT_PULLUP);
@furious
furious / frs-netflix_skip_intro.user.js
Last active January 29, 2019 10:57
Netflix - Automatic "Skip Intro"
// ==UserScript==
// @name Netflix - Auto Skip Intro
// @namespace netflixautoskipintro
// @version 0.1
// @description Automatically skips intro cutscenes when available
// @author FURiOUS
// @match https://www.netflix.com/*
// @grant none
// ==/UserScript==
@furious
furious / frs-vlc_twitch.lua
Last active January 10, 2023 07:05
VLC - Playlist Parser for Twitch streams/videos URLs
--[[
Resolve Twitch channel and video URLs to the actual media URL
Author: furious
How to install? https://wiki.videolan.org/Documentation:Building_Lua_Playlist_Scripts
Don't forget to remove the old "twitch.luac" plugin
OBS: You can choose which quality you want just add ":option" in the url.
If the option isn't available it will fallback to the best quality as normal.
You can also check the console log to see all available quality options.
@furious
furious / frs-ovh_checkserver.php
Last active February 1, 2022 13:58
OVH - Check Server Availability Tool
<?php
# ovh - check server availability tool
# author: furious
# crontab (every 5 min): */5 * * * * php -f /path/to/checkserver.php
/* CONFIG */
define('EMAIL', 'your_email@domain.tld');
define('SERVERS', array('1801armada01', '1801sys12'));
define('OVH_CHECK_URL', 'http://ws.ovh.com/dedicated/r2/ws.dispatcher/getAvailability2');
@furious
furious / frs-smw_export_inputs.lua
Last active May 11, 2018 15:23
BizHawk Lua Script to Export SNES Inputs
-- snes export inputs 1.0
-- by furious
--/byetUDLRaxlr0000
joymap = {"B", "Y", "Select", "Start", "Up", "Down", "Left", "Right", "A", "X", "L", "R"}
joypads = {"P1", "P2", "P5", "P6"}
file_suffix = "inputs.txt"
-- a movie needs to be playing to do anything
@furious
furious / frs-class_foursquare.php
Last active December 25, 2015 12:19
Simple Foursquare Class: Check-In v1.1
<?
define("FS_CLIENTID", "CLIENT_ID");
define("FS_CLIENTSECRET", "CLIENT_SECRET");
define("FS_REDIRECTURI", "http://localhost");
define("FS_ACCESSTOKEN", "ACCESSTOKEN");
// https://foursquare.com/oauth2/authenticate?client_id=CLIENT_ID&response_type=token&redirect_uri=REDIRECT_URI
class FS_API
{
private $curl;