Skip to content

RenanSantos7/scripts_fedora

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Scripts Fedora

A collection of shell scripts made for Fedora. It is compatible with bash and zsh.

How to use

Directly

You can use them directly on terminal with wget or curl:

bash <(curl -sSL https://raw.githubusercontent.com/RenanSantos7/scripts_fedora/main/<script-name>.sh)

# or

bash <(wget -qO- https://raw.githubusercontent.com/RenanSantos7/scripts_fedora/main/<script-name>.sh)

Scripts

creact

Create a ReactJS project using vite.js

An argument is required to provide the app name.

create-expo

Create a React Native project using Expo (template blank-typescript)

An argument is required to provide the app name.

dnflist

If no arguments was provided, list all apps installed with dnf.

If an argument was provided, it filters that list with the argument.

Example:

⤷ dnflist vlc
vlc.x86_64                                           1:3.0.21-19.fc42                     <desconhecido>
vlc-cli.x86_64                                       1:3.0.21-19.fc42                     <desconhecido>
vlc-gui-qt.x86_64                                    1:3.0.21-19.fc42                     <desconhecido>
vlc-gui-skins2.x86_64                                1:3.0.21-19.fc42                     <desconhecido>
vlc-libs.x86_64                                      1:3.0.21-19.fc42                     <desconhecido>
vlc-plugin-ffmpeg.x86_64                             1:3.0.21-19.fc42                     <desconhecido>
vlc-plugin-gnome.x86_64                              1:3.0.21-19.fc42                     <desconhecido>
vlc-plugin-kde.x86_64                                1:3.0.21-19.fc42                     <desconhecido>
vlc-plugin-lua.x86_64                                1:3.0.21-19.fc42                     <desconhecido>
vlc-plugin-notify.x86_64                             1:3.0.21-19.fc42                     <desconhecido>
vlc-plugin-pipewire.x86_64                           3-5.fc42                             <desconhecido>
vlc-plugin-pulseaudio.x86_64                         1:3.0.21-19.fc42                     <desconhecido>
vlc-plugin-visualization.x86_64                      1:3.0.21-19.fc42                     <desconhecido>
vlc-plugins-base.x86_64                              1:3.0.21-19.fc42                     <desconhecido>
vlc-plugins-extra.x86_64                             1:3.0.21-19.fc42                     <desconhecido>
vlc-plugins-video-out.x86_64                         1:3.0.21-19.fc42                     <desconhecido>

fedoraPosInstall

This is my Fedora pos-install. Use as a suggestion. It does the following things:

flatrun

Runs a flatpak with its name instead of its ID. If there is no app, it searches the repositories and lists the results.

gereapk

Generates the APK of a React Native app named as [APP_NAME]_[VERSION]. It also increases the version number on package.json.

git-browse

Browse to the git remote repository page.

git-commit

An alias to git add . && git commit -m.

Not working properly.

list

An alias to ls -GhaiNg --group-directories-first. Here are the flags explanation:

  • -G: Enables colored output to distinguish file types;
  • -h: Displays file sizes in a human-readable format (e.g., 1K, 234M).
  • -a: Shows all files, including hidden ones (those starting with a dot).
  • -i: Displays the inode number for each file.
  • -N: Prints file names literally, without interpreting special characters.
  • -g: Shows group information but omits the owner’s name.
  • --group-directories-first: Lists directories before regular files.

Example:

⤷ list                          
PID     | Permissoes | Tam | Data modif | Nome
total 8,0K
26356427 drwxr-xr-x. 1   54 jun 23 12:13 .
   33037 drwxr-xr-x. 1  866 jun 23 11:34 ..
26356428 drwxr-xr-x. 1  188 jun 23 11:37 .git
26356639 drwxr-xr-x. 1  334 jun 23 12:13 scripts
26356492 -rw-r--r--. 1 1,1K jun 23 11:34 LICENSE
26356493 -rw-r--r--. 1 3,1K jun 23 12:05 README.md

rndoc

Browse to React Native docs. Optionally pass a React Native component as argument to browse directly the its page.

setuprn

After create a React Native app with react-native-community-cli, use this script to change it to yarn, setup prettier, configure git repository and open it with vscode.

sparedir

Setup redirect in ReactJS projects deployed on Vercel or Netlify.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages