GithubHelp home page GithubHelp logo

bash-practice-repo-24's People

Contributors

aadi58002 avatar animeshz avatar umeshsinghverma avatar

Watchers

 avatar  avatar

bash-practice-repo-24's Issues

Write music-extract script

Make a ffmpeg script which takes all the mp4 files in a folder (recursively) and output them in the same position mp3 file

E.g.:

Videos
├── Clips
│   ├── clip1.mp4
│   └── clip2.mp4
├── Movies
│   ├── movie1.mp4
│   └── movie2.mp4
└── Songs
    ├── Song1.mp4
    └── Song2.mp4

On command $ music-extract Videos: The above folder will create another folder with the position of file with just there audio

Music
├── Clips
│   ├── clip1.mp3
│   └── clip2.mp3
├── Movies
│   ├── movie1.mp3
│   └── movie2.mp3
└── Songs
    ├── Song1.mp3
    └── Song2.mp3

After writing script send a PR mentioning this issue by putting "#<number of this issue>" in your PR (optionally also in the commit).

Add more special cases in extarrange script.

RegEx is something you'll find much useful in your daily lives, so I'd highly recommend working on this issue

extarrange script arranges all the files in a given folder into a folder named by their extension. It can be used to group up the files under your Downloads folder for example.

There are special cases added in the script which restricts similar file types like tar based files ending with .tar.gz or .tgz to be same as .tar files and hence places them into folder of name tar instead. Do add more similar special cases by writing their regex.

Refer https://regex101.com/ & https://github.com/ziishaned/learn-regex/ for explaination and writing regex patterns.

You can always reach out for help here.

After updating script send a PR mentioning this issue by putting "#" in your PR (optionally also in the commit).

Write youtube-time script.

Make a script to download youtube video from given timeframes

E.g.: youtube-time 2:00 4:00 tutorial.mkv "https://www.youtube.com/watch?v=SPwyp2NG-bE"
The above command should create a output file which contains the video from 2 min to 4 min.

After writing script send a PR mentioning this issue by putting "#" in your PR (optionally also in the commit).

Refer: youtube-dl and ffmpeg commands for this.

After writing script send a PR mentioning this issue by putting "#<number of this issue>" in your PR (optionally also in the commit).


PS:

Note: There can be two ways of implementing these:

  1. Download the full video then trim it to the liking.
  2. Get the download url and then get only the required frames, then finally merge it.

Depending on the implementation, different points can be assigned.

Write weather script.

Purpose of the script is to display weather of IIIT, Lucknow (or of your favorite any location).

For more information see: https://wttr.in/:help

After writing script send a PR mentioning this issue by putting "#" in your PR (optionally also in the commit).

Format the output of cpu-temperature script.

Run the script and make sure it outputs your cpu-die temperature for you in milli-celcious. Reformat the current output of the script with the desired output as written in header portion of the script.

After updating script send a PR mentioning this issue by putting "#" in your PR (optionally also in the commit).

Adding more colors in the color script

A sample way to run the script is shown in the header of script itself. Run the script and figure out more possible bash color values, integrate them into the script.

After updating script send a PR mentioning this issue by putting "#" in your PR (optionally also in the commit).

Write wifi-ssid script.

Extract the wifi username (SSID) of currently connected wifi network in your laptop/pc.

You can refer to "iw dev wlan0 link" command output for this.

After writing script send a PR mentioning this issue by putting "#" in your PR (optionally also in the commit).

Write gitlines script.

Write a simple script which lists the lines of code by their language on a remote git repository.

You can refer to tools like cloc or similar for this.

After writing script send a PR mentioning this issue by putting "#" in your PR (optionally also in the commit).

Make the changes in gitlines files only!

Expected Outcome:

  • Implementation of a robust and automated system for code analysis using cloc.
  • Detailed reports on lines of code by language, aiding in understanding the codebase structure and making informed decisions.
  • Improved code management practices and better insights into codebase complexity.

Write perms script.

Write a simple script which lists the permission of given files in their octal format.

e.g.

$ perms weather ../README.md
775 weather
664 ../README.md

After writing script send a PR mentioning this issue by putting "#" in your PR (optionally also in the commit).

Write rm-bins script.

Write a simple script which removes all the binary present in current directory (usually generated after running gcc or other commands).

You can refer to "man find" for more information, you can also use modern tool like fd instead of find to accomplish this.

After writing script send a PR mentioning this issue by putting "#" in your PR (optionally also in the commit).

Implement Password Generation Functions

Create a function that generates passwords, The password should consist of uppercase letters, lowercase letters, numbers, and special characters. The function should take in a single argument, which is the length of the password to generate. The function should return the generated password.

Write rm-gitignore script.

Write a simple script which removes all the files written in the .gitignore files at the root of a git repository.

To find list of all git repos inside current directory you can use: "find . -name .git -type d -prune"

After writing script send a PR mentioning this issue by putting "#" in your PR (optionally also in the commit).

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.