| BML-S | Help Login

Last entries

    20200115.1143
  1. bash|linux > replace all non alphanumeric characters with underscore (sed|awk|grep) - [s]

    Use two forward-slashes to replace every match with the replacement second_arg="${second_arg//[^[:alnum:]]/_}"

  2. 20200115.1138
  3. bash|linux > find debug options - [s]

    root@ubu18srv:~# find -D help Valid arguments for -D: exec Show diagnostic information relating to -exec, -execdir, -ok and -okdir help Explain the various -D options opt Show diagnostic information relating to optimisation rates Indicate how often each predicate succeeded search Navigate the directory tree verbosely stat Trace calls to stat(2) and lstat(2) time Show diagnostic information relating to time-of-day and timestamp comparisons tree Display the expression tree root@ubu18srv:~# find -D tree /var/tmp/share/sonatype/logs -type f -mtime +7 -name '*log*' -ls inserting mtime type: lt < 1578363922 Tue Jan 7 02:25:22 2020 Predicate List: [-type] [-a] [-mtime] [-a] [-name] [-a] [-ls] Eval Tree: pred=[-a] type=bi_op prec=and cost=Unknown est_success_rate=0.2730 no side effects left: pred=[-a] type=bi_op prec=and cost=Unknown est_success_rate=0.2730 no side effects left: pred=[-a] type=bi_op prec=and cost=Unknown est_success_rate=0.3413 no side effects left: pred=[-type f] type=primary prec=no cost=Unknown est_success_rate=0.8750 no side effects Needs type no children. right: pred=[-mtime +7] type=primary prec=no cost=Unknown est_success_rate=0.3900 no side effects Needs stat,type no children. right: pred=[-name *log*] type=primary prec=no cost=Unknown est_success_rate=0.8000 no side effects no children. right: pred=[-ls] type=primary prec=no cost=Unknown est_success_rate=1.000 side effects Needs stat,type no children.... But "-D exec" does not show anything with -delete. Workadound is using -print: find /var/tmp/share/sonatype/logs -type f -mtime +7 -name '*out*' -print -delete

  4. 20200110.1333
  5. node.js - Error: UNABLE_TO_VERIFY_LEAF_SIGNATURE Phonegap Installation - Stack Overflow - [s]

  6. 20200107.1714
  7. Use virt-manager as a non-root user on Linux - Computing for Geeks - [s]

  8. 20200103.1012
  9. What is CSRF (Cross-site request forgery)? Tutorial & Examples - [s]

  10. 20200102.1409
  11. elastic|elasticsearch > output header with "&v" for _cat/indices - [s]

  12. 20200102.1247
  13. elastic|lucene > How to determine RAM used per index in Elasticsearch? - [s]

    filter_cache, id_cache, fielddata, percolate, completion, segments (this is the "static" usage I mentioned above), query_cache.

  14. 20200102.0936
  15. CentOS|RHEL > Using system-wide cryptographic policies RHEL8 - [s]

  16. 20200102.0935
  17. Mixing CentOS/RHEL8 Crypto Policies - [s]

  18. 20191231.1424
  19. Diagnosing TLS, SSL, and HTTPS | Oracle Java Platform Group, Product Management Blog - [s]

    * https.protocols Controls the protocol version used by Java clients which obtain https connections through use of the HttpsURLConnection class or via URL.openStream() operations. For older versions, this can update the default in case your Java 7 client wants to use TLS 1.2 as its default. Example: -Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2

  20. 20191231.1322
  21. networking - How to check a route exist between two hosts for a particular port? - Server Fault - [s]

    $ ip route get 192.168.10.10 If Mac|Macintosh|Macos|OSX: Hajimes-MacBook-Pro:~ hosako$ route get 172.17.0.6 route to: node-nxrm-ha3.standalone.localdomain destination: 172.17.0.0 mask: 255.255.255.0 gateway: dh1.standalone.localdomain interface: en0 flags: recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 0 0 0 0 0 0 1500 0

  22. 20191231.1315
  23. vi - Vim delete blank line|lines - [s]

    :g/^\s*$/d https://vim.fandom.com/wiki/Power_of_g or, usual substitute way :%s/^\s*$\n//g

  24. 20191231.0810
  25. OpenLDAP as proxy to AD - SambaWiki - [s]

  26. 20191231.0743
  27. NoRouteToHost - HADOOP2 - Apache Software Foundation - [s]

  28. 20191230.1520
  29. java - how to check the jdk version used to compile a .class file - Stack Overflow - [s]

    [jira@node-jira ~]$ $JAVA_HOME/bin/javap -classpath ./some/test.jar -verbose com/test/rest/AdminResource | grep major major version: 52

  30. 20191230.1339
  31. How to install Jira and Confluence in your Mac in 5 minutes using Docker – www.MrAddon.com ®: Jira & Confluence Administration Support Blog & Ethereum Dev Blog – [www.MrAddon.blog] ® - [s]

  32. 20191230.0734
  33. microHOWTO: Configure Apache to use Kerberos authentication - [s]

  34. 20191230.0734
  35. Configuring Splunk with Kerberos SSO via Apache reverse proxy - mrxpalmeiras - [s]

  36. 20191227.0834
  37. java > An Introduction to Hazelcast | Baeldung - [s]

  38. 20191223.1618
  39. java - Is it possible to pass a password in Maven Deploy in the command line? - Stack Overflow - [s]

  40. 20191223.0848
  41. How to install a new SSL certificate on Traditional Platforms? – CloudBees Support - [s]

  42. 20191220.0645
  43. [JDK-8168469] Memory leak in JceSecurity - Java Bug System - [s]

  44. 20191219.1651
  45. jmap|jhat|mat > Tool for analyzing large Java heap dumps - [s]

  46. 20191219.1423
  47. apache2|httpd > Unrecognized header format % - [s]

  48. 20191219.1343
  49. Apache, SSL Client certificate, LDAP authorisations x509|PKI authentication - [s]

  50. 20191219.1107
  51. PKI Authentication for Nexus - Sonatype Guides - [s]

  52. 20191218.0730
  53. How to enable LDAP signing in Windows Server 2008 - [s]

    javax.naming.AuthenticationException: [LDAP: error code 49 - 80090346: LdapErr: DSID-0C09056D, comment: AcceptSecurityContext error, data 80090346, v2580

[s] public (27)