Skip to content

Instantly share code, notes, and snippets.

# not required after latest BIOS update
# fix network card not working after suspend mode (after disabling USB 3.0 in BIOS)
gksu mousepad /etc/pm/config.d/unload_modules
#add
SUSPEND_MODULES="$SUSPEND_MODULES r8169"
#hide suspend from options
sudo mousepad /etc/polkit-1/localauthority/50-local.d/com.ubuntu.disable-suspend.pkla
#insert
[Disable suspend (upower)]
@Destroyer
Destroyer / upload.ps1
Created January 4, 2017 21:07
Transfer.sh curl&powershell
# curl in powershell
curl -Headers @{"Max-Days" = "1"} -method put -infile .\file.txt https://transfer.sh/file.txt
// ==UserScript==
// @name Youtube show all playlists and change logo link to subscriptions
// @namespace http://tampermonkey.net/
// @version 0.2
// @description Youtube fixes
// @author Destroyer
// @match https://www.youtube.com/*
// @noframes
// @grant GM_addStyle
// @grant GM_getResourceText
@Destroyer
Destroyer / keybase.md
Created February 11, 2018 17:33
Keybase proof

Keybase proof

I hereby claim:

  • I am destroyer on github.
  • I am destroyer (https://keybase.io/destroyer) on keybase.
  • I have a public key ASC0Dt22V_yKVPsNR8zA74pnAAXYKOdw4IlPzGXcy07whwo

To claim this, I am signing this object:

@Destroyer
Destroyer / serialzone.css
Last active February 15, 2020 00:49
Serialzone watchlist dark theme 2020
@-moz-document url("https://www.serialzone.cz/watchlist/"), url("https://www.serialzone.cz/"), url-prefix("https://www.serialzone.cz/clanek/") {
.brand-cover
{
background: #000;
}
.content
{
background: #000;
}