Monthly Archives: February 2018

Pass arguments to the PowerShell script in PowerShell ISE

Use the command pane. Open the script file in the ISE editor, set the breakpoints (F9). Then in the command pane type a command invoking this script with required parameters. I do not think there is another (built-in) way of … Continue reading

Posted in develop | Tagged , , | Leave a comment

Add a repository to SEL

Reference Running VS Code on Linux Installation openSUSE and SLE based distributions The yum repository above also works for openSUSE and SLE based systems, the following script will install the key and repository: sudo rpm –import sudo sh … Continue reading

Posted in develop, linux | Tagged , , , | Leave a comment

VDI Client on Linux

Prerequisites for building the VDI client Download SLES release of llvm + clang from tar -xvf clang+llvm-5.0.1-linux-x86_64-sles12.2.tar.xz Install libuuid-devel from SDK or Suse repo. export PATH=/home/tony/clang+llvm-5.0.1-linux-x86_64-sles12.2/bin/:$PATH cd /home/tony/sandbox/tsm/sqlvdi-linux LD_LIBRARY_PATH=”/opt/mssql/lib” make -f Makefile   Run vdisample   Run … Continue reading

Posted in linux, sql.server | Tagged , , | Leave a comment

gnome-commander from OpenSuse

Get the one click install from The one click install is Open it in nautilus or File Manager by doubleclick SUSE package hub

Posted in linux | Tagged , | Leave a comment

Mount Shared Drive on VirtualBox Linux

Inside Suse edit the Suse’s rc.local file which is: sudo vi /etc/init.d/after.local to automatically mount the shared folder every time the Linux starts: sudo mount -t vboxsf D_DRIVE /mnt Restart the OS. In order to have access to the FS … Continue reading

Posted in linux | Tagged | Leave a comment

Resize VMDK disk of a SUSE Linux VM

Run in a Command Prompt. Pay attention to the disk UUID. pushd C:\Program Files\Oracle\VirtualBox VBoxManage.exe clonemedium D:\VirtualBoxVMs\SQLONSLES\SQLONSLES.vmdk D:\VirtualBoxVMs\SQLONSLES\SQLONSLES.vdi –format VDI @REM 0%…10%…20%…30%…40%…50%…60%…70%…80%…90%…100% @REM Clone medium created in format ‘VDI’. UUID: e84ba0f2-37f9-43c1-9dcb-3cb3bbcce991 VBoxManage modifymedium disk D:\VirtualBoxVMs\SQLONSLES\SQLONSLES.vdi –resize 15360 @REM 0%…10%…20%…30%…40%…50%…60%…70%…80%…90%…100% VBoxManage.exe … Continue reading

Posted in VirtualMachine | Tagged , | Leave a comment