Skip to content

Instantly share code, notes, and snippets.

View A86S's full-sized avatar
🏠
Working from home

A86S A86S

🏠
Working from home
  • Freelancer
  • India
View GitHub Profile
@A86S
A86S / application.properties
Created September 2, 2024 16:55
Spring Boot allows you to configure SSL directly in your application.properties
server.ssl.key-store=classpath:keystore.p12
server.ssl.key-store-password=your-keystore-password
server.ssl.key-store-type=PKCS12
server.ssl.trust-store=classpath:truststore.jks
server.ssl.trust-store-password=your-truststore-password
server.ssl.trust-store-type=JKS
server.ssl.enabled=true
server.ssl.protocol=TLS
@A86S
A86S / LearnSwift.swift
Last active August 2, 2022 12:48
Swift Basics
// variable and constant
var a = 10 // variable can be updated later
let PI = 3.14 // can not modify later
// Data types (Int, Float, Bool, Double, String) or Type Annotations
var age: Int = 10
var name:String = "John"
var radius: Float = 2.5
var area: Double = 14.50
var isAlive: Bool = false