Skip to content

Commit

Permalink
πŸ¦ˆπŸ πŸœβ— Initial Commit β—πŸœπŸ¦ˆπŸ 
Browse files Browse the repository at this point in the history
  • Loading branch information
casjay committed Dec 19, 2024
0 parents commit b1d1b2f
Show file tree
Hide file tree
Showing 973 changed files with 307,592 additions and 0 deletions.
413 changes: 413 additions & 0 deletions .editorconfig

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"extends": ["airbnb", "prettier", "plugin:node/recommended"],
"plugins": ["prettier"],
"rules": {
"prettier/prettier": "error",
"no-unused-vars": "warn",
"no-console": "off",
"func-names": "off",
"no-process-exit": "off",
"object-shorthand": "off",
"class-methods-use-this": "off"
}
}
Empty file added .gitattributes
Empty file.
99 changes: 99 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
# gitignore created on 02/24/23 at 00:39
# Disable reminder in prompt
ignoredirmessage

# Disable reminder in prompt
ignoredirmessage

# OS generated files
### Linux ###
*~

# temporary files which can be created if a process still has a handle open of a deleted file
.fuse_hidden*

# KDE directory preferences
.directory

# Linux trash folder which might appear on any partition or disk
.Trash-*

# .nfs files are created when an open file is removed but is still being accessed
.nfs*

### macOS ###
# General
.DS_Store
.AppleDouble
.LSOverride

# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

### macOS Patch ###
# iCloud generated files
*.icloud

### Windows ###
# Windows thumbnail cache files
Thumbs.db
Thumbs.db:encryptable
ehthumbs.db
ehthumbs_vista.db

# Dump file
*.stackdump

# Folder config file
[Dd]esktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Windows Installer files
*.cab
*.msi
*.msix
*.msm
*.msp

# Windows shortcuts
*.lnk

# Other
**/.installed

# ignore commit message
**/.gitcommit

# ignore .build_failed files
**/.build_failed*

# ignore .bak files
**/*.bak

# ignore .no_push files
**/.no_push

# ignore .no_git files
**/.no_git

# ignore work in progress files
**/*.rewrite.sh
**/*.refactor.sh
8 changes: 8 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"useTabs": false,
"printWidth": 120,
"tabWidth": 2,
"singleQuote": true,
"trailingComma": "all",
"noSemi": true
}
55 changes: 55 additions & 0 deletions .shellcheckrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
##@Version : 202103251804-git
# @Author : Jason Hempstead
# @Contact : jason@casjaysdev.pro
# @License : LICENSE.md
# @ReadME : shellcheck --help
# @Copyright : Copyright: (c) 2021 Jason Hempstead, CasjaysDev
# @Created : Thursday, Mar 25, 2021 18:52 EDT
# @File : shellcheckrc
# @DeSCription : My default shellcheckrc file
# @TODO :
# @Other :
# @Resource :
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
shell=/bin/bash
#disable=SC
disable=SC1004
disable=SC1017
disable=SC1090
disable=SC1091
disable=SC1117
disable=SC2002
disable=SC2004
disable=SC2005
disable=SC2009
disable=SC2010
disable=SC2012
disable=SC2015
disable=SC2016
disable=SC2021
disable=SC2030
disable=SC2031
disable=SC2034
disable=SC2039
disable=SC2045
disable=SC2046
disable=SC2062
disable=SC2086
disable=SC2089
disable=SC2116
disable=SC2120
disable=SC2129
disable=SC2148
disable=SC2153
disable=SC2154
disable=SC2155
disable=SC2162
disable=SC2181
disable=SC2207
disable=SC2231
disable=SC2236
disable=SC2242
disable=SC2294
disable=SC2126
disable=SC2317
44 changes: 44 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# travis-ci test main source and push to mirrors

language: bash
sudo: enabled

jobs:
include:
- os: linux
dist: focal
before_install: sudo apt-get update
arch:
- amd64
- arm64
# - armhf
# - os: osx
# osx_image: xcode12.1
# before_install: brew update -f

install:
- sudo git clone https://github.com/casjay-dotfiles/scripts "/usr/local/share/CasjaysDev/scripts"; sudo rm -Rf /usr/local/share/CasjaysDev/scripts/.git
- sudo /usr/local/share/CasjaysDev/scripts/install.sh
- sudo ./tests/travis-ci.sh

#services:
# - docker

#before_install:
# - docker pull archlinux
# - docker pull centos
# - docker pull debian
# - docker pull fedora
# - docker pull ubuntu

#script:
# - docker run --rm -v $(pwd):/scripts -it archlinux /bin/bash -c /scripts/tests/docker-pacman.sh
# - docker run --rm -v $(pwd):/scripts -it centos /bin/bash -c /scripts/tests/docker-yum.sh
# - docker run --rm -v $(pwd):/scripts -it fedora /bin/bash -c /scripts/tests/docker-dnf.sh
# - docker run --rm -v $(pwd):/scripts -it debian /bin/bash -c /scripts/tests/docker-apt.sh
# - docker run --rm -v $(pwd):/scripts -it ubuntu /bin/bash -c /scripts/tests/docker-apt.sh

notifications:
email:
on_failure: never
on_success: never
10 changes: 10 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"shellcheck.enable": true,
"shellcheck.enableQuickFix": true,
"shellcheck.run": "onSave",
"shellcheck.executablePath": "shellcheck",
"shellcheck.customArgs": [],
"shellcheck.ignorePatterns": {},
"compile-hero.disable-compile-files-on-did-save-code": false,
"python.formatting.provider": "yapf"
}
13 changes: 13 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004

Copyright (C) 2021 Jason Hempstead

Everyone is permitted to copy and distribute verbatim or modified copies of
this license document, and changing it is allowed as long as the name is changed.

DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

1. You just DO WHAT THE FUCK YOU WANT TO.
2. End of the What The Fuck Public License
71 changes: 71 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
# My custom scripts

## Automatic install

```shell
sudo git clone https://github.com/casjay-dotfiles/scripts "/usr/local/share/CasjaysDev/scripts" && \
sudo /usr/local/share/CasjaysDev/scripts/install.sh
```

## Automatic update

```shell
sudo systemmgr update scripts
```

## Manual install

requires:

```shell
sudo apt install git bash zsh fish python3-pip python3-setuptools net-tools fontconfig jq tf xclip curl wget dialog qalc rsync links html2text dict sudo ruby expect nethogs iftop iotop iperf locate pass python
```

```shell
sudo yum install git bash zsh fish python3-pip python3-setuptools net-tools fontconfig jq tinyfugue xclip curl wget dialog qalc sudo
```

```shell
sudo pacman -S git bash zsh fish python-pip python-setuptools net-tools fontconfig jq xclip curl wget dialog qalculate-gtk sudo
yay -S tinyfugue
```

```shell
apk add ncurses util-linux pciutils usbutils coreutils binutils findutils grep iproute2 sudo
```

```shell
export PATH="$PATH:/usr/local/share/CasjaysDev/scripts/bin"
sudo git clone https://github.com/systemmgr/installer "/usr/local/share/CasjaysDev/scripts"
echo 'for f in /usr/local/share/CasjaysDev/scripts/completions/*; do source "$f" >/dev/null 2>&1; done' | sudo tee -p "/etc/bash_completion.d/_my_scripts_completions" >/dev/null
sudo ln -sf /usr/local/share/CasjaysDev/scripts /usr/local/share/CasjaysDev/installer
for f in $(ls /usr/local/share/CasjaysDev/scripts/bin/); do
sudo ln -sf /usr/local/share/CasjaysDev/scripts/bin/$f /usr/local/bin/$f
done
```

Manual update:

```shell
sudo git -C /usr/local/share/CasjaysDev/scripts pull
```


<p align="center">
<a href="https://github.com/dfmgr" target="_blank">dotfiles</a> |
<a href="https://github.com/fontmgr" target="_blank">fonts</a> |
<a href="https://github.com/iconmgr" target="_blank">icons</a> |
<a href="https://github.com/thememgr" target="_blank">themes</a> |
<a href="https://github.com/wallpapermgr" target="_blank">wallpapers</a> <br>
<a href="https://github.com/devenvmgr" target="_blank">devenvmgr</a> |
<a href="https://github.com/dockermgr" target="_blank">dockermgr</a> |
<a href="https://github.com/pkmgr" target="_blank">pkmgr</a> |
<a href="https://github.com/systemmgr" target="_blank">systemmgr</a> <br />
</p>


<p align=center>
<a href="https://github.com/casjay-dotfiles/scripts" target="_blank">scripts site</a><br /><br />
<a href="https://wakatime.com/@casjay" target="_blank"><img alt="Wakatime" src="https://wakatime.com/badge/github/casjay-dotfiles/scripts.svg"><br> <br>
<a href="https://travis-ci.com/casjay-dotfiles/scripts" target="_blank"><img alt="Travis-CI" src="https://travis-ci.com/casjay-dotfiles/scripts.svg?branch=master"><br> <br>
</p>
15 changes: 15 additions & 0 deletions applications/My_BackupApp.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/env xdg-open

[Desktop Entry]
Version=1.0
Type=Application
Name=My Backups
GenericName=Backup
Comment=Backup Files.
Icon=back
Exec=backupapp
Terminal=false
Actions=
Categories=System;Utility;GTK;X-XFCE;GNOME;MyScripts;
Keywords=backup;my;
StartupNotify=false
15 changes: 15 additions & 0 deletions applications/My_Calc.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/env xdg-open

[Desktop Entry]
Version=1.0
Type=Application
Name=My Calc
GenericName=Calculator
Comment=Calculator.
Icon=calc
Exec=calc
Terminal=false
Actions=
Categories=Utility;Calculator;GTK;X-XFCE;GNOME;MyScripts;
Keywords=calc;my;
StartupNotify=false
16 changes: 16 additions & 0 deletions applications/My_Editor.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/usr/bin/env xdg-open

[Desktop Entry]
Version=1.0
Type=Application
Name=My Editor
GenericName=TextEditor
Comment=Edit Files.
Icon=accessories-text-editor
TryExec=myeditor
Exec=myeditor
Terminal=false
Actions=
Categories=GTK;Development;IDE;GTK;X-XFCE;GNOME;MyScripts;
Keywords=editor;files;my;
StartupNotify=false
15 changes: 15 additions & 0 deletions applications/My_Email.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/env xdg-open

[Desktop Entry]
Version=1.0
Type=Application
Name=My Email
GenericName=E-Mail
Comment=Manage E-mail.
Icon=thunderbird
Exec=myemail
Terminal=false
Actions=
Categories=Application;Network;Email;GTK;X-XFCE;GNOME;MyScripts;
Keywords=mail;e-mail;my;
StartupNotify=false
Loading

0 comments on commit b1d1b2f

Please sign in to comment.