Skip to content

Instantly share code, notes, and snippets.

@YMakeev
YMakeev / get-argocd-default-password.md
Created January 26, 2025 21:18 — forked from iambryancs/get-argocd-default-password.md
Get ArgoCD default admin password

Get ArgoCD default admin password

To get ArgoCD default admin password after installation, run:

kubectl -n argocd get secret argocd-initial-admin-secret \
          -o jsonpath="{.data.password}" | base64 -d; echo

The default admin user is admin.

Please listen up!
I need assistance with preparation for coding session
The CodeSignal screen is meant to test general coding ability.
I’ll be asked to implement a simple coding project from a spec and develop it to the point that it passes some tests.
I should prioritize
a) writing code that passes as many tests as possible and
b) progressing through all four levels quickly.
It'll essentially be a toy simulation of an app that won't require anything except the standard library of chosen programming language.
Note there's no framework/UI or anything similar — basically, it's like the core business logic of an app, but nothing else.
It won’t test detailed knowledge of algorithms, compute systems, or machine learning.
@YMakeev
YMakeev / gist:84f3f89ee3e975dfd6727ce3992f14b9
Created May 15, 2020 14:51 — forked from pitch-gist/gist:2999707
HTML: Simple Maintenance Page
<!doctype html>
<title>Site Maintenance</title>
<style>
body { text-align: center; padding: 150px; }
h1 { font-size: 50px; }
body { font: 20px Helvetica, sans-serif; color: #333; }
article { display: block; text-align: left; width: 650px; margin: 0 auto; }
a { color: #dc8100; text-decoration: none; }
a:hover { color: #333; text-decoration: none; }
</style>
@YMakeev
YMakeev / S3-Static-Sites.md
Created October 7, 2019 13:18 — forked from bradwestfall/S3-Static-Sites.md
Use S3 and CloudFront to host Static Single Page Apps (SPAs) with HTTPs and www-redirects. Also covers deployments.

S3 Static Sites

What this will cover

  • Host a static website at S3
  • Redirect www.website.com to website.com
  • Website can be an SPA (requiring all requests to return index.html)
  • Free AWS SSL certs
  • Deployment with CDN invalidation

Resources

@YMakeev
YMakeev / custom_ssl_unifi_controller.md
Created October 2, 2019 00:12 — forked from hdml/custom_ssl_unifi_controller.md
Installing a custom SSL cert on a Unifi Controller

##Installing a custom SSL cert on Unifi Controller

Requirements:

  • Domain certificate (*.crt)
  • Certificate key (*.key)
  • Intermediate certificate from CA (*.crt, *.pem)
  • Permissions to restart the unifi service
  • Debian or Ubuntu Unifi Controller installation