Note
to active Office without crack, just follow https://github.com/WindowsAddict/IDM-Activation-Script,
you wiil only need to run
irm https://massgrave.dev/ias | iex| 'use strict' | |
| /** @type {typeof import('@adonisjs/lucid/src/Lucid/Model')} */ | |
| const Model = use('Model') | |
| class ExampleModel extends Model { | |
| /** | |
| * Add traits | |
| */ | |
| static boot () { |
| # Install dependencies | |
| brew install wget autoconf openssl libjpeg libpng lzlib curl imap-uw readline postgresql libxml2 mcrypt gettext libxslt libiconv icu4c expat bison webp freetype mongodb-community | |
| # Dirs | |
| mkdir -p /Applications/MAMP/bin/php/php7.4.2/include | |
| cd /Applications/MAMP/bin/php/php7.4.2/include | |
| # Download PHP 7.4.2 sources | |
| wget http://fr2.php.net/get/php-7.4.2.tar.bz2/from/this/mirror -O php-7.4.2.tar.bz2 |
Note
to active Office without crack, just follow https://github.com/WindowsAddict/IDM-Activation-Script,
you wiil only need to run
irm https://massgrave.dev/ias | iex| #!/bin/bash | |
| # Creator: Phil Cook | |
| # Modified: Andy Miller | |
| # | |
| # >>> IMPORTANT: Moved to: https://github.com/rhukster/sphp.sh | |
| # >>> Kept here for legacy purposes | |
| # | |
| osx_major_version=$(sw_vers -productVersion | cut -d. -f1) | |
| osx_minor_version=$(sw_vers -productVersion | cut -d. -f2) | |
| osx_patch_version=$(sw_vers -productVersion | cut -d. -f3) |
| // Shinobi (http://shinobi.video) - FFMPEG FLV over HTTP Test | |
| // How to Use | |
| // 1. Navigate to directory where this file is. | |
| // 2. Run `npm install express` | |
| // 3. Start with `node ffmpegToWeb.js` | |
| // 4. Get the IP address of the computer where you did step 1. Example : 127.0.0.1 | |
| // 5. Open `http://127.0.0.1:8001/` in your browser. | |
| var child = require('child_process'); | |
| var events = require('events'); |
| #!/bin/bash | |
| # Check if ran with root permissions | |
| if [ `id -u` -ne 0 ]; then | |
| printf "The script must be run as root! (you can use sudo)\n" | |
| exit 1 | |
| fi | |
| function arrayContains { | |
| local e match="$1" |
| # Backup | |
| docker exec CONTAINER /usr/bin/mysqldump -u root -pPASSWORD DATABASE > backup.sql | |
| docker exec CONTAINER /usr/bin/mysqldump -u root -pPASSWORD DATABASE | gzip > backup.sql.gz | |
| docker exec CONTAINER /usr/bin/mysqldump -u root -pPASSWORD DATABASE | bzip2 > backup.sql.bz2 | |
| # Restore | |
| cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root -pPASSWORD DATABASE | |
| gunzip < backup.sql.gz | docker exec -i CONTAINER /usr/bin/mysql -u root -pPASSWORD DATABASE | |
| bunzip2 < backup.sql.bz2 | docker exec -i CONTAINER /usr/bin/mysql -u root -pPASSWORD DATABASE |
| #!/bin/bash | |
| PHP_VERSION=7.4.2 | |
| # Command lines tools | |
| xcode-select --install | |
| # Install dependencies | |
| brew install wget autoconf openssl lzlib curl imap-uw readline postgresql gettext libxslt libiconv bison pkg-config krb5 bzip2 openldap tidy-html5 | |
| # Dirs |
| # best practice: linux | |
| nano ~/.pgpass | |
| *:5432:*:username:password | |
| chmod 0600 ~/.pgpass | |
| # best practice: windows | |
| edit %APPDATA%\postgresql\pgpass.conf | |
| *:5432:*:username:password | |
| # linux |