-
In open Ubuntu 18.04 machine click Parallels Actions -> "Install Parallels Tools"
-
A "Parallels Tools" CD will popup on your Ubuntu desktop.
-
Open it by double mouse click, copy all the content to a new, empty directory on a desktop, name it for e.g. "parallels_fixed"
-
Open terminal, change directory to parallels_fixed (
cd ~/Desktop/parallels_fixed
) -
Make command line installer executable (
chmod +x install
) -
Change directory to "installer" (
cd installer
) -
Make few other scripts executable:
chmod +x installer.* *.sh prl_*
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
updateStepFourProps(type, operation, data) { | |
let localData = []; | |
if (operation === 'add') { | |
if (type === 'educationalBackground') { | |
// Create Local Copy | |
localData = this.state.educationalBackground; | |
// Push Data In Local Copy | |
localData.push(data); | |
} else if (type === 'academicCertificates') { | |
// Create Local Copy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var data = "do shash'owania"; | |
var crypto = require('crypto'); | |
crypto.createHash('md5').update(data).digest("hex"); |
First off, credit goes to github.com/rudolfratusinski for leading the way here.
https://gist.github.com/rudolfratusinski/a4d9e3caff11a4d9d81d2e84abc9afbf
In a very similar approach, copy the files from the Parallels installation media and drop them in a folder somewhere (eg. ~/parallels_fixed)
Go to the kmods directory (cd ~/parallels_fixed/kmods
) and extract the files (tar -xzf prl_mod.tar.gz
)
Remove prl_mod.tar.gz
file from that directory (rm prl_mod.tar.gz
)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- table is 'blocks' | |
-- column is 'number' | |
SELECT | |
gap_start, gap_end FROM ( | |
SELECT number + 1 AS gap_start, | |
next_nr - 1 AS gap_end | |
FROM ( | |
SELECT number, lead(number) OVER (ORDER BY number) AS next_nr | |
FROM blocks |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# | |
# Certbot Nginx Reload | |
# | |
# Let's Encrypt Certbot post hook command for Nginx which checks the updated | |
# configuration files and reloads the server if everything validates. | |
# | |
# Author : Justin Hartman <[email protected]> | |
# Version : 1.0.1 | |
# License : MIT <https://opensource.org/licenses/MIT> |