Skip to content

Instantly share code, notes, and snippets.

View Geekgineer's full-sized avatar
🎯
Focusing

Abdalrahman M. Amer Geekgineer

🎯
Focusing
View GitHub Profile
@Geekgineer
Geekgineer / encode_image.py
Created December 4, 2020 15:42
Capture Image from screenshot buffer and encoded to base64 or to numpy array
from io import BytesIO
from base64 import b64encode
import pyscreenshot as ImageGrab
buffer = BytesIO()
im=ImageGrab.grab()
im.save(buffer, format='PNG')
im.close()
@Geekgineer
Geekgineer / ROS_Melodic_Install.sh
Created February 6, 2020 12:08
ROS Melodic Install and WS config script
#!/bin/bash
# Apache License 2.0
# Copyright (c) 2019, Abdalrahman M. Amer.
echo " R O S M E L O D I C"
echo ""
echo "Starting ROS installing script ..."
echo ""
echo "[Note] Target OS version >>> Ubuntu 18.04.x (Bionic Beaver)"
@Geekgineer
Geekgineer / git-github-config.md
Last active February 7, 2020 10:39
Quick notes for git-github-config

FOR MAKING YOUR OWN Github REPO:

From existing project files 1- On your local project folder ex: open a terminal

$ git init
$ git add --all # in case you wish to add all the files to stage Or you can selectively add files. 
$ git commit -m "Initial comment" # comment