Importing a certificate into JDK

Importing a certificate into JDK

avatar Teja P 2 October 2024
Keytool is located in JDK root directore/bin Goto C:\Program Files\Java\jdk1.8.0_202\jre\lib\security Password for keytool is changeit keytool -list -v -keystore cacerts > c:\Temp\certs.txt If Java home is not set you can directly goto JDK …
Continue reading
Hugo Basics

Hugo Basics

avatar Teja P 22 May 2024
Create a site hugo new site sitename Start a server hugo server To see draft files also use hugo server -D adding a theme execute git submodule add https://github.com/theNewDynamic/gohugo-theme-ananke.git themes/ananke in bash inside your new site …
Continue reading
Java 22 Features

Java 22 Features

avatar Teja P 19 May 2024
Unamed variables Now with Java 22 we an crate unname varibles. Earlier versions of java has few rules for variables like it should start with a letter, numbers not allowed as vairable names etc. In java 22 you can use _ as a variable name, but you …
Continue reading
Regular Expressions in Python

Regular Expressions in Python

avatar Teja P 19 May 2024
To use regular expressions in python you need to import re module Regular expressions are used for pattern matching Simple Match Searches for the given pattern in that string and return True or False If you want to ignore case you can use re.I # …
Continue reading
Users And Permissions in Liferay

Users And Permissions in Liferay

avatar Teja P 20 October 2023
Users Organizations are an entity in Liferay that can group users in a distributed hierarchy. Practically, this means that large organizations can empower and delegate Users to administer their Organizations. User Groups are another way to group …
Continue reading