Skip to content

Instantly share code, notes, and snippets.

View sm97's full-sized avatar

Kirill Pushkin sm97

View GitHub Profile
@sm97
sm97 / saml.txt
Created August 11, 2020 12:20
some description
NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens jdk.management/com.sun.management.internal=ALL-UNNAMED -XX:+IgnoreUnrecognizedVMOptions --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
OpenJDK 64-Bit Server VM warning: Ignoring option MaxPermSize; support was removed in 8.0
11-Aug-2020 15:06:59.440 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version name: Apache Tomcat/8.5.57
11-Aug-2020 15:06:59.443 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Jun 30 2020 21:49:10 UTC
11-Aug-2020 15:06:59.443 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version number: 8.5.57.0
11-Aug-2020 15:06:59.443 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Linux
11-Aug-2020 15:06:59.443 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 4.15.0-109-generic
11-Aug-2020
@sm97
sm97 / management-server.log
Created August 5, 2020 17:09
some description
2020-08-05 19:40:57,215 DEBUG [c.c.a.ApiServlet] (qtp1710989308-32214:ctx-650b7760) (logid:4ebb8691) ===START=== 146.253.34.63 -- GET name=kubetest&description=kubetest&zoneid=1be9f1f9-e6d2-4133-942d-8582d645ca8f&kubernetesversionid=4841cf7a-9033-462f-9bfe-f7425303daf2&serviceofferingid=3e833db6-175c-42b6-be5e-632168d453db&size=2&noderootdisksize=30&networkid=02e37ff6-48ab-4c87-888e-09f248845fd0&[email protected]&command=createKubernetesCluster&response=json
2020-08-05 19:40:57,222 DEBUG [c.c.a.ApiServer] (qtp1710989308-32214:ctx-650b7760 ctx-295292e8) (logid:4ebb8691) CIDRs from which account 'Acct[[email protected]]' is allowed to perform API calls: 0.0.0.0/0,::/0
2020-08-05 19:40:57,243 DEBUG [c.c.u.AccountManagerImpl] (qtp1710989308-32214:ctx-650b7760 ctx-295292e8) (logid:4ebb8691) Access to Acct[[email protected]] granted to Acct[[email protected]] b
MariaDB [cloud]> select * from guest_os_hypervisor where hypervisor_version like '8.1.0';
Empty set (0.006 sec)
MariaDB [cloud]> select * from guest_os_hypervisor where guest_os_name like 'Core%';
+------+-----------------+---------------+-------------+--------------------+--------------------------------------+---------------------+---------+-----------------+
| id | hypervisor_type | guest_os_name | guest_os_id | hypervisor_version | uuid | created | removed | is_user_defined |
+------+-----------------+---------------+-------------+--------------------+--------------------------------------+---------------------+---------+-----------------+
| 2767 | Xenserver | CoreOS | 271 | default | 7c266748-b5fa-11ea-8b15-000ae485569f | 2020-06-24 09:10:01 | NULL | 0 |
| 2768 | VMware | coreos64Guest | 271 | default | 7c266f65-b5fa-11ea-8b15-000ae485569f | 2020-06-24 09:10:01 | NULL |
MariaDB [cloud]> select * from hypervisor_capabilities where hypervisor_type='XenServer';
+----+--------------------------------------+-----------------+--------------------+------------------+------------------------+------------------------+-----------------------+--------------------------+---------------------+
| id | uuid | hypervisor_type | hypervisor_version | max_guests_limit | security_group_enabled | max_data_volumes_limit | max_hosts_per_cluster | storage_motion_supported | vm_snapshot_enabled |
+----+--------------------------------------+-----------------+--------------------+------------------+------------------------+------------------------+-----------------------+--------------------------+---------------------+
| 3 | 3 | XenServer | 5.6 | 50 | 1 | 6 | NULL |
0 | 1 |
| 4 | 4
@sm97
sm97 / jenkins_hide_disabled_jobs.user.js
Created March 9, 2017 10:43
Hide Disabled Jenkins Jobs
// ==UserScript==
// @name Hide Disabled Jenkins jobs
// @namespace jenkins_hide_jobs
// @include http://jenkins*:8080/*
// @version 1
// @require http://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js
// @grant GM_addStyle
// ==/UserScript==
$(".disabledJob").hide()