Git Unable Push/Pull Via Port 22

Git unable push/pull via port 22, it seem that port 22 is blocked on some isp or if you behind proxy or firewall. To handle this, many of code hosting provider like github and bitbucket serve alternate endpoint and port, you just need to add this to ssh config, on ubuntu ssh config can be found at ~/.ssh/config, you can use nano or vim to edit/add this file. . . selengkapnya>>

SOPS: Secrets OPerationS Tools For Encrypt Secret Key/Files

SOPS: Secrets OPerationS sops is an editor of encrypted files that supports YAML, JSON, ENV, INI and BINARY formats and encrypts with AWS KMS, GCP KMS, Azure Key Vault, age, and PGP. (demo) https://github.com/mozilla/sops . . . selengkapnya>>

Prevent Vue Build Delete Additional File on Dist Folder

When we execute npm run build, vue will build into dist folder, sometimes we need to add additional file like htaccess to this dist folder. but if we add the file manually the file will be deleted on next build. I don't know if this solution is best practice, but it is work for now :D, The solution is we need to add the file we want to include in dist folder. . . selengkapnya>>

Pip Show Package Version

pip show package_name ref : https://stackoverflow.com/questions/10214827/find-which-version-of-package-is-installed-with-pip . . . selengkapnya>>

Javascript Strip All Non Numeric Character

myString = myString.replace(/\D/g,'');   ref : https://stackoverflow.com/questions/1862130/strip-all-non-numeric-characters-from-string-in-javascript . . . selengkapnya>>

zuka.one
©2011