zsh -c "$(curl -fsSL https://raw.githubusercontent.com/nrjdalal/silicon-virtualizer/master/install-qemu.sh)"xcode-select --install| /*--- waitForKeyElements(): A utility function, for Greasemonkey scripts, | |
| that detects and handles AJAXed content. | |
| Usage example: | |
| waitForKeyElements ( | |
| "div.comments" | |
| , commentCallbackFunction | |
| ); |
| #!/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 |
| #!/usr/bin/env bash | |
| # nounou 2.0 | |
| # say command on mac OS : Making your Mac talk with the sentence you pass, in french there | |
| enfants[0]='Marceau' | |
| enfants[1]='Émile' | |
| actions[0]='range ta chambre' | |
| actions[1]='mets tes chaussons' |
| <?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) |
I hereby claim:
To claim this, I am signing this object: