Daily Shaarli

All links of one day in a single page.

May 3, 2023

Сравнение серии Mikrotik Routerboard hAP (RB951Ui-2nD), hAP lite classic (RB941-2nD) и hAP lite (RB941-2nD-TC), hAP mini (RB931-2nD). - от компании MikroComp
thumbnail
windows - How to check if a service is running via batch file and start it, if it is not running? - Stack Overflow
thumbnail
javax.naming.ldap.Rdn.toAttributes java code examples | Tabnine
thumbnail

public static String getCN(final X509Certificate cert) { Args.notNull("cert", cert); try { final String subjectPrincipal = cert.getSubjectX500Principal().getName(X500Principal.RFC2253); for (final Rdn rdn : new LdapName(subjectPrincipal).getRdns()) { final Attribute cnAttr = rdn.toAttributes().get("cn"); if (cnAttr != null) { try { final Object cnValue = cnAttr.get(); if (cnValue != null) return cnValue.toString(); } catch (final Exception ex) { LOG.debug(ex); } } } } catch (final InvalidNameException ex) { LOG.debug(ex); } return null; }

The NetBeans Output Window - Revisited - northCoder
Charsets are a nightmare – Console, Java and Oracle Database | Clean Database Development
thumbnail
jasonacox/tinytuya: Python API for Tuya WiFi smart devices using a direct local area network (LAN) connection or the cloud (TuyaCloud API).
ssh - Setting up OpenSSH for Windows using public key authentication - Stack Overflow
thumbnail

$acl = Get-Acl C:\ProgramData\ssh\administrators_authorized_keys $acl.SetAccessRuleProtection($true, $false) $administratorsRule = New-Object system.security.accesscontrol.filesystemaccessrule("Administrators","FullControl","Allow") $systemRule = New-Object system.security.accesscontrol.filesystemaccessrule("SYSTEM","FullControl","Allow") $acl.SetAccessRule($administratorsRule) $acl.SetAccessRule($systemRule) $acl | Set-Acl

60+ Best Docker Containers for Home Server Beginners 2023 | SHB
thumbnail