Skip to content

Instantly share code, notes, and snippets.

@ThenTech
ThenTech / SoundCloud_Downloader_Fix.user.js
Last active March 18, 2021 05:18
SoundCloud Download user script
// ==UserScript==
// @name SoundCloud Downloader Fix
// @namespace http://sc-downloader.com
// @author Usama Ejaz, Wosser1's Productions
// @description Adds a Download button to all the tracks on SoundCloud (works with the new SoundCloud interface)
// @require https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js
// @include http://www.soundcloud.com/*
// @include http://soundcloud.com/*
// @include https://www.soundcloud.com/*
// @include https://soundcloud.com/*
// ==UserScript==
// @name YouTube Sidebar Sticky
// @namespace https://gist.github.com/Wosser1sProductions/
// @version 0.1
// @description Prevent side-bar from closing on click.
// @author Wosser1sProductions
// @include http*://*.youtube.com/*
// @include http*://youtube.com/*
// @include http*://*.youtu.be/*
// @include http*://youtu.be/*
// ==UserScript==
// @name Youtube: Space to go to bottom of playlist
// @description Load playlist until everything is displayed and scrolls down if needed.
// @author Wosser1's Productions
// @namespace https://gist.github.com/Wosser1sProductions/
// @icon https://youtube.com/favicon.ico
// @version 0.3.1
// @include http*://*.youtube.com/playlist?list=*
// @include http*://*.youtube.com/*
// @include http*://youtube.com/*
@ThenTech
ThenTech / gitCPY.bat
Last active January 14, 2017 00:29
Copies files to Github dir
@echo off
REM Will copy files from this dir to its equivalent folder in GitHub dir
for %%* in (.) do set CurrDirName=%%~nx*
SET CPYDIR=%USERPROFILE%\Documents\GitHub\%CurrDirName%
SET DOXY=doxygen
SET UMLd=UML
@ThenTech
ThenTech / make.cmd
Created December 2, 2016 21:52
Find C/C++ compilers and let the user choose an option to build from makefile.
@echo off
TITLE Run Makefile with a given compiler
COLOR 1F
SET USE_MAKE=
SET USE_ARG=
SET MSVC_MAKE=nmake.exe
SET MSVC_PATH_1="C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat"
SET MSVC_PATH_2=
@ThenTech
ThenTech / YT_ForcePause.user.js
Created January 25, 2017 04:54
Youtube: Space to Pause
// ==UserScript==
// @name Youtube: Space to Pause
// @description Press space or Return to pause video.
// @author Wosser1sProductions
// @icon https://youtube.com/favicon.ico
// @version 1.1
// @include http*://*.youtube.com/*
// @include http*://youtube.com/*
// @include http*://*.youtu.be/*
// @include http*://youtu.be/*
@ThenTech
ThenTech / VlcPrevNext.lua
Created January 22, 2023 16:40
VLC Prev/Next extension
local app_name = "VlcPrevNext"
local app_sig = "[" .. app_name .. "]"
local app_version = "0.1.1"
local app_title = app_name .. " " .. app_version
local app_description = "Adds previous and next files from the same directory to the playlist."
local app_short_desc = "Load prev/next file"
local media_extensions = {".mp4", ".mkv", ".avi", ".mov", ".mp3", ".flac", ".m4v", ".wmv", ".mpeg", ".mpg"}
-- VLC HOOKS