Skip to content

Instantly share code, notes, and snippets.

import Falkon
from PySide2 import QtCore
from PySide2 import QtWebEngineCore
class BlockmatrixInterceptor(Falkon.UrlInterceptor):
def interceptRequest(self, info):
print(info.requestUrl())
return
#return False
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'
@DefaultUser
DefaultUser / qc.xml
Last active June 10, 2022 06:37
QuakeC (and Xonotic) syntax highlighting for Kate
<?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"
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)