Skip to main content
MacBook Pro 2021. My impressions and migration help
macOS
macOS

It seems unbelievable that it's been a year since my last post here, hello everyone, by the way. I'm not very active on social networks, except on Twitter, I really learn a lot from other people there or Discord where you can find me and chat with me inside the #pikiss-support channel.


Jose CerrejonAbout 8 minAppleApple
Batocera. Switch partition to extFAT for macOS/Windows compatibility
batocera
batocera

Many distributions prepared to play emulators, come by default with the secondary partition in EXT4 to store settings, BIOS and ROMs. For those of us who usually work with macOS and/or Windows, it would be better if this partition came in extFAT to be able to mount in you non Linux OS and transfer files comfortably from the Explorer/Finder, so that is what I have proposed today. It's not a big deal, let's go.


Jose CerrejonAbout 2 minAppleLinuxRaspberry PIAppleLinuxRaspberry PI
Today in mysteries to solve. DOSBox and the MacOS key mapping bug
dosbox_macos_01
dosbox_macos_01

Lately I've been doing mini posts about problems that I stuck on a daily basis. I have some of them pretty dense that I don't finish, I hope to get the time and publish them to get rid of my backlog.


Jose CerrejonAbout 1 minAppleRaspberry PIAppleRaspberry PI
Best options to use for file/directory compression
compress
compress

Just a quick reminder, If you need the best ratio with different file compression software:


# 7z
7z a -t7z -m0=lzma -mx=9 -mfb=64 -md=32m -ms=on file_compressed.7z file_input
# tar.gz
env GZIP=-9 tar cvzf file_compressed.tar.gz file_input
# zip
zip -9 file_compressed.zip file_input
# rar
rar a -idq -r -y -m5 file_compressed.rar file_input
# Gzip
gzip -9 file_input

Jose CerrejonLess than 1 minuteAppleGeneralLinuxAppleGeneralLinux
Fix Git xcrun. error. active developer path (...) does not exist on macOS
git_issues_mac
git_issues_mac

Just a quick reminder. I Recently deleted XCode for getting some free space disk (30Gb!), and suddenly I get the message above. brew install git did not the trick. I use Git a lot, don't fuck me, Apple. All posts around the web say I must to install XCode. I don't want to do it. You only need the command line tools. So finally I found the command that saves my day:


Jose CerrejonLess than 1 minuteAppleApple
Tip. Automate Text Input in Commands
cmd
cmd

Sometimes it can be tedious to enter certain data in the command line, especially if you have to repeat it several times.

Imagine ftp command line authentication. We can make use of the expect command...


Jose CerrejonLess than 1 minuteAppleLinuxRaspberry PIAppleLinuxRaspberry PI
Upgrade to bash 4 in macOS
bash 4
bash 4

I know. Sorry for the long delay in updates. Been extremely busy with my job developing mobile apps and other stuff.

I came here just for write a notes about install Bash 4 to get some interesting feature from this Shell.


Jose CerrejonLess than 1 minuteAppleApple
Avoid mounting a partition on OSX (1 code line)
osx_partitions
osx_partitions

If you have two operating systems installed on your OSX is quite annoying that you automatically mount those two partitions. Running this simple line you will prevent mount the partition that you do not use.


Jose CerrejonLess than 1 minuteAppleApple
Upgrade Git on OSX with brew
Git
Git

There is a recent Git security update that you MUST to install. In the case of OSX, I realized I was using a fairly primitive version, so I will use brew to install this new version and get rid of the old.


Jose CerrejonLess than 1 minuteDeveloperAppleDeveloperApple