How to use iCloud in your iOS App
In this series I’ll show you how to use iCloud in your iOS apps. We’ll discuss how to setup Xcode and your app, including App ID and Provisioning Profiles and I’ll demonstrate how to use all three flavours of iCloud: Key Value Storage, Document Storage and iCloud with Core Data. The rest of this series is for members of my iOS Dev Diary only – you can watch it here: http://pinkstone.co.uk/how-t-use-icloud-in-your-ios-apps/ Enjoy!
read moreHow to enable Touchpad Taps as Mouse Clicks on your NC10 in CentOS
The NC10′s integrated Synaptics Touch Pad works out of the box in CentOS 6, both under GNOME and KDE. No drivers or patches requried. But I remember that when it was running Windows XP I could “tap” the pad instead of clicking the dedicated key (that loud CLACK noise annoys the neighbours). How can we bring this behaviour to CentOS? A quick serach reveals this post by Russel in the CentOS forum: https://www.centos.org/forums/viewtopic.php?t=4560 his suggests that a configuration file needs to be created somewhere. However I...
read moreHow to add a CentOS user to the sudoers list
When you try to prefix a command with sudo on a fresh CentOS system you may be greeted with a message such as “you are not part of the sudoers list” and that the incident will be reported. Not the the FBI, but to a log file. And of course your sudo operation isn’t going to work. That’s because individual users to the system need to be granted permission to executer root level commands, even if it’s only temporary. Here’s how to do it. In essence, you need to add your user to a file called sudoers which...
read moreHow to install Dropbox on CentOS 6.5 (from source)
Being the sport that I am I thought I’d install Dropbox from source on my NC10. Even though an rpm installer package is available, I do enjoy a challenge. My laptop is cunnrently running CentOS 6.5 (32bit) and has GNOME installed. Turns out I needed a couple of packages – and before I forget, here’s how I did it. We’ll do all this from the command line (you have to be root for this): Pick the latest .tar file from here https://linux.dropbox.com/packages/, then download it with wget...
read moreHow to install GNOME on your Samsung NC10 (CentOS 6.5)
With the WiFi card on my NC10 enabled, I struggled to connect to my actual WiFi network from the command line (WPA2). After an entire day of research, trial and error I had to admit to myself that setting this up on a minimal CentOS 6 installation is simply beyond me. Likewise, monitoring the levels of my new battery had me greatly puzzled. But those two points aside, I also wanted to install a Desktop type environment on my NC10 so it would be more useful – now that it has a new battery and all. As it turns out installing GNOME –...
read moreHow to enable WiFi on your Samsung NC10 under Centos 6.x
When I installed CentOS on my NC10 last year I did so knowing that its battery was bust. Since it wasn’t going to live without a power supply, I didn’t setup WiFi at the time – the NC10 being tied to one cable, I simply added another (the network cable) and that was that. Worked fine and without problems. Today a new battery for my NC10 arrived, breathing new (wireless) life into the little guy – and needless to say now I wanted to setup WiFi. Sadly I don’t know enough about network adaptors under CentOS, so I...
read moreHow to dismiss the keyboard from a UITextField in iOS
In this screencast I’ll show you how to dismiss the iOS Keyboard, which is commonly brought up by a UITextField – but doesn’t want to leave easy once summoned. It’s easy to overlook a step in this procedure, so I thought a screencast is in order. We’re discussing two dismissal options here: when the DONE button is pressed and when users tap outside the textfield The latter option isn’t built into iOS, but users have come to rely on this behaviour. I’m using Xcode 5.1.1 and iOS 7.1 in this demo. Happy...
read moreHow to load a .PRG file in VICE
Usually you’d attach a disk image to the VICE emulator and load one of several files from your virtual disk. Occasionally though you’ll come across single files ending in .PRG – those are the files that are contained on a disk image. Remember those weird three letter abbreviations on the right hand side when you list your floppy directory? Those are the extensions of single files (there’s PRG, SEQ, USR and REL), and the actual file name appears on the left. VICE can attach disk images, but it can also display lose...
read moreHow to use the Commodore C128 in 2MHz FAST mode
The C128 could run twice as fast as its predecessor, the legendary C64. All you had to do was issue the FAST command, or switch back with the SLOW command to its default speed (1MHz). One drawback of using FAST mode was that the VIC which powered the 40 column (standard) display wasn’t capable of such a high frequency and therefore would go blank when use go FAST. You had to work on the 80 column display to reap the benefits of a faster computer. Here’s how to first switch into 80 column mode, then go fast: GRAPHIC 5 FAST and to...
read moreHow to switch graphic modes on the Commodore C128
The C128 had various chips to display different kinds of graphics that man just stuck to the standard 40 column text display for “ease of use” and let their software handle the rest. To appreciate why these modes existed one had to understand what was happening behind the scenes. Here are the various modes and how to enter them, followed by a brief explanation of why they came to be: GRAPHIC 0 // switch to 40 column display GRAPHIC 1 // switch to VIC graphics mode (standard, full screen) GRAPHIC 2 // switch to VIC graphics mode...
read more