- https://dzone.com/articles/hakky54mutual-tls-1
- https://medium.com/@itzgeoff/using-a-custom-trust-store-with-resttemplate-in-spring-boot-77b18f6a5c39
- https://www.youtube.com/watch?v=R5QCAtYuy7A
- https://developers.redhat.com/blog/2020/06/05/adding-keystores-and-truststores-to-microservices-in-red-hat-openshift#
- https://8gwifi.org/docs/jks.jsp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://stackoverflow.com/questions/17062219/pass-multiple-parameters-to-processbuilder-with-a-space | |
// https://stackoverflow.com/questions/15384879/imagemagick-using-more-than-2gb-of-memory-to-convert-pdf-files | |
// https://www.imagemagick.org/script/command-line-options.php#limit | |
// Set '-limit memory 0 -limit map 0'. If that fails, you'll need a larger instance of a Amazon server to run ImageMagick. | |
// https://legacy.imagemagick.org/discourse-server/viewtopic.php?t=23090 | |
// https://github.com/imagemagick/imagemagick/issues/327 | |
/* convert -background '#dfe1ff' -pointsize 40 -fill blue -gravity south \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package my.hydepark.ssl; | |
import javax.net.ssl.*; | |
import java.security.cert.CertificateException; | |
import java.security.cert.X509Certificate; | |
public class SSLCertificateValidation { | |
public static void disable() { | |
try { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"added_words": | |
[ | |
"jsoniary", | |
"const" | |
], | |
"always_show_minimap_viewport": true, | |
"bold_folder_labels": true, | |
"caret_style": "phase", | |
"close_windows_when_empty": true, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {useState} from 'react'; | |
export const useInput = initialValue => { | |
const [value, onChange] = useState(initialValue); | |
return { | |
value, | |
onChange(e) { | |
onChange(e.target.value); | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { useState, useCallback, useMemo } from "react"; | |
import ReactDOM from "react-dom"; | |
import { Input, Button } from "antd"; | |
import { diffLines, formatLines } from "unidiff"; | |
import { parseDiff, Diff, Hunk } from "react-diff-view"; | |
import { useInput } from "./hooks"; | |
import "antd/dist/antd.min.css"; | |
import "react-diff-view/style/index.css"; | |
import tokenize from "./tokenize"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const newS = { | |
codeFold: { "background-color": "rgb(241, 248, 255)", height: "40px", "font - size": "14px", "font-weight": 700, }, | |
codeFoldContent: { color: "rgb(33, 37, 41)", }, | |
codeFoldGutter: { 'background-color': 'rgb(219, 237, 255)', }, | |
content: {width: "100%", }, | |
contentText: { color: "rgb(33, 37, 41)", }, | |
diffAdded: { background: "rgb(230, 255, 237)", color: "rgb(36, 41, 46)", }, | |
diffContainer: { width: "100%", background: "rgb(255, 255, 255)", 'border-collapse': "collapse", }, | |
diffRemoved: { background: "rgb(255, 238, 240)", color: "rgb(36, 41, 46)", }, | |
emptyLine: { "background-color": "rgb(250, 251, 252)", }, |
https://en.wikipedia.org/wiki/ACID
pets == collection
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias gl="git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit" |