Skip to content

Instantly share code, notes, and snippets.

View kernel-memory-dump's full-sized avatar
💼
Software Architecture is Love, Software Architecture is Life

Sebastian Novak kernel-memory-dump

💼
Software Architecture is Love, Software Architecture is Life
View GitHub Profile
@kernel-memory-dump
kernel-memory-dump / mysql-change-root-pass.md
Created September 30, 2024 02:02 — forked from faizalmansor/mysql-change-root-pass.md
MySQL / MariaDB Change Root Password Step by Step

MySQL / MariaDB Change Root Password

The initial root password on install can be found by running

grep 'temporary password' /var/log/mysqld.log

  1. Stop mysql:

systemctl stop mysqld

  1. Set the mySQL environment option
@kernel-memory-dump
kernel-memory-dump / AdvancedDistributedSystemDesignCourseNotes.md
Created July 25, 2024 12:00 — forked from craigtp/AdvancedDistributedSystemDesignCourseNotes.md
Notes on Udi Dahan's Advanced Distributed System Design Course

Advanced Distributed System Design Course - Udi Dahan

Notes by Craig Phillips

Fallacies of Distributed Computing

  • There are 11 fallacies of Distributed Computing:
    1. The network is reliable
    2. Latency isn’t a problem
    3. Bandwidth isn’t a problem
    4. The network is secure
  1. The topology won’t change
@kernel-memory-dump
kernel-memory-dump / .eslintrc.js
Created September 16, 2020 15:35 — forked from nkbt/.eslintrc.js
Strict ESLint config for React, ES6 (based on Airbnb Code style)
{
"env": {
"browser": true,
"node": true,
"es6": true
},
"plugins": ["react"],
"ecmaFeatures": {

What Hiring Should Look Like

This is definitely not the first time I've written about this topic, but I haven't written formally about it in quite awhile. So I want to revisit why I think technical-position interviewing is so poorly designed, and lay out what I think would be a better process.

I'm just one guy, with a bunch of strong opinions and a bunch of flaws. So take these suggestions with a grain of salt. I'm sure there's a lot of talented, passionate folks with other thoughts, and some are probably a lot more interesting and useful than my own.

But at the same time, I hope you'll set aside the assumptions and status quo of how interviewing is always done. Just because you were hired a certain way, and even if you liked it, doesn't mean that it's a good interview process to repeat.

If you're happy with the way technical interviewing currently works at your company, fine. Just stop, don't read any further. I'm not going to spend any effort trying to convince you otherwise.

; BOOTSEC signature bruh
bits 16
org 0x7C00
start:
jmp entry
printmsg db "TOP KEK",13,10,0
@kernel-memory-dump
kernel-memory-dump / cdk-asg-userdata.ts
Created June 8, 2020 16:45 — forked from darko-mesaros/cdk-asg-userdata.ts
AWS CDK - Launch an EC2 Autoscaling Group with userdata read of disk
// VPC
const vpc = new ec2.Vpc(this, 'VPC');
// Security group
const webSg = new ec2.SecurityGroup(this, 'WebSG',{
vpc: vpc,
allowAllOutbound: true,
description: "Web Server Security Group"
});
webSg.addIngressRule(ec2.Peer.anyIpv4(), ec2.Port.tcp(8080), 'Web from anywhere')
@kernel-memory-dump
kernel-memory-dump / devAppend.js
Last active February 26, 2020 16:46
devAppend.js
setTimeout(async () => {
sync('./topkek.txt', "kek");
});
function sync(path, data) {
const fs = require('fs');
options = {
encoding: 'utf8',
mode: 438 /*=0666*/
};
@kernel-memory-dump
kernel-memory-dump / RXJSAngular7.ts
Last active April 11, 2019 11:32
RX JS Angular7.ts
// see https://alligator.io/angular/takeuntil-rxjs-unsubscribe/
// UsersModule ==========================================================================
{
path: 'users',
component: UsersComponent,
resolve: {
@kernel-memory-dump
kernel-memory-dump / import_json_appsscript.js
Created April 2, 2019 07:45 — forked from chrislkeller/import_json_appsscript.js
Adds what amounts to an =ImportJSON() function to a Google spreadsheet... To use go to Tools --> Script Editor and add the script and save.
/**
* Retrieves all the rows in the active spreadsheet that contain data and logs the
* values for each row.
* For more information on using the Spreadsheet API, see
* https://developers.google.com/apps-script/service_spreadsheet
*/
function readRows() {
var sheet = SpreadsheetApp.getActiveSheet();
var rows = sheet.getDataRange();
var numRows = rows.getNumRows();
@kernel-memory-dump
kernel-memory-dump / introrx.md
Created January 21, 2019 08:02 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing