I love the Jupyter Notebook for working in Python. However, I have been fairly disappointed with the performance (start-up time, cpu and memory utilization) of Anaconda on my Window’s computers. I have also wanted to use Jupyter on a Dell laptop running Ubuntu Linux with limited memory and disk space, without the bloat of Anaconda.
Installing Jupyter without Anaconda is actually fairly simple. See: Installing Jupyter with pip. It’s so easy that I don’t see why they put the “strongly recommend” using Anaconda to run Juypter in bold. Since pip is installed already on the latest versions of Python, you don’t even have to go out looking for a separate script to install or update it. It works like a charm.
I’ve had to look this tip up a number of times, so here it is.
Say you are running PowerShell on a Windows server, however it does not automatically load all available modules and you need one for a specific script you’ve got. Load all available PowerShell modules on a Windows server by running this command:
Get-Module -ListAvailable | Import-Module
From the “Hey, Scripting Guy! Blog.” Thank you!
Per github wiki for node.js, Fedora 19 will have node.js included. However, to obtain node.js in Fedora 18, do the following:
sudo yum --enablerepo=updates-testing install nodejs npm
On one of my web servers I use the “-Xrs” parameter in the JAVA_OPTIONS on a Solaris server. This tells the JVM to ignore any system shutdown requests. This prevents the JVM from shutting down in the event there is a system panic which may not otherwise cause a system crash. See the JVM parameters page for Solaris for more details.
Sometimes when attempting to grep through the files in a directory, there are so many files in the directory that grep returns an error indicating the argument list is too long. Fix this by using xargs.
find ./ -print | xargs grep -l <your_string>
Running an Oracle ODI installer on a CentOS vm, I encountered an error of the type:
checking for hardnofiles = 4096; found hardnofiles = 1024 Failed
checking for softnofiles = 4096; softnofiles = 1024 Failed
The fix was to edit my/etc/security/limits.conf file:
* soft nofile 16384
* hard nofile 65536