Skip to content

Instantly share code, notes, and snippets.

View minhnguyenvan95's full-sized avatar
πŸ˜†

Minh Nguyen minhnguyenvan95

πŸ˜†
View GitHub Profile
@minhnguyenvan95
minhnguyenvan95 / GUIDE.md
Created September 4, 2022 12:28
How to get all Jetbrains products for FREE! | Working (2022) | Full Guide
@minhnguyenvan95
minhnguyenvan95 / clean_code.md
Created March 21, 2022 04:19 — forked from wojteklu/clean_code.md
Summary of 'Clean code' by Robert C. Martin

Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.


General rules

  1. Follow standard conventions.
  2. Keep it simple stupid. Simpler is always better. Reduce complexity as much as possible.
  3. Boy scout rule. Leave the campground cleaner than you found it.
  4. Always find root cause. Always look for the root cause of a problem.

Design rules

@minhnguyenvan95
minhnguyenvan95 / 2019-https-localhost.md
Created March 19, 2020 06:02 — forked from cecilemuller/2019-https-localhost.md
How to create an HTTPS certificate for localhost domains

How to create an HTTPS certificate for localhost domains

This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.

Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).

@minhnguyenvan95
minhnguyenvan95 / 2019-https-localhost.md
Created March 19, 2020 06:02 — forked from cecilemuller/2019-https-localhost.md
How to create an HTTPS certificate for localhost domains

How to create an HTTPS certificate for localhost domains

This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.

Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).

@minhnguyenvan95
minhnguyenvan95 / key.md
Created December 19, 2018 04:41
FREE IntelliJ IDEA key 2018.2!

READ or DIE

  • put 0.0.0.0 account.jetbrains.com into your hosts file (C:\Windows\System32\drivers\etc\hosts or /etc/hosts)
  • for GayOS macOS read that
  • use the key below
K71U8DBPNE-eyJsaWNlbnNlSWQiOiJLNzFVOERCUE5FIiwibGljZW5zZWVOYW1lIjoibGFuIHl1IiwiYXNzaWduZWVOYW1lIjoiIiwiYXNzaWduZWVFbWFpbCI6IiIsImxpY2Vuc2VSZXN0cmljdGlvbiI6IkZvciBlZHVjYXRpb25hbCB1c2Ugb25seSIsImNoZWNrQ29uY3VycmVudFVzZSI6ZmFsc2UsInByb2R1Y3RzIjpbeyJjb2RlIjoiSUkiLCJwYWlkVXBUbyI6IjIwMTktMDUtMDQifSx7ImNvZGUiOiJSUzAiLCJwYWlkVXBUbyI6IjIwMTktMDUtMDQifSx7ImNvZGUiOiJXUyIsInBhaWRVcFRvIjoiMjAxOS0wNS0wNCJ9LHsiY29kZSI6IlJEIiwicGFpZFVwVG8iOiIyMDE5LTA1LTA0In0seyJjb2RlIjoiUkMiLCJwYWlkVXBUbyI6IjIwMTktMDUtMDQifSx7ImNvZGUiOiJEQyIsInBhaWRVcFRvIjoiMjAxOS0wNS0wNCJ9LHsiY29kZSI6IkRCIiwicGFpZFVwVG8iOiIyMDE5LTA1LTA0In0seyJjb2RlIjoiUk0iLCJwYWlkVXBUbyI6IjIwMTktMDUtMDQifSx7ImNvZGUiOiJETSIsInBhaWRVcFRvIjoiMjAxOS0wNS0wNCJ9LHsiY29kZSI6IkFDIiwicGFpZFVwVG8iOiIy
@minhnguyenvan95
minhnguyenvan95 / ripple-xrp.js
Created December 6, 2018 02:52 — forked from WietseWind/ripple-xrp.js
Ripple XRP API (NodeJS) - Send XRP
var RippleAPI = require('ripple-lib').RippleAPI
var api = new RippleAPI({ server: 'wss://s1.ripple.com' }) // Public rippled server
var myAddress = 'xxxxxxx'
var mySecret = 'yyyyyyy'
api.on('error', function (errorCode, errorMessage) {
console.log(errorCode + ': ' + errorMessage)
})
api.on('connected', function () {
@minhnguyenvan95
minhnguyenvan95 / Setting up Cassandra for remote access.md
Created August 29, 2018 05:27
Setting up Cassandra for remote access

Make these changes in the cassandra.yaml config file:

start_rpc: true

rpc_address: 0.0.0.0

broadcast_rpc_address: [node-ip]

listen_address: [node-ip]