Page 1 of 2

Notes on FreeBSD UFS partition schema Jun 1 2020

Sometimes deciding on a partition schema could be a confusing, here are my notes on partitioning a GPT disk. I hope you find them useful.

I will advice creating a virtual machine using FreeBSD and take it for a spin. It would be nice if we had lots...

Read More...

Using the script command to record a terminal session May 25 2020

When working on the command-line, I sometimes would like to record what I was doing to extract the exact message a script returned without having to rerun all the commands. Similarly, when I’m trying to report an error to a coworker and want to show...

Read More...

Migrating an old JavaScript codebase to modern JavaScript May 18 2020

We get excited about starting a new project. It allows us to use new technologies, and we don’t have to worry about being compatible with any old code. In reality, most of the work we do is maintenance. And I do believe, that working with legacy code...

Read More...

Compiling a custom FreeBSD kernel for Parallels VirtualMachine May 13 2020

I use Parallels on macOS to spin virtual machines for learning purposes. Lately, I’ve been interested in FreeBSD, so I wanted to create a slimmed-down version of the FreeBSD Kernel for my VM. And that is the topic of this post, how to create a custom...

Read More...

Changing blog path in Middleman May 6 2020

I use Middleman as my Static Site Generator, I have two “blogs” in my site:

When I created...

Read More...

My Xcode gitignore template Aug 28 2019

I would like to change the template Xcode uses to generate a git repository, but I haven’t found how. So at the moment when I want to use my .gitignore template I just pull it from a GIST.

This y my Xcode .gitignore template. I use the raw address...

Read More...

Adding Fastlane to an Xcode project Aug 15 2019

We can install Fastlane as a Homebrew cask or as a gem. I’ll go the gem route.

add a Gemfile on your project:

1
2
3
4
#Gemfile
source "https://rubygems.org"

gem "fastlane"

We are going to use bundler. If you are familiar with Ruby development, you...

Read More...

exportOptions properties Aug 13 2019

From the help obtained on

1
2
3
$ xcodebuild -version
# Xcode 10.3
# Build version 10G8

This are the options available for the exportOptins Property List file:

compileBitcode : Bool

For non-App Store exports, should Xcode re-compile the app from...

Read More...

Using Drag and Drop on UITableView for reorder Jul 26 2019

If we use custom cells for a UITableView, and we want to re-order using drag and drop, we need to make our cell model conform to NSItemProviderWriting, NSItemProviderReading and NSObject. To move an object using drag and drop, we need to to be able...

Read More...

Creating App Custom URL Scheme Jul 17 2019

We can do this by adding the following fields to the info plist:

1
2
3
4
5
6
7
8
9
10
11
12
13
    <key>CFBundleURLTypes</key>
    <array>
        <dict>
            <key>CFBundleTypeRole</key>
            <string>Viewer</string>
            <key>
Read More...