Skip to content

Instantly share code, notes, and snippets.

@raviramanathan
raviramanathan / gist:ea8ac95e51f1ea3c050480749ccd554e
Created January 17, 2018 11:14
anaconda stuck at "Solving package specifications" or for problems of "ResolvePackageNotFound"
#For the problems of conda being stuck at solving package specification for problems of "ResolvePackageNotFound" especially when upgrading
#for fast.ai part1v2 (fast.ai courses version 2018 with Pytorch) solution is simple. Upgrading conda. Run the following command:
conda upgrade conda
#this fixes the problems and conda successfully creates new environment with all requirements for fast.ai part1v2
@raviramanathan
raviramanathan / matlab_set_papersize
Created July 22, 2014 14:06
Setting Paper Size in Matlab Figures
I repeatedly look for the code to specify paper size and attributes in matlab for figures.
Here is how to do it :
hFig = gcf;
%# centimeters units
X = 42.0; %# A3 paper size
Y = 29.7; %# A3 paper size
@raviramanathan
raviramanathan / Controlling Boxplots in Matlab
Last active September 21, 2021 17:37
Controlling boxplots in Matlab
Controlling boxplots in Matlab
The tricky problems I found was
1) in controlling the width of the lines for the outlines of the boxes in the boxplots and
h=boxplot(DATA,Vect)
for ih=1:numRowsOfDATA
set(h(ih,:),'LineWidth',2); % Set the line width of the Box outlines here
end
@raviramanathan
raviramanathan / virtualbox_ova_to_vmware_vmx.txt
Last active March 30, 2021 14:06
Virtualbox VM to VMWare Migration
To convert Virtualbox VMs to VMware VMs, the state of the art is still not a "simple export and import".
Am surprised that it doesn't still work thst way. My VMWare player would quit without even errors. Linux, VMware & Tools ... Still long way to go.. Why can't something fail appropriately ?
Some commands need to be typed in the command lines. Here is the procedure that worked for me:
From Virtualbox, Export the VM to a folder. It could be saved either in the .OVA or .OVF formats.
In the command line, execute :
ovftool -tt vmx --lax soureVMfileaname.ova .