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
# pebble-rss to ghost-json converter | |
# 2020 by thomas trocha | |
# license: public domain | |
# use at own risk, make sure you have the right to download files. if not, don't do it | |
# | |
# usage: place blog-rss.xml in this script's folder | |
# modify vars below: | |
# input_name = name of the pebble-rss.xml-filename | |
# output_name= converted ghost-cms.json-filename | |
# download_images= try to download images |
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
## Copyright 2018 The Nakama Authors | |
## | |
## Licensed under the Apache License, Version 2.0 (the "License"); | |
## you may not use this file except in compliance with the License. | |
## You may obtain a copy of the License at | |
## | |
## http:##www.apache.org/licenses/LICENSE-2.0 | |
## | |
## Unless required by applicable law or agreed to in writing, software | |
## distributed under the License is distributed on an "AS IS" BASIS, |
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
## simple logchecker by dertom and heavy stackoverflowing ;) | |
## can be used with vanilla python: https://www.python.org/ftp/python/3.7.2/python-3.7.2.exe | |
## or blender's python: [blender-folder]/2.79/python/bin/python.exe | |
## | |
## just call: python.exe logexecuter.py | |
import time | |
import subprocess | |
# the logfile to check | |
logfile = "./log.txt" |
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
// the error will occur after a couple of seconds. It seems that the ZAP-Request to configure | |
// plain is not processed before the sockets start with their work. | |
// this will show that loadpasswords throws a nullpointer-exception because it assumes the password file is already | |
// loaded. | |
// Adding a sleep after auth.configurePlain(..) helps but is very hacky. | |
package org.tt.zmq.security; | |
import java.io.FileWriter; | |
import java.io.IOException; |
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
# ##### BEGIN GPL LICENSE BLOCK ##### | |
# | |
# This program is free software; you can redistribute it and/or | |
# modify it under the terms of the GNU General Public License | |
# as published by the Free Software Foundation; either version 2 | |
# of the License, or (at your option) any later version. | |
# | |
# This program is distributed in the hope that it will be useful, | |
# but WITHOUT ANY WARRANTY; without even the implied warranty of | |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
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
# snippet to add data to specific space-views by dertom | |
# | |
# - alter SpaceContext-PropertyGroup to fit your needs | |
# - import the SpaceContext to your script: import SpaceContext | |
# - when needed get the space-context (your SpaceContext-PropertyGroup) via: | |
# currentSpaceContext = SpaceContext.retrieveSpaceContext(context) | |
# | |
# For now you have to press a button to trigger the operation that creates the context for a single space | |
# | |
# This sample is indended to be run from the text-editor and will create a panel in each view_3d spaces ui-region. |
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
#!/bin/bash | |
# | |
# git-svn-diff originally by (http://mojodna.net/2009/02/24/my-work-git-workflow.html) | |
# modified by mike@mikepearce.net | |
# modified by aconway@[redacted] - handle diffs that introduce new files | |
# modified by t.broyer@ltgt.net - fixes diffs that introduce new files | |
# modified by m@rkj.me - fix sed syntax issue in OS X | |
# modified by dertom - fix new file-bug. Whitespace mandatory for new file '+++ file.c' | |
# | |
# Generate an SVN-compatible diff against the tip of the tracking branch |