Posts

2024

Wrapping Up Https Ssl Certification Register Of Your Dns

less than 1 minute read

Published:

  1. Sign Up your account to cloudflare
  2. Add the website (dns you make to cloudflare) example reference
  3. Login to domain registrar
  4. Find the DNSSEC at the registrar, turn DNSSEC off, after at least 24 hours. Turn it back on
  5. Find the list of nameservers at your registrar, and add Cloudflare nameserver, remove if theres existing nameserver.
  6. If the DNSSEC is already off, to turn it on reference, has something to do with CNAME and DS Records.
  7. Next you sign up to ssl provider, claim your webserver / website ownership, I do it by using web server and upload to http webserver at certain location.
  8. You finally can get the certifications and private key to enable TLS

Kubernetes 101

1 minute read

Published:

You can go ahead with its documentation or everything, even straight with chatgpt if you fulfill these:

My linuxbrew wsl go env

less than 1 minute read

Published:

$ go env

GO111MODULE=''  
GOARCH='amd64'  
GOBIN='/home/shohiebsense/go/bin'
GOCACHE='/home/shohiebsense/.cache/go-build'
GOENV='/home/shohiebsense/.config/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='amd64'
GOHOSTOS='linux'
GOINSECURE=''
GOMODCACHE='/home/shohiebsense/go/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='linux'
GOPATH='/home/shohiebsense/go'
GOPRIVATE=''
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/home/linuxbrew/.linuxbrew/Cellar/go/1.22.1/libexec'
GOSUMDB='sum.golang.org'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/home/linuxbrew/.linuxbrew/Cellar/go/1.22.1/libexec/pkg/tool/linux_amd64'
GOVCS=''
GOVERSION='go1.22.1'
GCCGO='gccgo'
GOAMD64='v1'
AR='ar'
CC='cc'
CXX='c++'
CGO_ENABLED='1'
GOMOD=''
GOWORK=''
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
PKG_CONFIG='pkg-config'
GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build1434995651=/tmp/go-build -gno-record-gcc-switches'

Aws Builder Online Series Resume

3 minute read

Published:

Background: App we build needs to scale quickly. to million of users, global availability, respond in milisecondds, handle petabytes of data.

Linear regression steps

3 minute read

Published:

Suppose we have data number of correct answers and the attitude mark like this

Science victory civ 6 emperor mode: how to

less than 1 minute read

Published:

Rush Settler. Rush Campus
If you broke, rush commercial hub / Encampment
By the Renaissance era, must have 7 cities
By the Modern era, must have 9 cities
The point is you should keep building Campus, don’t stop.

2023

Locust

less than 1 minute read

Published:

Locust is one of the load testing tools.

Ghostscript

less than 1 minute read

Published:

Ridiculus requirements / demands can be answered with ridiculous approach.

Upgrading flutter project

less than 1 minute read

Published:

Recently Flutter released their new version of SDK. One of the biggest changes is null-safety.

Nginx php mac

less than 1 minute read

Published:

Just Affirming that this works:

Dealing With Overflowed In Flutter

less than 1 minute read

Published:

The stackoverflow answers mostly are about preferences, substituting one widget for another that is appealing.

Locale In Android

less than 1 minute read

Published:

use language to get the same resources’ directory name.

Locale.getDefault().language

Learning How To Learn

less than 1 minute read

Published:

  • The brain generated a ton of synapses everytime we wake up from sleep.
  • Two types of thinking: Focus and Diffuse.
  • Procrastination happens because the brand tens to avoid something that causes the pain. It is insular cortex. So we switch the situation to something else.
  • Research shows that when we do something we don’t like. That neural discomfort disappear.

The Attitude Of It Industry

1 minute read

Published:

It is a strange, unsurprising phenomenon of layoffs nowadays, as far as I know, it was from September last year up to this day.

A Long Rough Way To Update Dependencies

less than 1 minute read

Published:

Not long ago since Kotlin 1.8.0 is released. This is quite big changes, one of them is to completely leave the Kotlin synthetic injection feature on xml.

2022

Amend And Squash Commit Never Work Well

less than 1 minute read

Published:

Just do squash commits in the end, no need to amend a commit if you already pushed a commit and want to make the commits into one.

Delete a pushed commit

less than 1 minute read

Published:

Instead of revert, if you would like to delete a pushed commit,

Bottomsheetdialog No Modalbottomsheetlayout No Scaffold And Its Scrim

1 minute read

Published:

Say you want to make a BottomSheetDialog that:

  1. Has no Scrim Layout
  2. Can do interaction behind it (its main layout)
  3. Just a simple one (visible and inVisible),
  4. As for implications there’s no need modalBottomSheetState just visible (expand) and hide (invisible)

When You Handle The Filter On The Front Jetpack Compose

5 minute read

Published:

Say there is a Product that you want to implement. Each can have different type one to another, also has different status. Summary the product can have:

  1. Different Product Type
  2. Different Status

Liveness Using Mlkit Android

less than 1 minute read

Published:

Integrate with CameraX by adding ImageAnalysis.Analyzer when build ImageAnalysis

Accessing To Unnamed Key On Map In Kotlin

less than 1 minute read

Published:

{
  "profiles": [
    {
      "data": {
        "id": 320812381212,
        "name": "Name",
        "email": "email@gmail.com",
        "gender": "Male",
        "custom_personal_attribute": "ehe"
      },
      "type": "personal"
    },
    {
      "data": {
        "id": 320812381212,
        "name": "asdsad",
        "email": "email@yohaa.com",
        "gender": "Female",
        "custom_spouse_attribute": "aha"
      },
      "type": "spouse"
    }
  ]
}

Alternatives of medium

less than 1 minute read

Published:

  1. Reddit
  2. https://www.thoughtworks.com/radar
  3. https://news.ycombinator.com/
  4. https://www.freshbooks.com/blog/keep-your-skills-current
  5. https://hackernewsletter.com/
  6. https://github.com/headllines/hackernews-daily
  7. https://hckrnews.com/
  8. https://martinfowler.com/
  9. https://stripe.com/blog/engineering
  10. https://developer.mozilla.org/en-US/
  11. Your favorite tech-related youtuber(s)

2021

Fix avd freeze not responding or timeout

less than 1 minute read

Published:

https://stackoverflow.com/questions/36675654/error-while-waiting-for-device-time-out-after-300seconds-waiting-for-emulator-t
https://stackoverflow.com/questions/7009463/how-to-fix-android-emulator-not-responding-after-launch-behaviour
https://stackoverflow.com/questions/66250313/android-emulator-not-responding-frozen
https://stackoverflow.com/questions/63371056/the-system-ui-isnt-responding-in-android-emulator-flutter
https://stackoverflow.com/questions/4214389/android-emulator-not-starting-at-all

Graphics to Software
Get Your Emulator RAM Bigger
Exit IDE
Run As Administrator
Tips: Name your emulator without space