Beautify HTML, XML, JSON, CSS and JavaScript in Online

HTML, XML, JSON, CSS and JavaScript Beautifier is used for beautify HTML,XML,JSON,CSS and JavaScript in online. Beautifier will reformat and re-indent bookmarklets, ugly JavaScript, unpack scripts. Beautify, unpack or deobfuscate JavaScript and HTML, make JSON/JSONP readable.

https://www.bitcompiler.com/html-beautifier

Trust self signed certificate in Spring Boot

Trust self signed ssl certificate in Spring Boot Rest Template

public RestTemplate getRestTemplateForSelfSsl() throws KeyStoreException, NoSuchAlgorithmException, KeyManagementException {
    TrustStrategy acceptingTrustStrategy = (X509Certificate[] x509Certificates, String s) - > true;
    SSLContext sslContext = org.apache.http.ssl.SSLContexts.custom().loadTrustMaterial(null, acceptingTrustStrategy).build();
    SSLConnectionSocketFactory csf = new SSLConnectionSocketFactory(sslContext, new NoopHostnameVerifier());
    CloseableHttpClient httpClient = HttpClients.custom().setSSLSocketFactory(csf).build();
    HttpComponentsClientHttpRequestFactory requestFactory = new HttpComponentsClientHttpRequestFactory();
    requestFactory.setHttpClient(httpClient);
    RestTemplate restTemplate = new RestTemplate(requestFactory);
    return restTemplate;
}

@ResponseBody
public String send(String url, HttpEntity entity, HttpMethod httpMethod) {
    String response;
    try {
        try {
            RestTemplate restTemplate;
            if (url.startsWith("https")) {
                restTemplate = getRestTemplateForSelfSsl();
            } else {
                restTemplate = new RestTemplate();
            }
            ResponseEntity < String > responseEntity = restTemplate.exchange(url, httpMethod, entity, String.class);
        } catch (HttpStatusCodeException ex) {
            log.error(ex);
        }
    } catch (Exception ex) {
        log.error(ex);
    }
    return response;
}

Solved: Object doesn’t support property or method ‘assign’

Object.assign() method is not supported in IE, but there is a polyfill available

Put the below line of code to your <head> for solving this issue.

Convert Degrees Minutes Seconds (DMS) to Decimal Degrees Lat Long in Online

DMS to decimal latitude and longitude.Degrees Minutes Seconds to decimal.Degrees Minutes Seconds to decimal Longitude.Convert DMS to Latitude and Longitude.Convert DMS to Lat Long.


Convert Latitude and Longitude to Degrees Minutes Seconds in Online

latitude and longitude to DMS.Latitude in Degrees Minutes Seconds.Longitude in Degrees Minutes Seconds.Convert Latitude and Longitude to DMS.Convert Lat Long to DMS.

https://www.bitcompiler.com/lat-long-to-degrees-minutes-seconds


Online URL Slug Generator

Online URL Slug Generator to generate search engine friendly and user friendly URL slugs.

https://www.bitcompiler.com/url-slug-generator


Encode or Decode HTML Entities Online

Encode or Decode HTML Entities to converts characters to HTML entities. And also convert HTML entities back to characters.

https://www.bitcompiler.com/encode-decode-html-entities


Encrypt and Decrypt Online

Encryption is the process of encoding a message or information. Decryption is the process of encrypted data into its original form. It is the reverse process of encryption. Decryption or Encryption requires a secret key or password.

https://www.bitcompiler.com/encrypt-decrypt