Posts

Showing posts with the label tech-hacks

Featured Posts

CS50 Python , Nutrition Facts Table

Image
Nutrition Facts: Python Practice for Beginners Nutrition Facts Table for Python Practice Welcome to this comprehensive guide for Python beginners! If you are learning how to work with lists, dictionaries, and loops, this post will help you build practical skills using a real-world example: nutrition facts for fruits. Understanding how to organize and manipulate data is a key part of programming, and this exercise will give you hands-on experience. Below is a sample table of fruits and their calorie values, formatted as a Python list of dictionaries. This structure is ideal for coding exercises, projects, or even building your own nutrition calculator. You can expand this list, add new fruits, or use it as a foundation for more advanced Python tasks. Python List of Dictionaries Example: fruits = [ {'name': 'Apple', 'calories': 130}, {'name': 'Avocado', 'calories': 50}, {'name': 'Banana', 'ca...

🎮 Play Artiphoria Hub Online Game – Free, Fun, and Addictive! 🎨

Image
🎮 Artiphoria Hub Online Game – Play Instantly! No download needed · Play free in your browser · All devices 🏎️ Arcade Racing Car Game by Artiphoria-Hub 🚀 What is Artiphoria Hub Online Game? Artiphoria Hub is a fast-paced, neon-lit arcade racing game you can play instantly — right here in this page, no downloads, no sign-ups needed. Dodge oncoming traffic, collect coins, unlock speed boosts, and compete for the highest score on the leaderboard. It works on PC, tablet, and mobile — so grab your device and start racing! 🕹️ How to Play Enter your name in the box and tap/click Start . That's it — you're racing! ⌨️ Keyboard Controls (PC) Key Action ⬅️ Left Arrow or A Move car left ➡️ Right Arrow or D Move car right ⬆️ Up Arrow Speed up ⬇️ Down Arrow or Space Brake...

Stop Coding, Start Building: The 10-Minute Guide to Your Own AI Chatbot

Image
 The Secret to Turning Your PDFs and Website into a Genius AI Assistant No-Code AI Chatbot Creation Guide Imagine turning your entire website, stack of PDF manuals, guides, and reports into a helpful chatbot that gives instant, accurate answers. Whether you are a business owner or a side-hustler, you can now build a custom AI knowledge base without writing a single line of code. In less than 10 minutes, you can have an agent trained on your specific data, ready to live on your website or social media. -------------------------------------------------------------------------------- Step 1: Gather Your Knowledge Base The first step is deciding what your AI should "know." You can use almost any document type: Unstructured Data: PDFs, HTML, Text files, Word docs, and PowerPoint presentations. Structured Data: CSV files or JSONL for specific FAQs. Websites: Simply provide a URL, and the system will crawl the content for you. Step 2: Setting Up the Brain (Google Cloud) To get start...

How to Deactivate Screen Reader in Kali Linux

Image
 Deactivating Screen Reader in Kali Linux How to deactivate screen reader in Kali Linux Sometimes, you suddenly hear a screen reader whenver you hover on a menu with your mouse inside Kali Linux machine. This behavior even starts from the login screen, and continues to reading anything you write in the terminal.  Before moving on to the solution, let's get to know know the problem first.  What is ORCA or the Screen Reader in Kali Linux? The screen reader in this case is called "ORCA". Orca in the context of Kali Linux, or any other Linux distribution, is a free, open-source screen reader that provides access to the graphical desktop environments. It is designed to help visually impaired users use software applications and navigate the operating system. Orca works by converting on-screen content into speech and Braille output, enabling users who are blind or have low vision to interact with their computers more easily. If this behavior is annoying or it has been acced...

7 Essential Tools for Every Tech Enthusiast

Image
Essential Tools for Tech Enthusiasts 7 Essential Tools for Tech Enthusiasts As technology continues to evolve at a rapid pace, staying up-to-date with the latest tools and gadgets can be a daunting task. However, having the right tools at your disposal can make all the difference in staying productive and ahead of the curve. In this post, we'll share 7 essential tools that every tech enthusiast should have in their toolkit. From USB-C hubs to noise-cancelling headphones, these tools are designed to make your life easier, help you stay connected, and maximize your productivity. USB-C Hub USB-C Hub - If you own a modern laptop or desktop computer, chances are you have a limited number of USB-C ports. A USB-C hub is a must-have tool that allows you to connect multiple devices simultaneously. Cable Management Sleeve  Cable Management Sleeve - If you have a lot of cables like me lying around your workspace, a cable management sleeve  can help keep them organized and tidy.  P...

CS50X readability

Image
Cs50 Problem set 2 Readability Solution Cs50 Problem set 2 Readability Solution The Code Solution from cs50 import get_string # regex , regular expression import re # Defining main which will have all functions def main():     # prompt the user for a text     text = get_string('Text: ')     words = get_words_count(text)  # get_words_count will be defined under main()     letters = get_letters_count(text) / words  # get_letters_count will be defined under main()     sentences = get_sentences_count(text) / words  # get_sentences_count will be defined under main()     grading(letters, words, sentences) def get_letters_count(text):     # [Capital and small letters from a to z]     letters = re.findall("[A-Za-z]", text)     letters_count = len(letters)     return letters_count def get_words_count(text):     # Each space means there is a word     words = text....

cs50 Week 2 Problem Set 2 Readability Solution

Image
CS50 Week 2 Problem Set 2 Readability Problem Set 2 - Readability In coding, problems have different ways to get to the solution. Below code is one way. Soon, we will be posting different codes. ** Remember: Try to change some things in the code before submitting it in order to avoid being rejected as Harvard academic honesty. The Solution: #include <cs50.h> #include <stdio.h> #include <string.h> #include <math.h> #include <ctype.h> int main(void) {     // inintiate needed variables     string text = get_string("TEXT: ");     int letters = 0;     int words = 1;     int sentences = 0;     for (int i = 0; i < strlen(text); i++)     {         if (isalpha(text[i]))         {             letters++;         }         else if (text[i] == ' ')         {   ...

How to Open a Folder in VSC with CMD

Image
 Open a Folder in Visual Studio Code with CMD VSC If you don't have the the right click option open with visual studio code, no worries, you can do that with command prompt. Here's how: From windows explorer, open/migrate to the folder/directory which you want to work on. click in the folder/directory path which will highlight the path to the folder ex. C:\Users\User\Desktop\projects While the folder is highlighted, type cmd which will open the command prompt with the file path Open folder with Command Prompt In the command prompt type ( code . ) without the brackets. The folder you are in will open with Visual Studio Code. Now, you can work on the folder through Visual Studio Code, like creating a new file, copying or deleting a file. Other topics of Interest: How to show flames in Visual Studio Code DoodleMaker Vs Doodly Visual Studio Code terminal drop down list How to download a YouTube Video

How to show flames in Visual Studio Code

Image
 Power Mode power mode What is Power Mode? Power Mode is an awesome extension in Visual Studio Code (VSC) .  How to use Power Mode Extension? When you have Visual Studio Code Open, click on Extensions icon on the left (Ctrl+Shift+X). On top, in Search Extensions in Marketplace , write Power Mode Click on the extension with the icon shown in the tutorial below Click on install After the extension is installed, on the right under you will find a cog, click on it and then choose Extension Settings The first option "Powermode: Enabled will be unticked by default, choose it to activate the extension (tick the square) in Powermode: Presets, choose the preset you like The rest of the options are up to you to control how the preset will look like (timing, size, counter, etc.) Happy Coding

Who is the Winner ? | DoodleMaker Vs Doodly

Image
 DoodleMaker Vs Doodly DoodleMaker or Doodly? What is to choose? A very nice study made by Cisco mentioned that 81% of the internet's traffic will mostly be based on videos by the end of 2021. That being said, if you are interested in attracting a large number of audiences, then video tools are essential for you. Video tools, specially animated ones, attract, engage, and grasp the attention of all types of audiences. Video contents are beyond comparison to text-only contents.  When it comes to whiteboard videos, we have to make a comparison between the most 2 famous tools in the field which are DoodleMaker and Doodly . What is a Whiteboard Video? “Whiteboard video” refers to a particular sort of video liveliness introduction that deploys the strategy of making a arrangement of pictures drawn on a whiteboard that's recorded in sequence and after that played back to form a introduction. There are different effects of whiteboard movement video, such as time-lapse, or stop-moti...

Visual Studio Code _ VSC - Terminal dropdown List

Image
Visual Studio Code terminal drop down list Are you a fan of a dropdown list in VSC terminal so you can pick freely the installed terminals? Fig 1 : The drop-down list you love 😘 Fig 2 : No drop-down list 😏 How to go back to the terminal dropdown list? Open Visual Studio Code. Once Visual Studio Code is open, follow below steps: Click on File > Preferences > Settings (or keyboard shortcut Ctrl+,) In the " Search Settings " bar on top, write  terminal>integrated>Tabs: Scroll up to the first result which says ( Terminal › Integrated › Tabs: Enabled ) Untick the square below  And here you go. You will notice that terminal is back to dropdown menu.

How to remove qac-latn language

Image
 QAC - Private use (qac-Latn) US keyboard qac-latn language Did you get this annoying language after some sort of update? You tried everything but it doesn't show in the language settings, right? It doesn't even show in US keyboard 🤔 And it's annoying when you change between languages Here's how to get rid of it Windows PowerShell ISE 1- Click on windows start menu and search for Windows Power Shell 2- Click on " Windows PowerShell ISE " 3- Write this code → Set-WinUserLanguageList en-US 4- Click Enter 5- You will get below message, click on Yes 6- Voilaaaaaaa .. Now the qac-latn language has gone from the language bar. 7- Go to language Preferences and add the second language beside en-US If you liked the solution, share it. If you have other useful solutions, feel free to post them in the comments

How to Customize YouTube?

Image
 Customize YouTube Open Transcript It has become an undeniable truth that YouTube is an on-demand teacher when it comes to learning. If you are into language learning, or even a skill learning like drawing, carpenting, etc. YouTube will be there for you. In addition, there are simple extra tools that some of us don't know which will enhance your experience. Let's take an example on a video on our group channel (English Club) . You are one of the English Language Learners, you came across our video and it happened that you are into Simon Sinek. Then, how to follow the amazing speaker, see the spoken words, and learn the accent?  Step 1: Show The Video Transcript In the bottom right corner, you will find 3 horizontal dots (...), click on them and click on " Open Transcript). - When the transcript opens on the right, by default you will see the time stamps of the spoken words. You can remove them by clicking on the 3 vertical dots ( ⠇) and click on toggle timestamps toggle t...

Save your Vocabulary on Google Translate

Image
 How to Save your Vocabulary on Google Translate Vocabulary is like your coins when it comes to language learning. The more coins you have, the richer your language is. Almost all of us use Google translate when we deal with languages or language learning. But, is there a way to store the new words that we searched for on Google translate? Good new is, yes there is. Here's how: Make sure to have a google account and sign in before opening Google Translate Choose the language and the target language Choose the language Write the word on the left side for which you want to search for the meaning On the right side, you will have the translation based on the language you chose on step 2 On the right side - beside the meaning - you will find a white star ✰, press on it (Star Translation) The star color will change to yellow ⭐. This means your word has been "Saved" Star Translation - Save the word) Go down to the bottom of the page and you will find 3 options (History, Saved, C...

How to Download a YouTube Video

Image
Easily Download  YouTube Video How to download a YouTube video While our team has developed multible mini apps to download YouTube vodeos wit h a python code, you do not need any third party application, no need to get a Chrome Extension, all you need is to follow below steps on whatever browser youlike (Chrome, FireFox, Safari, ...).  An important note here that woth mentioning, download other people's videos can infring their copyrites , so, make sure you are following YouTube policies before you download any video. Steps to Download a YouTube Video 1- Open the YouTube video. 2- Click on the URL bar to edit the address. 3- In the URL address of the YouTube video, write ss before the word "YouTube" as shown below and click enter/or Search 🔍 Add " ss" in the title before "youtube" in the address bar 4- You will be directed to Savefrom.net website. savefrom.net 5- Choose the Quality of the video you need to download. Download video option...