Git Product home page Git Product logo

makeendeavourosgreat's Introduction

Hello, I'm Furkan Baytekin (a.k.a. Elagoht) 👋

Welcome to my GitHub profile! I'm a passionate developer, Linux enthusiast, and open-source advocate. I love sharing my knowledge through teaching, creating content, and contributing to various projects.

🚀 About Me

  • 💻 Developer: Experienced in a wide range of programming languages and technologies.
  • 🎓 Teacher: I'am a graduated teacher & teach Linux courses on YouTube and Udemy.
  • 📘 Author: Wrote a book on Linux.
  • 🎵 Musician: I compose music and play the bass guitar.

🛠️ Languages and Tools

C# TypeScript JavaScript Bash AWK Python HTML Pug CSS Sass Lua

📚 Frameworks and Libraries

Next.js React.js Zustand Redux Framer Motion SASS Tailwind CSS Bootstrap Styled Components Vite Babel Webpack Django Strapi Docker Git GitHub Actions GitLab CI AWS ECR AWS Amplify AWS App Runner MongoDB SQLite PostgreSQL GraphQL Postman Selenium Cron Gimp Kdenlive Audacity Inkscape Figma AUR PyPi PyQt Tauri Numpy Pandas Matplotlib Seaborn GNU Tools Linux Vim

📺 YouTube Channel

I share Linux tutorials and more on my YouTube channel.

Head (Dosyanın Başını Oku) | Linux Terminal Kursu Grep (Metinde Ara) | Linux Terminal Kursu Ln (Bağlantı Oluştur) | Linux Terminal Kursu Touch (Zaman Damgası Değiştir) | Linux Terminal Kursu SHRED (Doğra) | Linux Terminal Kursu RM - Remove (Sil) | Linux Terminal Kursu

🏆 GitHub Stats

Language Stats

Profile Stats

Streak

Profile Trophies

🌐 Find Me Online

📫 Contact Me

Feel free to reach out to me at [email protected].

makeendeavourosgreat's People

Contributors

elagoht avatar github-actions[bot] avatar gobelman67 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

gobelman67

makeendeavourosgreat's Issues

Toggling pages

If already pressed back button, when an installation has finished, re-toggling causes an empty page.

No process tracking

There's no indicator about installations. In case of fail, the app list selection gone.

zsh plugins

script does not install oh-my-zsh plugins for user, only for root.

Apply Button Bug

When there's no task the apply button causes Gui to disappear

Unreadable Code

Extract it to a class in Utilities file.

# Create Oh-My-Zsh section
self.extOhMyZsh = \
ButtonBox(
"Oh-My-Zsh",
"GUI/Assets/Apps/Shells/ohmyzsh.png",
"<font color=\"orange\">Requires zsh.</font> Delightful, open source, community-driven framework for managing your Zsh configuration. It comes bundled with thousands of helpful functions, helpers, plugins, themes, and a few things that make you shout...",
[]
)
self.layOhMyZsh = QGridLayout(self.extOhMyZsh)
self.layOhMyZsh.addWidget(
CommandButton(QIcon("GUI/Assets/configure.png"), "Use Elagoht Theme",
self.zsh_theme_setter("elagoht"), self))
self.layOhMyZsh.addWidget(
CommandButton(QIcon("GUI/Assets/configure.png"), "Use Elagoht Iconless Theme",
self.zsh_theme_setter("elagoht-safe"), self),
0, 1)
self.layOhMyZsh.addWidget(
CommandButton(QIcon("GUI/Assets/configure.png"), "Use BashPlus Theme",
self.zsh_theme_setter("bashplus"), self))
self.layOhMyZsh.addWidget(
CommandButton(QIcon("GUI/Assets/configure.png"), "Use Robby Russell Theme",
self.zsh_theme_setter("robbyrussell"), self))
self.extOhMyZsh.glyApp.addLayout(self.layOhMyZsh)
self.btnOhMyZshInstall = CommandButton(QIcon("GUI/Assets/install.png"), "Install",
"""curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh | bash;
curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh | sudo -i bash;
echo Installing Elagoht Theme;
curl -sfSL "https://raw.githubusercontent.com/Elagoht/BashPlusZshTheme/main/bashplus.zsh-theme" -o ~/.oh-my-zsh/themes/bashplus.zsh-theme;
sudo curl -sfSL "https://raw.githubusercontent.com/Elagoht/BashPlusZshTheme/main/bashplus.zsh-theme" -o /root/.oh-my-zsh/themes/bashplus.zsh-theme;
sleep 1;
echo Installing Elagoht-Safe Theme;
curl -sfSL "https://raw.githubusercontent.com/Elagoht/Elagoht.zsh-theme/main/elagoht.zsh-theme" -o ~/.oh-my-zsh/themes/elagoht.zsh-theme;
sudo curl -sfSL "https://raw.githubusercontent.com/Elagoht/Elagoht.zsh-theme/main/elagoht.zsh-theme" -o /root/.oh-my-zsh/themes/elagoht.zsh-theme;
sleep 1;
echo Installing Bash Plus Theme;
curl -sfSL "https://raw.githubusercontent.com/Elagoht/Elagoht.zsh-theme/main/elagoht-safe.zsh-theme" -o ~/.oh-my-zsh/themes/elagoht-safe.zsh-theme;
sudo curl -sfSL "https://raw.githubusercontent.com/Elagoht/Elagoht.zsh-theme/main/elagoht-safe.zsh-theme" -o /root/.oh-my-zsh/themes/elagoht-safe.zsh-theme;
sleep 1;
echo Installing Syntax Highlighting Plugin;
git clone https://github.com/zsh-users/zsh-syntax-highlighting ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting;
sudo -i git clone https://github.com/zsh-users/zsh-syntax-highlighting ${ZSH_CUSTOM:-/root/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting;
sleep 1;
echo Installing Auto Suggestions Plugin;
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions;
sudo -i git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-/root/.oh-my-zsh/custom}/plugins/zsh-autosuggestions;
echo Enabling Plugins;
sleep 1;
sed -i "s/plugins=.*/plugins=(git virtualenv zsh-autosuggestions zsh-syntax-highlighting)/" ~/.zshrc;
sudo sed -i "s/plugins=.*/plugins=(git virtualenv zsh-autosuggestions zsh-syntax-highlighting)/" /root/.zshrc;
""",
self.extOhMyZsh, (self.check_oh_my_zsh,), True)
self.btnOhMyZshUninstall = CommandButton(QIcon("GUI/Assets/uninstall.png"), "Uninstall",
r"""echo Confirm that you really want to uninstall oh-my-zsh
sudo rm -rf /root/.oh-my-zsh/ &&
rm -rf $HOME/.oh-my-zsh/""",
self.extOhMyZsh, (self.check_oh_my_zsh,), True)
# Create SyntShell section
# ! Looks like it's not working. Will be added when it's ready.
# Insert groupboxes to layout
self.layout = QGridLayout(self)
self.layout.addWidget(self.appBash)
self.layout.addWidget(self.appSh, 0, 1)
self.layout.addWidget(self.appZsh)
self.layout.addWidget(self.appFish)
self.layout.addWidget(self.extOhMyZsh)
# Initialize
self.check_oh_my_zsh()
# Shortcut for OhMyZsh theme setter.
def zsh_theme_setter(self, theme: str) -> str:
return fr"""[ \"$(grep \"^ZSH_THEME=\" $HOME/.zshrc)\" ] && sudo -i sed -i "s/^ZSH_THEME=.*/ZSH_THEME=\"{theme}\"/" $HOME/.zshrc
sudo [ \"$(sudo grep \"^ZSH_THEME=\" /root/.zshrc)\" ] && sudo -i sed -i "s/^ZSH_THEME=.*/ZSH_THEME=\"{theme}\"/" /root/.zshrc"""
def check_oh_my_zsh(self) -> None:
installed = system("[ -d ~/.oh-my-zsh ]") == 0
if installed:
self.extOhMyZsh.layButtons.addWidget(
self.btnOhMyZshUninstall)
self.extOhMyZsh.layButtons.removeWidget(
self.btnOhMyZshInstall)
self.btnOhMyZshUninstall.show()
self.btnOhMyZshInstall.hide()
else:
self.extOhMyZsh.layButtons.addWidget(
self.btnOhMyZshInstall)
self.extOhMyZsh.layButtons.removeWidget(
self.btnOhMyZshUninstall)
self.btnOhMyZshUninstall.hide()
self.btnOhMyZshInstall.show()

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.