Skip to content

Instantly share code, notes, and snippets.

View CharaD7's full-sized avatar
🏠
Working from home

Joy Ayitey CharaD7

🏠
Working from home
View GitHub Profile
@gyenabubakar
gyenabubakar / create-github-repo.md
Last active March 1, 2024 18:09
Create a GitHub Repository from a Local Directory on Linux or macOS

Prerequisites

  1. Must have Git installed.
  2. Must have GitHub CLI installed.

How to

  1. Create a file git-create-repo.sh in your home directory and save the content of git-create-repo.sh below in the file.
  2. Add a Git alias called create-repo that runs the script:
git config --global alias.create-repo "! ~/git-create-repo.sh"
@adameubanks
adameubanks / PyDa.py
Created April 11, 2020 01:21
Code for the video where we build a Jarvis like virtual assistant in python 3
import wolframalpha
client = wolframalpha.Client("lilpumpsaysnopeeking")
import wikipedia
import PySimpleGUI as sg
sg.theme('DarkPurple')
layout =[[sg.Text('Enter a command'), sg.InputText()],[sg.Button('Ok'), sg.Button('Cancel')]]
window = sg.Window('PyDa', layout)
@sarthaksavvy
sarthaksavvy / .gitconfig
Last active September 15, 2021 19:21
Git configuration
[alias]
acm = "!f() { git add . && git commit -m \"$(echo $@)\"; }; f";
com = checkout master
cob = checkout -b
b = branch
p = push
pl = pull
s = status
@sarthaksavvy
sarthaksavvy / cloudSettings
Last active June 25, 2024 14:23
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-09-04T18:49:47.910Z","extensionVersion":"v3.4.3"}
sepal.length sepal.width petal.length petal.width variety
5.1 3.5 1.4 .2 Setosa
4.9 3 1.4 .2 Setosa
4.7 3.2 1.3 .2 Setosa
4.6 3.1 1.5 .2 Setosa
5 3.6 1.4 .2 Setosa
5.4 3.9 1.7 .4 Setosa
4.6 3.4 1.4 .3 Setosa
5 3.4 1.5 .2 Setosa
4.4 2.9 1.4 .2 Setosa