Hyper-V Replication Error 0x00002EE7, Event 32022

##Weird one here… Hyper-V Replica issue: Hyper-V could not replicate changes for virtual machine ‘MikroRMM’: The server name or address could not be resolved (0x00002EE7). (Virtual Machine ID 722E9124-A917-4AD4-AC0D-0AEAA0C95686) … did some poking around, got here for a workaround: http://blogs.technet.com/b/virtualization/archive/2013/04/08/hyper-v-replica-name-resolution-of-internationalized-server-domain-names.aspx But while waiting for GPEdit to launch ( Separate Issue 🙂 ) I just threw[…]

Subl on remote Ubuntu

##Initial Install: $wget http://c758482.r82.cf2.rackcdn.com/sublime-text_build-3065_amd64.deb #dpkg -i sublime-text_build-3065_amd64.deb ##Runtime Error: $subl Unable to load gtk_window_set_skip_pager_hint from libgtk-x11-2.0.so #apt-get update #apt-get install apt-file #apt-file update #apt-file search libgtk-x11-2.0.so … #apt-get install libgtk2.0-0 $subl ##Celebrate!!

JavaScript – Timed Auto-Refresh Image

*I had to hack up the html because im too lazy to figure out how to handle it with jinja right now. (take out the #’s)* Very simple JavaScript to refresh html every 3 seconds (there are probably better ways to do this but) function updateImage() { document.getElementById(‘picM’).innerHTML = ‘‘; setTimeout(updateImage, 3000); return; } window.onload=updateImage()

Connect to MySQL from R

I initially attempted to install via: sudo apt-get build-dep r-cran-rmysql But I received an error trying to access MySQL from R: Error in library(RMySQL) : there is no package called ‘RMySQL’ colin@mikrojenkins:~/mikroR$ cat installer.r #!/usr/bin/r install.packages(‘RMySQL’,type=’source’, repos=’http://cran.cnr.berkeley.edu/’) *It hosed on me if I didn’t specify a repos arg* Once RMySQL was installed, I was able[…]

Call R from Python

colin@mikrojenkins:~$ mkdir mikroR colin@mikrojenkins:~$ cd mikroR colin@mikrojenkins:~/mikroR$ virtualenv . New python executable in ./bin/python Installing setuptools, pip…done. colin@mikrojenkins:~/mikroR$ . bin/activate (mikroR)colin@mikrojenkins:~/mikroR$ pip install rpy2 …. error: Setup script exited with Error: Tried to guess R’s HOME but no R command in the PATH. (mikroR)colin@mikrojenkins:~/mikroR$ sudo apt-get update [sudo] password for colin: (mikroR)colin@mikrojenkins:~/mikroR$ sudo apt-get install[…]