cat <<EOF >>~/.bash_profile
export VISUAL="nano"
export EDITOR="nano"
EOF
- Open a command prompt as Administrator
- In the command prompt, type the following:
-
Office 2016 (32-bit) on a 32-bit version of Windows
cscript "C:\Program Files\Microsoft Office\Office16\OSPP.VBS" /dstatus
-
Office 2016 (32-bit) on a 64-bit version of Windows
cscript "C:\Program Files (x86)\Microsoft Office\Office16\OSPP.VBS" /dstatus
-
Office 2016 (64-bit) on a 64-bit version of Windows
#!/bin/sh | |
RESTORE=$(echo '\033[0m') | |
BOLD=$(echo '\033[1m') | |
GREEN=$(echo '\033[1;32m') | |
echo | |
echo ${GREEN} | |
echo "------------------------------" | |
echo " Installing prerequisites " | |
echo "------------------------------" | |
echo |
The table sys.spt_values is in the ressources database (mssqlsystemresource). This database is only accessible when the SQL Service is started in single user mode..
To re-create the view to do the following steps:
-
Stop all MSSSQL Service
-
Start the SQL Service in single user mode: Open a DOS Command prompt and start the sqlservice with the -m switch
"C:\Program Files\Microsoft SQL Server\MSSQL15.MSSQLSERVER\MSSQL\Binn\sqlservr.exe" -m
AWSTemplateFormatVersion: '2010-09-09' | |
Parameters: | |
BucketName: | |
Type: String | |
AllowedPattern: '^[A-Za-z0-9-]*$' | |
ConstraintDescription: 'Must be a valid S3 bucket name' | |
Description: 'Input the bucket name you want to create' | |
CloudFrontDistributionCNAME: | |
Type: String | |
Description: 'Input the CloudFront distribution CNAME' |
Lambda function to remove a running POD from EKS cluster and allow the matching deployment to run it again, updating it.
Thia allows microservice updating after a codepipeline run.
It uses the awscli
because the get-token
command is not available in boto3
library.
const calculator = (function(){ | |
function add(numberString){ | |
if (numberString === ''){ | |
return 0 | |
} | |
const delimiter = getDelimiter(numberString) | |
const formattedInput = formatInput(numberString) | |
return calculateSum(getNumbers(formattedInput, delimiter)) |
#/bin/sh | |
spinner=(" " "1 " "10 " "101 " " 010" " 01" " 0") | |
spinner_length=${#spinner[0]} | |
function spin() { | |
tput cuf "$spinner_length" | |
while [ 1 ]; do | |
for i in "${spinner[@]}"; do | |
tput cub "$spinner_length" |
With a bit of playing around I've managed to come up with a semi solution (not perfect but good enough)
using 2707974 answer and information I've gained else where I've been able to get what I need.
First you need vsftp and PAM installed
apt-get install vsftpd libpam-pwdfile apache2-utils
Edit /etc/vsftpd.conf