View fiasmodel.py
from functools import partial
from io import TextIOWrapper
from os import pipe, fdopen
from threading import Thread
from typing import Tuple
from lxml.etree import _Element, XMLPullParser
from app import app
from modules.core.db import BaseModel, db
View CORS
# Thanks to http://tech.shift.com/post/65650561508/cors-with-wildcard-subdomains-using-nginx
server {
server_name ajax.example.org;
listen 80;
location / {
proxy_pass http://localhost:1100;
proxy_set_header Host $host;
View CMakeLists.txt
project(AAAAAAAAAAAAAAAAAAAAAAAA)
cmake_minimum_required(VERSION 2.8.9)
add_definitions(-std=c++11 -fPIC)
find_package(Qt5Widgets)
include_directories(${QT_INCLUDES})
file(GLOB_RECURSE H "*.h")
file(GLOB_RECURSE CPP "*.cpp")
View .htaccess
# When opened on *.ru domain, show /content/ru/pagename.php
# When opened on other domain, show /content/en/pagename.php
Options -Indexes +FollowSymlinks
RewriteEngine On
RewriteBase /
# Prevent from multiple runs of this file
RewriteCond %{ENV:REDIRECT_WASHERE} !^$
RewriteRule ^ - [L]
View recolor.sh
#!/bin/sh
for file in `ls`
do
convert $file pnm:- | potrace --backend svg --color "#$1" | convert - $file
done
View kdeveloprc
[QtHelp Documentation]
ghnsList=0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
iconList=QtProject-qtcreator,QtProject-qtcreator,QtProject-qtcreator,QtProject-qtcreator,QtProject-qtcreator,QtProject-qtcreator,QtProject-qtcreator,QtProject-qtcreator,QtProject-qtcreator,QtProject-qtcreator,QtProject-qtcreator,QtProject-qtcreator,QtProject-qtcreator,QtProject-qtcreator,QtProject-qtcreator,QtProject-qtcreator,QtProject-qtcreator,QtProject-qtcreator,QtProject-qtcreator,QtProject-qtcreator,QtProject-qtcreator,QtProject-qtcreator,QtProject-qtcreator,QtProject-qtcreator,QtProject-qtcreator,QtProject-qtcreator,QtProject-qtcreator,QtProject-qtcreator,QtProject-qtcreator,QtProject-qtcreator,QtProject-qtcreator,QtProject-qtcreator,QtProject-qtcreator,QtProject-qtcreator,QtProject-qtcreator,QtProject-qtcreator,QtProject-qtcreator,QtProject-qtcreator
loadQtDocs=true
nameList=ActiveQt,QDoc,QtAssistant,QtConcurrent,QtCore,QtDBus,QtDesigner,QtDoc,QtGraphicalEffects,QtGui,QtHelp,QtImageFormats,QtLin