- Step 1: Download and install StarUML Version 6 from main website https://staruml.io
- Step 2: Download
app.asar
file from https://drive.google.com/file/d/1_sKvHVL6SebnYF73iZxSWD9l48Pddzvj/view?usp=sharing - Step 3: Copy
app.asar
file download in step 2 (Overrideapp.asar
file)- Window:
C:\Program Files\StarUML\resources
- MacOS:
/Applications/StarUML.app/Contents/Resources/
- Linux:
/opt/StartUML/resources
- Window:
- Step 4: Open StarUML app to use
Support for Cosmos SDK Stargate in CosmJS has been ongoing work for several months now. Stargate is released and CosmJS is here to connect to it.
Let's explore what is new for Stargate support:
- @cosmjs/proto-signing, which implements the new SIGN_MODE_DIRECT based on protobuf serializations
- @cosmjs/stargate, which provides a high level client for querying, signing and broadcasting
- @cosmjs/cosmwasm-stargate for interacting with CosmWasm smart contracts on Stargate chains
This file contains 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 org.bouncycastle.util.encoders.Hex; | |
import org.web3j.crypto.*; | |
import java.math.BigInteger; | |
public class ECCExample { | |
public static String compressPubKey(BigInteger pubKey) { | |
String pubKeyYPrefix = pubKey.testBit(0) ? "03" : "02"; | |
String pubKeyHex = pubKey.toString(16); | |
String pubKeyX = pubKeyHex.substring(0, 64); |
This file contains 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
val rivateKey = privateKeyAsText | |
.replace("-----BEGIN PRIVATE KEY-----\n", "") | |
.replace("-----END PRIVATE KEY-----", "") | |
.replace("\n", "") | |
.let { | |
val encodedKey = Base64.getDecoder().decode(it) | |
val kf = KeyFactory.getInstance("RSA") | |
val keySpec = PKCS8EncodedKeySpec(encodedKey) | |
kf.generatePrivate(keySpec) as RSAPrivateKey | |
} |
⚠ This post is fairly old. I don't keep it up to date. Be sure to see comments where some people have posted updates
What this will cover
- Host a static website at S3
- Redirect
www.website.com
towebsite.com
- Website can be an SPA (requiring all requests to return
index.html
) - Free AWS SSL certs
- Deployment with CDN invalidation
AWS 학습 링크집 시리즈
- AWS 트레이닝 및 자격증 소개 http://bit.ly/aws-tnc-intro
- AWS 학습 자료집 http://bit.ly/aws-study-resource
- AWS 공인 솔루션스 아키텍트 - 어소시에이트 수험 가이드 http://bit.ly/sacertguide
- AWS 공인 개발자 - 어소시에이트 수험 가이드 http://bit.ly/devcertguide
- AWS 보안 관련 컨텐츠 모음집 http://bit.ly/secontents
- AWS 기반 빅데이터 학습자료집 http://bit.ly/bdonaws
- AWS 딥러닝 학습 자료 모음집 http://bit.ly/dlonaws
- AWS The Machine Learning pipeline on AWS 교육 학습 자료집 http://bit.ly/ml-pipeline
This file contains 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
// | |
// Lambda's timeout needs to be >5 seconds, 10 should do | |
// | |
var startedAt = new Date(); | |
var interval = setInterval(function () { | |
console.log(startedAt, new Date()); | |
}, 1000); |
This file contains 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
/** | |
* 숫자를 한글발음대로 표기 | |
* 구글 스프레드시트에서는 아래의 함수가 없어서 구현함. | |
* 한글만 지원. (원래 함수는 한자 등의 다양한 타입을 지원함) | |
*/ | |
function numberstring(num) { | |
var namesInSeat = ['', '일', '이', '삼', '사', '오', '육', '칠', '팔', '구'], | |
namesInSeats = ['', '십', '백', '천'], | |
namesInFourSeat = ['', '만', '억', '조'], |
NewerOlder