Skip to content

Instantly share code, notes, and snippets.

View sudoevans's full-sized avatar
:electron:
Listening Octocat fairy tales

Evans sudoevans

:electron:
Listening Octocat fairy tales
View GitHub Profile
@sudoevans
sudoevans / kcna-prep-quiz.md
Created August 25, 2025 11:23
KCNA Prep Questions

KCNA Full 60-Question Mock Exam (with Answers)

Format: Multiple Choice (single best answer).
Use this like the real exam: attempt all questions, then check answers at the end.

Kubernetes Fundamentals (Q1–20)

Q1. What is the smallest deployable unit in Kubernetes?
a) Container

@sudoevans
sudoevans / resume.tex
Created February 3, 2025 19:13
My resume in Latex
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Compact Professional Resume Template
% LaTeX Template for Evans Cheruiyot
% ©️2025 Evans Cheruiyot
% MIT
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[10pt,a4paper]{article}
% Compact formatting packages
@sudoevans
sudoevans / purge-kernels.sh
Created January 19, 2025 10:25
Remove unwanted kernels
#!/bin/bash
# Remove unwanted kernels.
uname -a
IN_USE=$(uname -a | awk '{ print $3 }' )
echo "You are currently running $IN_USE"
OLD_KERNELS=$(
dpkg --list |

Technical Writing. Know Your Audience.

Who are you talking to? Are they tech experts or regular folks?

What do they already know? Don't overwhelm them with jargon.

What do they need to know? Focus on the essential information.

@sudoevans
sudoevans / odoo-issue.md
Created June 6, 2024 15:39
Permissions Issue with `odoo-server.conf` Causing Service to Exit Immediately

Issue Description:

Problem: After running the Odoo installation script from Yenthe666's InstallScript, everything seemed to work well i get the

Done! The Odoo server is up and running. Specifications: Port: 8069 User service: odoo ...... bla bla bla

However, when checking the status of the Odoo service using sudo service odoo-server status, the status displayed as active (exited) instead of active (running).

@sudoevans
sudoevans / analysis.md
Created May 22, 2024 05:35
Analysis of Debian Preseed File

Analysis of Debian Preseed File

Some key things this preseed file covers:

User Accounts

  • It skips creation of a normal user account
  • It enables root login
  • It sets the root password using a pre-computed sha-512 hash:
@sudoevans
sudoevans / keep-alive.yaml
Created January 2, 2024 11:53
Github Action for Keep Alive
name: Keep Alive
on:
schedule:
- cron: '* * * * *' # Run every minute for testing, you can put 11:59 UTC🕔
jobs:
keep-alive:
runs-on: ubuntu-latest
@sudoevans
sudoevans / machine-learning-notes.md
Created December 15, 2023 08:39
Machine Learning Personal Notes

This is my summary of machine learning fundamental concepts.

  1. Supervised Learning:
  • Goal: To train a model to predict output based on labeled training data.
  • Algorithms:
    • Linear Regression: Used for predicting continuous outcomes.
    • Logistic Regression: Used for binary classification problems.
    • Decision Trees: Simplifies data into rules to make predictions.
    • Support Vector Machines (SVMs): Finds the best decision boundary to separate data.
  • k-Nearest Neighbors (k-NN): Predicts based on similarity to nearby data points.
@sudoevans
sudoevans / project-com404.ipynb
Created December 6, 2023 09:20
Project-com404.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.