This file contains hidden or 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
<!DOCTYPE qgis PUBLIC 'http://mrcc.com/qgis.dtd' 'SYSTEM'> | |
<qgis version="3.40.4-Bratislava" styleCategories="Symbology"> | |
<renderer-v2 referencescale="-1" enableorderby="0" type="singleSymbol" symbollevels="0" forceraster="0"> | |
<symbols> | |
<symbol type="line" force_rhr="0" is_animated="0" alpha="1" frame_rate="10" clip_to_extent="1" name="0"> | |
<data_defined_properties> | |
<Option type="Map"> | |
<Option type="QString" value="" name="name"/> | |
<Option name="properties"/> | |
<Option type="QString" value="collection" name="type"/> |
This file contains hidden or 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
@echo off | |
REM Rasterize PDF files with Ghostscript and ImageMagick. | |
setlocal | |
set DENSITY=600 | |
set ADDEXT=.raster | |
REM parse options | |
if "%~1"=="-d" ( |
This file contains hidden or 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 nCore++ | |
// @namespace [email protected] | |
// @version 0.3.5 | |
// @description Various improvements to nCore | |
// @author nyuszika7h/Danzig | |
// @match https://ncore.pro/* | |
// @grant GM.xmlHttpRequest | |
// ==/UserScript== | |
/* globals $ */ |
This file contains hidden or 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
# input: all layers | |
# save path: save_layerpath project property / current project majority path | |
# replaces all postgis datasources with gpkg! | |
########################## | |
from qgis.utils import iface | |
from qgis.core import * | |
from qgis.PyQt.QtWidgets import * | |
from PyQt5.QtCore import * | |
from processing.tools import dataobjects |
This file contains hidden or 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
""" | |
Splitting polygons into equal area parts | |
converted to qgis3 from https://github.com/csandor/polygonsplitter | |
""" | |
#from __future__ import print_function | |
#from builtins import str | |
#from builtins import object | |
from qgis.core import * #(QgsFeature, QgsGeometry, | |
#QgsVectorLayer, QgsMapLayerRegistry, | |
#QgsField,/) |
This file contains hidden or 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
leptek = ['M 1:100000','M 1:50000','M 1:25000','M 1:10000', 'M 1:4000','M 1:2000','M 1:1000','M 1:500','M 1:250'] | |
#1: 100000 #2: 50000 #3: 25000 #4: 10000 #5: 4000 #6: 2000 #7: 1000 #8: 500 #9: 250 | |
#leptek m: | |
m=6 | |
def eov_coord_to_szelveny(x,y): | |
#y=844116.87 #720750.0 #test coord | |
#x=246253.3 #278500.0 #test coord | |
dy = 48000.0 | |
dx = 32000.0 |
This file contains hidden or 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
#!/usr/bin/env python | |
# Python 2 and 3 compatible. | |
#This script takes in a PDF and creates two new PDFs. One has the black and | |
#white pages and the other has the colour pages. It also takes duplex printing | |
#into account. So a black and white side which is on the same sheet as a colour | |
#side will be placed into the colour PDF. | |
#This is from a script created by Iain Murray. The original comment is below. | |
#This version simply has some different defaults and removes the PDFtoPPM. |
This file contains hidden or 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
# Copyright (c) 2015, Jimmy Zelinskie. | |
# All rights reserved. | |
# | |
# Redistribution and use in source and binary forms, with or without | |
# modification, are permitted provided that the following conditions are met: | |
# | |
# * Redistributions of source code must retain the above copyright notice, this | |
# list of conditions and the following disclaimer. | |
# | |
# * Redistributions in binary form must reproduce the above copyright notice, |
This file contains hidden or 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
# encoding: utf-8 | |
# USE AT OWN RISK | |
# | |
# Follow this guide to install Ruby on Windows (step 1 and 2): https://forwardhq.com/support/installing-ruby-windows | |
# Install gems (with admin cmd prompt): | |
# https://rubygems.org/gems/bencode | |
# https://rubygems.org/gems/rest_client | |
# | |
# Edit datpath below to point to your utorrent resume.dat file |
This file contains hidden or 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
# encoding: utf-8 | |
# USE AT OWN RISK | |
# | |
# Follow this guide to install Ruby on Windows (step 1 and 2): https://forwardhq.com/support/installing-ruby-windows | |
# Install gems (with admin cmd prompt): | |
# https://rubygems.org/gems/bencode | |
# https://rubygems.org/gems/rest_client | |
# | |
# Edit datpath below to point to your utorrent resume.dat file |