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 Falkon | |
from PySide2 import QtCore | |
from PySide2 import QtWebEngineCore | |
class BlockmatrixInterceptor(Falkon.UrlInterceptor): | |
def interceptRequest(self, info): | |
print(info.requestUrl()) | |
return | |
#return False |
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
filetype off | |
call plug#begin('~/.local/share/nvim/plugged') | |
Plug 'vim-airline/vim-airline' | |
Plug 'vim-airline/vim-airline-themes' | |
" autocomplete | |
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' } | |
Plug 'zchee/deoplete-jedi' |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE language SYSTEM "language.dtd"> | |
<!-- | |
QuakeC syntax highlighting (with some Xonotic specific macros) | |
based on kate's C syntax highlighting (see https://cgit.kde.org/syntax-highlighting.git/) | |
--> | |
<language name="QuakeC" section="Sources" | |
kateversion="2.4" | |
indenter="cstyle" | |
extensions="*.qc;*.qh" |
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
from twisted.internet.task import deferLater | |
from twisted.web.resource import Resource | |
from twisted.web.server import NOT_DONE_YET | |
from twisted.internet import reactor, threads | |
import time | |
class ThreadResource(Resource): | |
def _render_thread(self, request): | |
time.sleep(1) |