Skip to content

Instantly share code, notes, and snippets.

View tsanov's full-sized avatar

Nikolay Tsanov tsanov

View GitHub Profile
@tsanov
tsanov / middlewareCheck.py
Created August 5, 2024 20:02
WLST/Jython script to chak the Healt Status, Hogging Thread and Stuck Thread and Heap status for a series of Oracle WebLogic Domains. It will use one properties file for each Domain. In the first comment a properties file skeleton.
# WebLogic 12c health monitoring tool
# Developer: Gian Luca Ricci
# Just another Pythoneer
# Code version: 4.0.1
#
# 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 3 of the License, or
# (at your option) any later version.
#
@tsanov
tsanov / scp-speed-test.sh
Created December 3, 2020 20:51 — forked from patmandenver/scp-speed-test.sh
scp speed test between servers
#!/bin/bash
# scp-speed-test.sh
#
# Usage:
# ./scp-speed-test.sh user@hostname [test file size in MBs]
#
#############################################################
ssh_server=$1
test_file=".scp-test-file"
@tsanov
tsanov / Compare Names with CSV.ajs
Last active October 25, 2020 09:54
#jArchi Compare Names with CSV
/*
* Verify if the values in the first column of a CSV file are used as names
* in the selection
*
* This work is derived from:
* - smileham/Import from CSV.ajs
* - smileham/Export to CSV.ajs
*
* Requires jArchi - https://www.archimatetool.com/blog/2018/07/02/jarchi/
* Requires PapaParse - https://www.papaparse.com/
/*
* Export To CSV
*
* Requires jArchi - https://www.archimatetool.com/blog/2018/07/02/jarchi/
* Requires PapaParse - https://www.papaparse.com/
* Works with Import from CSV script - https://gist.github.com/smileham/1e57a5946235e780dee5a824f664aa3d
*
* Version 1: Export to CSV
* Version 1.1: Avoid duplicate concepts exported from diagram
* Version 1.2: Fix missing properties
/*
* Import from CSV
*
* Requires jArchi - https://www.archimatetool.com/blog/2018/07/02/jarchi/
* Requires PapaParse - https://www.papaparse.com/
* Works with Export to CSV Script - https://gist.github.com/smileham/15c445b17a92bd6f5dc1508e573bcd8a
*
* Version 1: Import from CSV
*
* (c) 2018 Steven Mileham
@tsanov
tsanov / FCInfo_en_Ver_1-15_Docked.FCMacro
Created January 1, 2017 15:21 — forked from mario52a/FCInfo_en_Ver_1-40b-rmu_Docked.FCMacro
Gives a series of informations about the selected shape and can display a conversion of length, inclination (degrees, radians, grades, pourcent) shape, surface, volume and the weight of the form in the density selected in different units of quantities international and Anglo-Saxon. (English version)
# -*- coding: utf-8 -*-
"""
***************************************************************************
* Copyright (c) 2014 2015 <mario52> *
* *
* This file is a supplement to the FreeCAD CAx development system. *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU Lesser General Public License (LGPL) *
* as published by the Free Software Foundation; either version 2 of *