Skip to content

Instantly share code, notes, and snippets.

View erhangundogan's full-sized avatar
👋

Erhan Gundogan erhangundogan

👋
View GitHub Profile
@erhangundogan
erhangundogan / engineering-manager.md
Last active November 15, 2024 08:53
Engineering Manager Responsibilities

An Engineering Manager plays a crucial role in both technical leadership and people management within a team. Their responsibilities span across ensuring the delivery of high-quality engineering work, fostering team collaboration, managing individual performance, and aligning engineering efforts with broader company goals. Here’s a detailed look at what an Engineering Manager should do in a team:

  • Team Leadership and Development

    • Mentor and Develop Engineers
    • Performance Management
    • Foster a Collaborative Culture
    • Conflict Resolution
    • Hiring and Onboarding
  • Technical Leadership and Decision Making

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
  • aws
  • coralogix
  • datadog
  • dynatrace
  • elastic
  • google cloud
  • grafana
  • honeycomb.io
  • logz.io
  • mezmo
@erhangundogan
erhangundogan / create-k3s-cluster-with-multipass.sh
Created August 1, 2024 11:48
Create K3S Cluster with multipass
#!/bin/bash
multipass launch -c 1 -m 1G -d 4G -n k3s-master 24.04
multipass info k3s-master
for f in 1 2; do
multipass launch -c 1 -m 1G -d 4G -n k3s-worker-$f 18.04
done
multipass list
multipass exec k3s-master -- bash -c "curl -sfL https://get.k3s.io | sh -"
TOKEN=$(multipass exec k3s-master sudo cat /var/lib/rancher/k3s/server/node-token)
@erhangundogan
erhangundogan / application-ld+json.html
Last active July 23, 2024 08:58
application/ld+json
<!-- first -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Article",
"dateModified": "2024-07-22",
"headline": "Erhan&amp;#39;s journey to the web"
}
</script>
const colorSpace = window.matchMedia('(color-gamut: p3)').matches ? 'display-p3' : 'srgb';
canvas.getContext('2d', { colorSpace });
@erhangundogan
erhangundogan / p3.css
Last active July 22, 2024 19:22
sRGB display-p3
/* https://webkit.org/blog/10042/wide-gamut-color-in-css-with-display-p3/ */
/* sRGB color */
:root {
--deepest-pink: deeppink;
}
/* Display-P3 color, when supported */
@supports (color: color(display-p3 1 1 1)) {
:root {
--deepest-pink: color(display-p3 1 0 0.5);
@erhangundogan
erhangundogan / getAllCustomElements.js
Last active May 31, 2024 12:53
Find all custom elements on the page
const allCustomElements = [];
function isCustomElement(el) {
const isAttr = el.getAttribute('is');
// Check for <super-button> and <button is="super-button">.
return el.localName.includes('-') || isAttr && isAttr.includes('-');
}
function findAllCustomElements(nodes) {
for (let i = 0, el; el = nodes[i]; ++i) {
@erhangundogan
erhangundogan / trips.md
Last active October 31, 2024 09:33
My trips

North America

  • East coast (NY, Washington),
  • Midwest (Chicago, Mount Rushmore)
  • West coast (Los Angeles, San Francisco)
  • Nevada (Las Vegas, Grand Canyon)
  • Florida (Miami)

Latin America / Caribbean

  • Costa Rica
  • Cuba (Havana)