zsh -c "$(curl -fsSL https://raw.githubusercontent.com/nrjdalal/silicon-virtualizer/master/install-qemu.sh)"xcode-select --install| #!/bin/bash | |
| # | |
| # Enable nopasswd mode for sudo on macOS from the userspace in fast and totally non-interactive way | |
| # | |
| # Type the password last time to apply the new mode and forget it for any console task for ages | |
| # Use the rollback to restore password protection | |
| # | |
| # Developed and tested by https://juliyvchirkov.github.io/ under the MIT license on macOS Big Sur 11.2.0 | |
| # | |
| # Get latest version at https://gist.github.com/juliyvchirkov/3ca76582ed6b6a8366c9e7d60644960d |
| # PS-BGInfo | |
| # Powershell script that updates the background image with a random image from a folder and writes out system info text to it. | |
| # run as a lower priority task | |
| [System.Threading.Thread]::CurrentThread.Priority = 'BelowNormal' | |
| # Configuration: | |
| # Font Family name | |
| $font="Input" |
| # - name: Generate DH Params (may take several minutes!) | |
| # command: openssl dhparam \ | |
| # -out "/data/jenkins_home/ssl/dhparam.pem" 2048 | |
| # args: | |
| # creates: "/data/jenkins_home/ssl/dhparam.pem" | |
| # | |
| # - name: Generate ECC Key | |
| # command: openssl ecparam \ | |
| # -genkey \ | |
| # -name prime256v1 \ |
| #!/bin/bash | |
| ## Automatically generate a file with git branch and revision info | |
| ## | |
| ## Example: | |
| ## [master]v2.0.0-beta-191(a830382) | |
| ## Install: | |
| ## cp git-create-revisioninfo-hook.sh .git/hooks/post-commit | |
| ## cp git-create-revisioninfo-hook.sh .git/hooks/post-checkout | |
| ## cp git-create-revisioninfo-hook.sh .git/hooks/post-merge |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>PayloadContent</key> | |
| <array> | |
| <dict> | |
| <key>AllowUserOverrides</key> | |
| <true/> | |
| <key>AllowedTeamIdentifiers</key> |
| #!/bin/bash | |
| set -e | |
| set -u | |
| clear | |
| ami="ami-10e00b6d" | |
| size="t2.medium" | |
| today=$(date +"%m-%d-%y-%H%M") | |
| localip=$(curl -s https://ipinfo.io/ip) |
| # --------------------------------------------------------------------------- | |
| # | |
| # Description: This file holds all my BASH configurations and aliases | |
| # | |
| # Sections: | |
| # 1. Environment Configuration | |
| # 2. Make Terminal Better (remapping defaults and adding functionality) | |
| # 3. File and Folder Management | |
| # 4. Searching | |
| # 5. Process Management |
| #!/bin/bash | |
| # | |
| # mailcatcher This shell script takes care of starting and stopping | |
| # the mailcatcher fake/dev mail server. | |
| # -> adduser mailcatcher | |
| # -> chkconfig mailcatcher on | |
| # chkconfig: - 64 36 | |
| # description: stop and start mailcatcher fake mail server | |
| # processname: mailcatcher | |
| # config: /etc/mailcatcher.cnf |