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 / alx_0x03.bash
Created June 14, 2023 03:00
0x03. Shell, init files, variables and expansions
0-alias
#!/bin/bash
alias ls="rm *"
1-hello_you
#!/bin/bash
echo "hello $USER"
@sudoevans
sudoevans / alx_shell-permisions.bash
Created June 8, 2023 22:08
Alx Shell Permisions
0-iam_betty
#!/bin/bash
su betty
1-who_am_i
#!/bin/bash
id -un
2-groups
#!/bin/bash
groups
@sudoevans
sudoevans / connect.sh
Created June 6, 2023 06:24
Alx SSH Shortcut
#!/bin/bash
echo "Connecting to ALX ssh 08c3e0cba18d@08c3e0cba18d.c683676a.alx-cod.online..."
sshpass -p <your_password> ssh 08c3e0cba18d@08c3e0cba18d.c683676a.alx-cod.online

Keybase proof

I hereby claim:

  • I am sudoevans on github.
  • I am sudoevans (https://keybase.io/sudoevans) on keybase.
  • I have a public key whose fingerprint is 76F0 A744 D696 9666 8A32 F824 B82B 560A 00FE B971

To claim this, I am signing this object:

@sudoevans
sudoevans / app.py
Created April 30, 2023 09:47
Automatic Generation System of Student ID Photos Based on Deep Learning by @sudoevans
from flask import Flask, request, render_template
import cv2
import numpy as np
from tensorflow import keras
import os
current_dir = os.path.dirname(os.path.abspath(__file__))
app = Flask(__name__)
@sudoevans
sudoevans / css-creative-pencil-challenge.markdown
Created August 11, 2021 07:27
CSS Creative Pencil Challenge