Skip to content

Commit

Permalink
Fix nvim and mason installation
Browse files Browse the repository at this point in the history
  • Loading branch information
enggnr committed Feb 15, 2024
2 parents 8c52de4 + 867ad5a commit f46398d
Show file tree
Hide file tree
Showing 328 changed files with 6,038 additions and 11,939 deletions.
19 changes: 0 additions & 19 deletions .config/log
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
# If the `docker` environment variable is not set, the script / library will ensure both Gum and Glow are installed.

# @description Installs glow (a markdown renderer) from GitHub releases
# @example installGlow
installGlow() {
# TODO: Add support for other architecture types
if [ -d '/Applications' ] && [ -d '/Library' ] && [ -d '/Users' ]; then
Expand Down Expand Up @@ -57,7 +56,6 @@ installGlow() {
}

# @description Installs gum (a logging CLI) from GitHub releases
# @example installGum
installGum() {
# TODO: Add support for other architecture types
if [ -d '/Applications' ] && [ -d '/Library' ] && [ -d '/Users' ]; then
Expand Down Expand Up @@ -117,7 +115,6 @@ if [ -n "$SEMANTIC_RELEASE" ]; then
fi

# @description Logs using Node.js
# @example logger info "An informative log"
logger() {
if [ "$1" == 'error' ]; then
"$GUM_PATH" style --border="thick" "$("$GUM_PATH" style --foreground="#ff0000" "") $("$GUM_PATH" style --bold --background="#ff0000" --foreground="#ffffff" " ERROR ") $("$GUM_PATH" style --bold "$(format "$2")")"
Expand Down Expand Up @@ -171,7 +168,6 @@ format() {
}

# @description Display prompt that allows you to choose between options
# @example RESPONSE="$(.config/log choose "file.png" "another-file.jpg")"
choose() {
if type gum &> /dev/null; then
CHOOSE_ARGS="gum choose"
Expand All @@ -185,7 +181,6 @@ choose() {
}

# @description Display a confirmation prompt that returns an exit code if "No" is selected
# @example RESPONSE="$(.config/log confirm "Are you sure?" "Yeah" "Naa")"
confirm() {
if type gum &> /dev/null; then
GUM_OPTS=""
Expand All @@ -211,7 +206,6 @@ confirm() {
}

# @description Logs an error message
# @example .config/log error "Something happened!"
error() {
if [ -z "$NO_LOGGING" ]; then
if [ -n "$ENHANCED_LOGGING" ]; then
Expand All @@ -223,7 +217,6 @@ error() {
}

# @description Display a filterable prompt that is populated with options from a text file
# @example echo Strawberry >> flavors.text && echo Banana >> flavors.text && RESPONSE="$(.config/log filter flavors.txt)"
filter() {
if type gum &> /dev/null; then
TMP="$(mktemp)"
Expand All @@ -234,7 +227,6 @@ filter() {
}

# @description Logs an info message
# @example .config/log info "Here is some information"
info() {
if [ -z "$NO_LOGGING" ]; then
if [ -n "$ENHANCED_LOGGING" ]; then
Expand All @@ -246,7 +238,6 @@ info() {
}

# @description Displays an input with masked characters
# @example INPUT="$(.config/log input 'Enter the value..')"
input() {
if type gum &> /dev/null; then
if [ -n "$1" ]; then
Expand All @@ -260,8 +251,6 @@ input() {
}

# @description Logs a message written in markdown
# @example .config/log md "[styled_link](https://google.com)"
# @example .config/log md mymarkdown/file.md
md() {
if [ ! -f "$1" ]; then
echo "ERROR: A markdown file must be passed in as the parameter" && exit 1
Expand All @@ -272,7 +261,6 @@ md() {
}

# @description Displays an input with masked characters
# @example PASSWORD="$(.config/log password 'Enter the Ansible vault password')"
password() {
if type gum &> /dev/null; then
if [ -n "$1" ]; then
Expand All @@ -286,7 +274,6 @@ password() {
}

# @description Logs a message that describes a prompt
# @example .config/log prompt "Enter text into the following prompt"
prompt() {
if [ -z "$NO_LOGGING" ]; then
if [ -n "$ENHANCED_LOGGING" ]; then
Expand All @@ -298,7 +285,6 @@ prompt() {
}

# @description Display a spinner that stays until a command is completed
# @example .config/log spin "brew install yq" "Installing yq..")"
spin() {
if type gum &> /dev/null; then
if [ -n "$1" ] && [ -n "$2" ]; then
Expand All @@ -314,7 +300,6 @@ spin() {
}

# @description Logs a message that starts with a star emoji
# @example .config/log star "Congratulations"
star() {
if [ -z "$NO_LOGGING" ]; then
if [ -n "$ENHANCED_LOGGING" ]; then
Expand All @@ -326,7 +311,6 @@ star() {
}

# @description Logs a message at the beginning of a task
# @example .config/log start "Starting the process.."
start() {
if [ -z "$NO_LOGGING" ]; then
if [ -n "$ENHANCED_LOGGING" ]; then
Expand All @@ -338,7 +322,6 @@ start() {
}

# @description Logs a success message
# @example .config/log success "Yay!"
success() {
if [ -z "$NO_LOGGING" ]; then
if [ -n "$ENHANCED_LOGGING" ]; then
Expand All @@ -350,7 +333,6 @@ success() {
}

# @description Logs a warning message
# @example .config/log warn "Just so you know.."
warn() {
if [ -z "$NO_LOGGING" ]; then
if [ -n "$ENHANCED_LOGGING" ]; then
Expand All @@ -362,7 +344,6 @@ warn() {
}

# @description Displays a multi-line prompt for text input
# @example .config/log write "Write something..")"
write() {
if type gum &> /dev/null; then
if [ -n "$1" ]; then
Expand Down
7 changes: 7 additions & 0 deletions docs/INSPIRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
## System

- https://github.com/Andy-Python-Programmer/aero
- https://github.com/Qihoo360/QConf/tree/master

## Website

Expand Down Expand Up @@ -54,6 +55,7 @@
- [Title](https://github.com/isomorphic-git/isomorphic-git)
- https://github.com/tolgee/tolgee-platform
- https://github.com/dogbin/dogbin
- https://github.com/judge0/judge0

## Serverless

Expand All @@ -69,3 +71,8 @@
- https://namelix.com/
- https://gchq.github.io/CyberChef
- https://github.com/sourcerer-io/sourcerer-app

## OS

https://github.com/skift-org/skift
https://github.com/MikeMcQuaid/strap/tree/main
26 changes: 24 additions & 2 deletions docs/TODO.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,22 @@
https://github.com/harababurel/gcsf
[text](https://github.com/gitbito/CLI)
* Move age decryption higher
* Add ~/.local/share/sounds was symlink to {{ .host.home }}/.local/share/betelgeuse/share/sounds
xattr -d com.apple.quarantine rclone
Create issue about setting up completions - https://github.com/rsteube/lazycomplete
pw="$(osascript -e 'Tell application "System Events" to display dialog "Password:" default answer "" with hidden answer' -e 'text returned of result' 2>/dev/null)" && echo "$pw"

https://github.com/Shougo/ddc.vim
[text](https://instill.tech/chill/models)
https://github.com/harababurel/gcsf
https://github.com/awslabs/mountpoint-s3 / https://github.com/s3fs-fuse/s3fs-fuse
https://github.com/superfly/litefs
https://github.com/Qihoo360/QConf
https://github.com/ossec/ossec-hids
[text](https://github.com/invoke-ai/InvokeAI)
https://github.com/search?q=system&type=repositories&s=stars&o=desc&p=59
- https://github.com/nats-io/nats-server
- [Title](https://github.com/albfan/miraclecast)
- [Title](https://gitlab.gnome.org/GNOME/gnome-network-displays)
Use minimum permissions / IAM for https://iosexample.com/a-command-line-tool-to-download-and-install-apples-xcode/
https://github.com/tiiiecherle/osx_install_config/blob/master/03_homebrew_casks_and_mas/3b_homebrew_casks_and_mas_install/6_mas_appstore.sh
virtualbox blocked by C
Expand All @@ -14,6 +29,8 @@ adobe-creative-cloud curl: (18) HTTP/2 stream 1 was reset
- https://github.com/linuxserver/docker-webtop
- https://app.warp.dev/referral/7PMXRV
- https://github.com/chocolatey/boxstarter
- https://github.com/home-sweet-gnome/dash-to-panel
- https://github.com/Shougo/neocomplcache.vim
- https://nginxui.com/
# Create the $HOME/opt destination folder
mkdir -p ~/opt
Expand Down Expand Up @@ -219,6 +236,7 @@ The following items have been reviewed but need to be revisited due to complexit
- https://github.com/open-hand/choerodon
- https://github.com/1backend/1backend
- https://github.com/redkubes/otomi-core
- https://github.com/shunfei/cronsun
- https://github.com/yunionio/cloudpods
- https://github.com/tkestack/tke
- https://www.rancher.com/
Expand Down Expand Up @@ -259,4 +277,8 @@ The following items have been reviewed but need to be revisited due to complexit

## Definitely

* https://github.com/ConvoyPanel/panel
* https://github.com/ConvoyPanel/panel


## Referral Links
https://www.visible.com/get/?3JMZG3W
19 changes: 0 additions & 19 deletions docs/cli/commands/brave-profile-backup.md

This file was deleted.

18 changes: 0 additions & 18 deletions docs/cli/commands/brave-profile-restore.md

This file was deleted.

19 changes: 0 additions & 19 deletions docs/cli/commands/chrome-profile-backup.md

This file was deleted.

18 changes: 0 additions & 18 deletions docs/cli/commands/chrome-profile-restore.md

This file was deleted.

19 changes: 0 additions & 19 deletions docs/cli/commands/edge-profile-backup.md

This file was deleted.

18 changes: 0 additions & 18 deletions docs/cli/commands/edge-profile-restore.md

This file was deleted.

19 changes: 0 additions & 19 deletions docs/cli/commands/ferdium-profile-backup.md

This file was deleted.

18 changes: 0 additions & 18 deletions docs/cli/commands/ferdium-profile-restore.md

This file was deleted.

19 changes: 0 additions & 19 deletions docs/cli/commands/firefox-profile-backup.md

This file was deleted.

Loading

0 comments on commit f46398d

Please sign in to comment.