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
<body onload="var js = document.createElement('script'); | |
var r = Math.floor((Math.random()*10000)+1); | |
js.src = 'http://domain.hu/topicbanlist_minified.js?r=' + r; | |
document.getElementsByTagName('head')[0].appendChild(js);"> |
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
var e_v='<div class="html5-video-wrapper"><video controls src="$1"></video><p><a href="$1">$1</a></p></div>';var t_v='<div class="html5-video-wrapper"><video autoplay loop src="$1"></video></div>';$(".forum-post .body").each(function(){if($(this).html().match(/\[video\](.*?)\[\/video\]/gi))$(this).html($(this).html().replace(/\[video\](.*gfycat\.com.*?)\[\/video\]/gi,t_v).replace(/\[video\](.*?)\[\/video\]/gi,e_v))}) |
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
import os | |
from random import randrange | |
from subprocess import call | |
def get_random_name(): | |
return "%x.torrent" % randrange(pow(2, 30), pow(2, 40)) | |
for f in os.listdir(u"."): |
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
# flake8: noqa | |
instructions = ["ULL", "RRDDD", "LURDL", "UUUUD", ] | |
idx = 5 | |
commands = { | |
"U": -3, | |
"R": 1, | |
"L": -1, | |
"D": 3, | |
} |
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
import QtQuick 2.8 | |
import QtQuick.Layouts 1.0 | |
import QtQuick.Controls 2.1 | |
import Qt.labs.platform 1.0 | |
import QtQuick.Dialogs 1.2 | |
ApplicationWindow { | |
id: appWindow | |
width: 50 |
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
## Refer to http://caffe.berkeleyvision.org/installation.html | |
# Contributions simplifying and improving our build system are welcome! | |
# cuDNN acceleration switch (uncomment to build with cuDNN). | |
# USE_CUDNN := 1 | |
# CPU-only switch (uncomment to build without GPU support). | |
CPU_ONLY := 1 | |
# uncomment to disable IO dependencies and corresponding data layers |
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
# had 3.8.2 locally too so it's probably not always using the venv one (probably thats why didn't need --enabled-shared) | |
## Refer to http://caffe.berkeleyvision.org/installation.html | |
# Contributions simplifying and improving our build system are welcome! | |
# cuDNN acceleration switch (uncomment to build with cuDNN). | |
# USE_CUDNN := 1 | |
# CPU-only switch (uncomment to build without GPU support). | |
CPU_ONLY := 1 |