This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@-moz-document domain("youtube.com") { | |
body { | |
background-color: #222; | |
} | |
#page { | |
background-color: #222; | |
color: #ccc; | |
} | |
/*light vido links*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package hello | |
fun getHelloString() : String = "Hello, world!" | |
fun main(args : Array<String>) { | |
println(getHelloString()) | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Created by maartyl on 17.12.16. | |
*/ | |
import javafx.application.Application | |
import tornadofx.* | |
import java.io.File | |
import java.nio.file.Files | |
fun main(args: Array<String>) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- FIX(hack): chrome drag&drop needs correct _NET_CURRENT_DESKTOP, but Awesome always uses that from first monitor | |
-- this is ALREADY FIXED in upstream awesome, on MAY 2016, but not yet in any stable version (as of DEC 2016) //maartyl | |
-- this is the commit that fixes it: https://github.com/awesomeWM/awesome/pull/910/commits (so I know and can use newer version when it's available, | |
-- including this) - it's been merged to master | |
client.connect_signal("focus", function(c) | |
-- get _NET_WM_DESKTOP(CARDINAL) from client | |
-- call: xprop -root -f _NET_CURRENT_DESKTOP 32c -set _NET_CURRENT_DESKTOP <HERE GOES THE NUMBER> | |
-- btw. if I find a way to do that inside awesome, that would be much better... | |
os.execute("xprop -root -f _NET_CURRENT_DESKTOP 32c -set _NET_CURRENT_DESKTOP $(xprop -id " .. c.window .. " | fgrep _NET_WM_DESKTOP | grep -oE '[^ ]+$')") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name wikiwand | |
// @namespace maa | |
// @description like wikiwand plugin, but cheaper | |
// @include https://*.wikipedia.org/wiki/* | |
// @run-at document-start | |
// @version 1 | |
// @grant none | |
// @noframes | |
// ==/UserScript== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*===== MAA overrides*/ | |
.entry { | |
/*MAA - chromium borders*/ | |
border-color: #414141; | |
/* border-color: #000000;*/ | |
} | |
.entry.chromium { | |
border-color: #414141; | |
/* border-color: #000000;*/ | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package cz.maartyl.ex | |
/* Output | |
[ORIGINAL OUTPUT] | |
Collecting 2 elements… | |
upstream -> hot | |
emit: 0 | |
resumed | |
collect: 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name YT Copy Meta | |
// @namespace https://github.com/Maartyl | |
// @version 0.1 | |
// @description Copy Meta about current Video | |
// @author Maartyl | |
// @match https://www.youtube.com/watch* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com | |
// @grant GM_setClipboard | |
// @run-at context-menu |