We'll install MSOffice using the PlayOnLinux wizard. Additionally, MSOffice requires samba
and winbind
to properly work.
So, if not installed, install them:
sudo apt-get install playonlinux samba winbind
pipeline { | |
agent { | |
docker { | |
image 'node' | |
} | |
} | |
stages { | |
stage('Clone Sources') { | |
steps { |
describe("Calculator", function() { | |
var calculator; | |
beforeEach(function() { | |
calculator = new Calculator(); | |
}); | |
it("should have an add method", function() { | |
expect(calculator.add).toBeDefined() | |
}); | |
}); |
class Calculator { | |
// This is an empty class | |
} |
--- | |
AWSTemplateFormatVersion: '2010-09-09' | |
Description: 'EC2 Postgres and EC2 Redis deployments for Yelb backends' | |
Parameters: | |
KeyName: | |
Description: Name of an existing EC2 KeyPair to enable SSH access to the instance | |
(where applicable) | |
Type: AWS::EC2::KeyPair::KeyName | |
ConstraintDescription: Can contain only ASCII characters. | |
InstanceType: |
AWSTemplateFormatVersion: '2010-09-09' | |
Metadata: | |
License: Apache-2.0 | |
Parameters: | |
CidrBlocks: | |
Description: FIXME Remove. The CIDR blocks to use for the subnets in the services VPC. | |
Default: '10.0.0.0/24,10.0.1.0/24,10.0.2.0/24,10.0.3.0/24,10.0.4.0/24,10.0.5.0/24' | |
Type: CommaDelimitedList |
#!/bin/bash | |
###################################################### | |
# AUTO LAMP INSTALLATION # | |
# Written by Gil Shwartz # | |
# gilshwartzdjgs@gmail.com # | |
###################################################### | |
clear | |
echo "#######################################################" | |
if (( $EUID != 0 )); then | |
echo "[!] This script requires root privileges in order" |
function getSunday($date) { | |
$dow = strftime("%A", strtotime($date)); | |
switch ($dow) { | |
case "Monday"; | |
$date = date ('Y-m-d', strtotime ("$date - 1 days")); | |
return $date; | |
case "Tuesday"; | |
$date = date ('Y-m-d', strtotime ("$date - 2 days")); | |
return $date; | |
case "Wednesday"; |
#!/bin/bash | |
###################################################### | |
# AUTO LEMP INSTALLATION # | |
# Written by Gil Shwartz # | |
# gilshwartzdjgs@gmail.com # | |
###################################################### | |
clear | |
echo "#######################################################" | |
if (( $EUID != 0 )); then | |
echo |