Skip to content

Instantly share code, notes, and snippets.

View dennisnderitu254's full-sized avatar
💻
ALX SE

Dennis Nderitu Kinyanjui dennisnderitu254

💻
ALX SE
View GitHub Profile
@dennisnderitu254
dennisnderitu254 / self-taught-beginner.md
Created September 18, 2023 09:23 — forked from gowizzard1/self-taught-beginner.md
Comprehensive Step-by-Step Guide & Resources for Aspiring Self-Taught Software Engineers

Here are numerous self-taught resources available online for beginners in software engineering. Here's a step-by-step guide for someone starting out, complete with resources:

1. Foundations

@dennisnderitu254
dennisnderitu254 / task0.md
Created August 28, 2023 13:39
Installing a redis instance

Install a redis instance

nderitu@ndech:~/redis-6.0.10$ src/redis-cli ping
PONG
nderitu@ndech:~/redis-6.0.10$ src/redis-cli
127.0.0.1:6379> set Holberton School
OK
127.0.0.1:6379> get Holberton 
"School"
@dennisnderitu254
dennisnderitu254 / escrowdemo.md
Created August 28, 2023 09:05
Final Project - Escrow Systems Design

An escrow system is designed to facilitate secure transactions between parties by holding funds or assets in a neutral account until certain conditions are met.

I looked at a similar system and borrowed some inspiration from it - https://www.escrow.com/

This is my perspective on how I would go about designing it.

  1. User Registration and Verification: Users (buyers, sellers, and the escrow service) register on the platform with verified information, such as email, phone number, and payment details.
@joulgs
joulgs / terminal.txt
Last active December 23, 2025 08:37
How install libssl1.1 on ubuntu 22.04
wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.0g-2ubuntu4_amd64.deb
sudo dpkg -i libssl1.1_1.1.0g-2ubuntu4_amd64.deb
@dennisnderitu254
dennisnderitu254 / Buttons_Template.js
Created September 23, 2020 05:10 — forked from Anshul0305/Buttons_Template.js
Facebook Code Snippets
{
"facebook":{
"attachment":{
"type":"template",
"payload":{
"template_type":"button",
"text":"What do you want to do next?",
"buttons":[
{
"type":"web_url",
@RamonWill
RamonWill / TkinterTemplate.py
Last active July 31, 2025 13:44
Tkinter GUI template
import tkinter as tk
from tkinter import messagebox
from tkinter import ttk
"""
Useful Links:
https://stackoverflow.com/questions/7546050/switch-between-two-frames-in-tkinter Most useful in my opinion
https://www.tutorialspoint.com/python/python_gui_programming.htm
https://anzeljg.github.io/rin2/book2/2405/docs/tkinter/index.html
@brentvollebregt
brentvollebregt / get_wifi_passwords.py
Last active April 18, 2025 09:04
Will find each network profile on a Windows machine and print the profile and password
import subprocess
a = subprocess.check_output(['netsh', 'wlan', 'show', 'profiles']).decode('utf-8', errors="ignore").split('\n')
a = [i.split(":")[1][1:-1] for i in a if "All User Profile" in i]
for i in a:
try:
results = subprocess.check_output(['netsh', 'wlan', 'show', 'profile', i, 'key=clear']).decode('utf-8', errors="ignore").split('\n')
results = [b.split(":")[1][1:-1] for b in results if "Key Content" in b]
try:
print ("{:<30}| {:<}".format(i, results[0]))
@application2000
application2000 / how-to-install-latest-gcc-on-ubuntu-lts.txt
Last active October 29, 2025 19:24
How to install latest gcc on Ubuntu LTS (12.04, 14.04, 16.04)
These commands are based on a askubuntu answer http://askubuntu.com/a/581497
To install gcc-6 (gcc-6.1.1), I had to do more stuff as shown below.
USE THOSE COMMANDS AT YOUR OWN RISK. I SHALL NOT BE RESPONSIBLE FOR ANYTHING.
ABSOLUTELY NO WARRANTY.
If you are still reading let's carry on with the code.
sudo apt-get update && \
sudo apt-get install build-essential software-properties-common -y && \
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y && \
@learncodeacademy
learncodeacademy / gist:5850f394342a5bfdbfa4
Last active October 1, 2025 03:05
SSH Basics - Getting started with Linux Server Administration

###SSH into a remote machine###

ssh user@mydomain.com
#or by ip address
ssh user@192.168.1.1

exit: exit ###Install Something###

#If it's a new server, update apt-get first thing
@lukaskonarovsky
lukaskonarovsky / dynamicarray.cpp
Created April 6, 2009 21:33
C++ dynamic array implementation
#include "dynamicarray.h"
using namespace std;
DynamicArray::DynamicArray() {
DynamicArray::DynamicArray(5);
}
DynamicArray::DynamicArray(int initSize) {
size = initSize;