Skip to content

Instantly share code, notes, and snippets.

View smokingwheels's full-sized avatar
🏠
Working from home

smokingwheels

🏠
Working from home
View GitHub Profile
@smokingwheels
smokingwheels / get.bas
Created September 23, 2023 10:19 — forked from EthanThatOneKid/get.bas
HTTP GET request in QB64.
IF Download("www.qb64.org/favicon.ico", "favicon.ico", 10) THEN ' timelimit = 10 seconds
SCREEN _LOADIMAGE("favicon.ico", 32)
ELSE: PRINT "Couldn't download image."
END IF
SLEEP
SYSTEM
' ---------- program end -----------
FUNCTION Download (url$, file$, timelimit) ' returns -1 if successful, 0 if not
url2$ = url$
@smokingwheels
smokingwheels / Spotify_Eliminate_Advertisements
Created June 17, 2023 09:55 — forked from mrprobot/Spotify_Eliminate_Advertisements
Eliminate Spotify Advertisements + Complete Server List
##################################################
# ELIMINATE SPOTIFY ADS - UPDATED FREQUENTLY #
##################################################
SPOTIFY CURRENTLY WORKS HARD IMPROVING ITS APP AND NETWORK. WHAT IS REALIZED NOW? NO AUDIO/VIDEO ADS IN THE OLD APP,
THE NEW APP, CHROMECAST, WEBSITE (DID NOT TEST THAT ONE).
NOTE: SOMETIMES ONLY ANNOUNCEMENT OF AN AD!
ALTERNATIVELY YOU CAN ALSO BLOCK THE FOLLOWING IP ADDRESSES IN YOUR ROUTER:
@smokingwheels
smokingwheels / bitcoin-cpuminer.sh
Created January 4, 2018 11:21 — forked from return1/bitcoin-cpuminer.sh
install a bitcoin cpuminer on ubuntu/debian
# install dependencies
sudo apt-get install libcurl4-openssl-dev libncurses5-dev pkg-config automake yasm
# clone cpuminer
git clone https://github.com/pooler/cpuminer.git
# compile
cd cpuminer
./autogen.sh
./configure CFLAGS="-O3"
@smokingwheels
smokingwheels / DataBounce.js
Created October 6, 2017 09:14 — forked from suprememoocow/DataBounce.js
DataBounce: server-side workaround for data: url problems in Internet Explorer. Full example at https://github.com/suprememoocow/databounce
var DataBounce = function(dataUrl, config) {
config = config || {};
var defaults = {
formName: "exportform",
filename: "",
exportFrameName: "exportFrame",
postUrl: "dataBounce"
};
@smokingwheels
smokingwheels / vpn.md
Created August 21, 2017 11:00 — forked from joepie91/vpn.md
Don't use VPN services.

Don't use VPN services.

No, seriously, don't. You're probably reading this because you've asked what VPN service to use, and this is the answer.

Note: The content in this post does not apply to using VPN for their intended purpose; that is, as a virtual private (internal) network. It only applies to using it as a glorified proxy, which is what every third-party "VPN provider" does.

(A Russian translation of this article can be found here, contributed by Timur Demin.)

Why not?