Configure IntelliJ to open with old Java version in macOS

I’ve an IntelliJ 13 app but it can’t be executed with the new Java versions, but it could be configured to use a specific Java version.

1. Open the app with the context menu and select Shows Package Content

2. Edit the file Contents/Info.plsit and edit the next section to select the base version, in this example I’ve using the Java 1.8.

<key>JVMVersion</key>
<string>1.8*</string>

3. Save the file and execute the app.

References

bye =)

Upgrade MacBook Pro 8,1 to macOS Catalina with 16 GB of RAM

I’ve an old MacBook Pro (13-inch, Early 2011), according to the apple support the last supported OS is macOS High Sierra 10.13.2 and the technical specs indicates the max upgradable memory is up to 8GB (two 4GB SO-DIMMs) of 1333MHz DDR3 SDRAM.

But reading on internet I’ve found that can be upgradable up to 16GB of 1600MHz DDR3L SDRAM and it’s possible to install a superior version of macOS using a non official patches and installers, like Catalina Patcher or Open Legacy Core Patcher.

I know this is a very old device, in order to not dispose it I was thinking to install a linux system on it, but I’ve decided to given a second chance upgrading the RAM and testing with an unsupported macOS. In this entry I’m going to share my experience.

First, is truth, the max RAM supported is up to 16 GB of 1600MHz, I’ve bought in amazon these modules, note they are a DDR3L with support 1.35V or 1.5V and it works great.

Seguir leyendo

Enable hibernation on Macbook Pro (Catalina)

I think the Hibernation is a very important feature for every laptop, it can be useful to preserve the battery life, saving energy and it could be a good option to continue the work session from a day to another.

But it is not enabled by default on macOS Catalina, I’ve an old Macbook Pro 8.1 (Early 2011). It’s support two modes:

  • Sleep mode: Save the session data on memory RAM and allows to resume very quickly but the energy is consumed, if the power is cut off the data is lost.
  • Hibernate mode: The session data is saved on disk and the it will switch off to save energy, there is no risk to lost data but it could take a few time to restore the session (a few seconds more).

I’ve prefer the Hibernate mode because I’ve don’t see a very significant difference on restore time vs the Sleep mode, also it keep a better battery life. But it’s important to mention that I’ve using a SSD disk to improve the performance.

Seguir leyendo

Install Fedora CoreOS + Cockpit for VirtualBox

In this entry I’m going to show how to install Fedora CoreOS with Cockpit to manage the server. Although I’m using Mac OS the commands are the same for Linux.

First the basics:

fedora-coreos-logo

Fedora CoreOS is an automatically-updating, minimal operating system for running containerized workloads securely and at scale. It is currently available on multiple platforms, with more coming soon.

cockpit-logo (1)

Cockpit is a web-based graphical interface for servers, intended for everyone. See your server in a web browser and perform system tasks with a mouse. It’s easy to start containers, administer storage, configure networks, and inspect logs. 

Seguir leyendo

Tips on Install Jenkins on Mac OSX

logo-title

Jenkins is the most popular application server to automate tasks related with the software development life cycle, this tool can execute and manage tasks to build, test and deliver software in a perspective like a continious process of software manufacture.

To install in macOS is a very simple process (even in windows or linux), I don’t going to explain it because the installer have a very clear assistance, if you need some help,, you can follow the steps of this guide (with screenshots), instead I want to write about the some simple tips after the installation. Seguir leyendo

Alternatives to KeyPass

How do you save your sensitive data? like a users, passwords, website links and other sensitive information (no docs), I used to store my credentials in a excel file but I changed it after my identity was stolen.

I’ve never think that gonna happen to me but and I’m still trying to resolve some legal problems after that incident.

Now I’m using software to keep my info «safe» (note the quotes), because the people like me, that works on IT,  we know there are a lot of nasty tricks to exploit vulnerabilities to get sensitive information, and ever exists a way to do this.

Then keeping in mind this risks, I was testing security tools like OnePass, LastPass and DashLane, but some of them are limited in features in their free versions, like the number of credentials that you can store or sync service in cloud, etc. And I can’t pay that service.

My option was the open source alternatives like KeyPass, but I have to use windows, macOS and Linux systems, and I want to recommend this tools with compatibility: Seguir leyendo

Mount EXT4 partition on macOS (High Sierra)


The easy way to mount a ext partition on macOS is buying the paragon software, but the problem is when you upgrade the OS because you need to buy a new license, the main advantage is the speed to read and write is very good.

The other way is using the Fuse for mac OSX with fuse-ext2  to support EXT file system…  I thinked it could be a easy task, but it’s not. The first is a simple package with a friendly wizard, but the add-on to enable EXT file system is the ¡source code! (a pain in the … you know). There is not a dmg or pkg installer, if you want it, you must to compile and packaging by your own.

This are the official descriptions about them:

  • FUSE for macOS allows you to extend macOS’s native file handling capabilities via third-party file systems.
  • Fuse-ext2 is an EXT2/EXT3/EXT4 filesystem for FUSE, and is built to work with osxfuse.

It means that you need both if you want to mount your EXT partitions in OSX.

After some 4 hours I’ve successfully created the distribution package, but I did a lot of fixes and apply a lot of tips that I read on multiple websites, honestly I don’t remember  how many websites I’ve visited over all process, I’m just write some notes on my sublime text editor, but I want to share it here if any want try to compile the source code, at the end of this post you can download my binary package ready to install it. Seguir leyendo

Prevent execute apps when do login in MAC OS X

Some applications in OS X are launched by default even if you disabled in the preferences on that app.

To prevent some of this apps are executed when you login you must edit a file with extension plist.

Go to the launch agent folder and after the tag RunAtLoad set tag <true/> to <false/>

cd /Library/LaunchAgents/

Saludos

Mac OS X set Terminal color theme

A few days ago I had been upgrading my OS X with a fresh install, the default theme in terminal is very poor if you work with the console, to change the theme you can configure the colors.

First, edit your  «~/.bash_profile«, if don’t exists create new one, and add this content:

export TERM="xterm-color"
alias ls="ls -G"
export PS1="\e[1;30m\][\e[\e[1;30m\]\e[1;33m\] \u@\H \[\e[1;32m\]\w\[\e[0m\] \e[1;30m\]]\n[\[ \e[1;31m\]\T\[\e[0m\]\e[1;30m\] ] > \e[37m\]"

Now, you can download a preconfigured themes from:

https://github.com/lysyi3m/macos-terminal-themes

Select one and open it with double click (files with «.terminal» extension), now change the terminal preferences, in Profiles section select your profile and set as Default.

I use the Nova theme in my laptop:

nova

Cheers