Page 2 of 12

How To Add A Launch Screen To An iOS App

I have recently started to play around with Swift programming as I always wanted to code something for iOS, but always ended up either lacking the time to do it, or developing for Android, a platform with which I am more experienced since my university days.

One of the most confusing things for me, coming from Android development and its interfaces in plain XML, was getting used to Interface Builder in Xcode, finding the elements I need, ultimately, getting the storyboard files to do what I want them to do. Also, navigating the Xcode project settings is no easy task for a beginner, so I am still finding roadblocks every time I try to do the most simple tasks.

Continue reading

A Few Performance Tests Using Powerline Adapters

Powerline adapters are a pretty cool way to keep your network wired without having to run cables through the walls, particularly handy if you are renting your place (but even if you own the house and you don’t feel like doing this type of work).

Obviously, wiring the house would be the best choice, but when this is not possible, powerline adapters are a very good alternative, and probably still better than just connecting every device via Wi-Fi.

However, the performance of these adapters vary based on a lot of factors, from the distance between the adapters, the quality of your electrical system and, perhaps most importantly, where you decide to plug your adapters into.

Every powerline manufacturer recommends to plug them directly into a wall socket for maximum performance. You should avoid plugging them in anywhere else, including power strips or UPSs. If you do, they will likely still work, but you won’t get the maximum throughput supported.

I used to have a long ethernet cable running from my core switch in the office to the router in the other room, but since getting a dog who apparently loves to eat copper, I had to find an alternative. I removed the chewed ethernet cable and added two powerline adapters into my network, so it was a great opportunity to run some basic performance tests to see how positioning the adapters will affect the network speed. Here are the results.

Continue reading

VirtualBox VBoxManage convertdd VS convertfromraw

If you need to convert a computer image (for example, taken with dd) to a VirtualBox VM, you might have seen a few tutorials online that show you how to convert the disk image to the VirtualBox own VDI format. Some of this guides mention either the convertdd or the convertfromraw command to achieve this, but are there any differences between the two?

Continue reading

How To Permanently Add An SSH Key To The Keychain In macOS Sierra

On versions of macOS before Sierra, all you had to do to add an SSH key to the Keychain was to run this command:

ssh-add -K keyname

macOS Sierra implements OpenSSH version 7.3p1, which makes this command behave differently. Using ssh-add -K results in the key being added only temporarily: after a reboot, you need to run the command again.

Continue reading

Day One Moves To Subscription With Their New Premium Option

I am a huge fan of Day One, the Mac and iOS journaling app. I like it so much that I started working on a Web app for it myself some time ago, back when the folks over at Day One had not released a beta Web app yet. I think it’s a brilliant app, with a great design, a lot of updates and which proved to be very useful to me in all the months I have used it. The benefits of journaling are now well known, but this is not a psychology blog so I won’t go into any details about this.

The latest news from Day One is that the app will transition to a subscription-based model, as per the latest post on Medium by the company.

Continue reading

How To Fix FusionInvoice Errors When Displaying a PDF

I am a big fan of the FusionInvoice project. I have been using InvoicePlane for a while but moved to FusionInvoice mainly for the multi-currency support and for the continued updates. Support is also extremely reactive and helpful, which for me is super important. The expenses feature is also proving to be very useful, so I am overall very satisfied with it.

Installation is really smooth and the documentation is on point, with the exception of a little hiccup right after you go through it. After installing FusionInvoice and creating an invoice, clicking on the PDF button to export the invoice as PDF would result in the web server throwing an error.

Continue reading

Run Your Ghost Blog On A DigitalOcean Droplet Using A Custom Domain Name

Longest blog post title ever. Anyway, this is a summary of how to get started with a Ghost blog running on a DigitalOcean droplet if you want the blog to be accessible using your own domain name. I decided to write this article because, while the procedure is far from complicated, it requires several steps (you have to work with your Ghost blog configuration files, with your DigitalOcean account and with your domain name registrar) so it’s easy to get confused and miss something.

Continue reading

Don’t Fall For Search Engine Registration Scams

After registering my most recent domain, I have received way more spam&scam emails than usual. This time I received a couple of emails that made me giggle harder than the other ones, so I decided to share some of the fun with you. Hopefully it will also help some users out there who might not be too technically-savvy to avoid falling for these pathetic scams.

Continue reading

Is Your FreeNAS Pool Encrypted With AES-XTS 128?

I have recently upgraded my pool of mirrors to double my storage space and, upon rebooting the machine, I received this email from the FreeNAS server:

freenas.local kernel log messages:
> GEOM_ELI: Device ada0p1.eli destroyed.
> GEOM_ELI: Detached ada0p1.eli on last close.
> GEOM_ELI: Device ada2p1.eli created.
> GEOM_ELI: Encryption: AES-XTS 128
> GEOM_ELI: Crypto: software
> GEOM_ELI: Device ada1p1.eli destroyed.
> GEOM_ELI: Detached ada1p1.eli on last close.
> GEOM_ELI: Device ada3p1.eli created.
> GEOM_ELI: Encryption: AES-XTS 128
> GEOM_ELI: Crypto: software

-- End of security output --

The interesting thing is that I have never enabled encryption for this pool, so this looked weird.

Continue reading

GNS3 V2.0 Has Been Released

GNS3, the famous network simulator, has reached version 2.0 today, and it includes quite a few new features.

Continue reading

© 2017 Daniel's TechBlog

Theme by Anders NorénUp ↑

%d bloggers like this: