WordPress – slider and featured posts with given category name

Question

My WordPress 4.1 web site supports featured content and header slider. I’ve added a child theme. Posts, I want to show, have the ‘featured’ content tag and image, and are organized into multi-leveled categories. In the slider I want to present only those posts and pages (!) that have the given top level category slug. All other posts on its children categories should be excluded. How to configure the slider to use only the posts and pages with the given category and nothing more?

Continue reading WordPress – slider and featured posts with given category name

Configure NetBeans to test and deploy Raspberry Pi project

The Raspberry Pi (RPi) is a great strong device to play with. It is definiately not the perfect gadget to run resource hungry IDE, and develop c, c++, web… or Java applications on. Use your own laptop or desktop computer to build your code, test it and debug it while the code is running on the device. NetBeans for Mac (and Windows) is a reliable IDE with remote testing and deployment options.

Continue reading Configure NetBeans to test and deploy Raspberry Pi project

Assign static ip address to Raspberry Pi

We usually want to develop and deploy applications and work with the Raspberry Pi (RPi) from a laptop or desktop computer. Use an external keyboard and an extra monitor only when there is no network access to the device. Your computer and RPi is likely connected to the same office or home network by using LAN connections or a WiFi router. The best way is to assign an ip address to the RPi to make sure it’ll always have an ip address that we know to be able to use SSH, remote desktop and application deployment tools. We have two popular options.

Continue reading Assign static ip address to Raspberry Pi

Develop Raspberry Pi application on Mac (OS X)

Question

As a newbie I am planning to play with a Raspberry Pi 2 (RPi). I am a seasoned c++, c#, objective-c and java programmer. Can I manage projects from my MacBook Pro? Can I control RPi remotely from the Mac without using extra monitor and keyboard? What programming languages and SDK do you recommend? Can I use Xcode, Eclipse or NetBeans? How to debug and deploy a Raspberry Pi application?

Continue reading Develop Raspberry Pi application on Mac (OS X)

Eclipse Luna can not find USB devices on OS X Yosemite

Question

I am developing Android applications on my iMac with Eclipse. OS X version: Yosemite 10.10.2. Eclipse Luna often cannot find attached USB devices. Device recognition is rather hectic. Emulators sometimes disappear from the the Android Device Chooser, or can’t be seen any at all. Device settings are checked out. Developer menu is available, USB debug is enabled, KIES finds Samsung phone, HTC utilities are OK etc. Eclipse is updated to the latest version. ADB is running properly. I even added vendor IDs to the ~/.android/adb_usb.ini file. What can we do?

Continue reading Eclipse Luna can not find USB devices on OS X Yosemite

How to create fat static library for iOS 7, 8 projects

Question

With Xcode I’ve to build static libraries for third party iOS projects with Architectures set to $(ARCHS_STANDARD). Both iOS 7 and iOS 8 applications should run on iPhone 5, 6 and 6plus, and iPads. The .a files must include all the required binaries. How to compile such a library project and how to create the proper .a file for distribution? I am running Xcode 6.1 on OS X Yosemite (10.10).

Continue reading How to create fat static library for iOS 7, 8 projects

Blog for us