How to make configuration for MySql DB?
I have to implement some task and at instruction for this task I have to install SQL Server. But my current OS is Ubuntu. I have MySql DB + Apache (with MyPhpAdmin) installed too. I want to convert all...
View ArticleCodeIgniter adding a field to CSV
I have this code below and what it does is it generates a CSV from data from the database and it works fine. My only issue is that I want to add another field to the CSV (in the middle and not in the...
View Articlerunning python from the command line
I am using mac os x, on which I thought a version of python was ready to go. When I type “Python”, I get the message “-bash: python: command not found”. If I look in the “Library” directory, I have a...
View Article"ant all" build unable to continue. ‘Cannot run program "java".’
My system is CentOS 6.4. The package I’m trying to build is the latest version of OpenGTS. The problem I’m having is that upon executing ant all I’m getting the following output: [root@OpenGTS...
View ArticleCannot Parse HTML Data Using Android / JSOUP
I’m having an issue where I’m attempting to use JSOUP to obtain data from an webpage (in this case – google.com) and when debugging the title data is returned and shown in the logcat – however my...
View ArticleHow to configure virtualbox to launch Mac OS in a Macbook (from Linux)?
I don’t think this question is yet answered (and I’m not sure if this should belong to any other StackExchange site), so here is the scene: You have some sort of Apple hardware (let’s say it’s a...
View ArticleGood Way to Create a Cross-Platform Library for an Android and iOS app
I’m developing an app for both Android and iOS, and I’m considering writing the UI with each platform’s native tools (the alternative in this case would be to use Flex). However, I would like to at...
View ArticleSetting up video device for SDL on Linux in VirtualBox
I am using Linux Mint 15 as a guest on Virtualbox, hosted with Windows 7, 64-bit machine and OS (both Windows and Linux). I’ve installed the Guest Additions. I have also enabled 3D Acceleration. I am...
View ArticleSetting up video device for SDL on Linux in VirtualBox
I am using Linux Mint 15 as a guest on Virtualbox, hosted with Windows 7, 64-bit machine and OS (both Windows and Linux). I’ve installed the Guest Additions. I have also enabled 3D Acceleration. I am...
View ArticleOS X frequent crash. printer?
I usually don’t use OS X because I run a linux partition. Been needing to access xcode so I’ve been using it again. It just shuts off all of a sudden and reboots. It seems like it does it more often...
View ArticlePython – find and replace – copy result to clipboard in Automator
I have a python script working perfectly when executed from terminal. But when trying to go through automator i just get “Run Shell Script” error. Goal: (mind you, complete noob here, hence the ‘noob’...
View ArticleNewbie Python: Cannot Count Files in a Folder is there is a SPACE in name
I am running a script that attempts to recursively run through a folder of files and count how many of the given file types there are. It works swimmingly when there are no SPACES in the folder name....
View ArticleTitle Tag Does Not Update TextView – Java/Android
I have an android app which is supposed to pull the title tags off of google.com and replace my textview with the title tag (it should simply say: google.com) however when I click my “load webpage”...
View ArticleNo OpenGL context when using SDL2 on Mac OS X 10.8.4
On Mac OS X 10.8.4, the following program behaves as if no OpenGL context is associated with the window. #include <stdio.h> #include <stdlib.h> #include <SDL2/SDL.h> #include...
View ArticleIs there a way to load the constant values stored in a header file via ctypes?
I’m doing a bunch of ctypes calls to the underlying OS libraries. My progress slows to a crawl anytime the docs reference a constant value stored in a .h. file somewhere, as I have to go track it down,...
View ArticleiOS 7 – Status bar overlaps the view
I have a ViewController which is inside a UINavigationcontroller, but the navigationBar is hidden. When I run the app on iOS 7 the status bar shows on top of my view. Is there any way to avoid this? I...
View ArticleUsing cmake with enthought for python wrapping
I recently started trying to switch to canopy from ipython notebooks, which I switched to from MATLAB. I am working towards getting a matlab-like experience for development and research. I am doing...
View ArticlePython Monitor Directories and Subdirectories for file additions/changes
I have created this code to retrieve list paths of all the files within a certain directory and its subdirectories: our_dir='c:\\mydocs' walk=os.walk(our_dir) for path, folders, files in walk: for f in...
View Articlevdproj conversion in VS2012 crashes
I installed the InstallShield LE so I could create a new project in order to try and import/convert our vdproj into VS 2012. So I picked the file to import via the InstallShield’s Visual Studio...
View ArticleJSF rendered="false" ignored on ajax update?
I have a simple search portlet that displays composite components that are based on the runtime type of the search result. I added a property to the backing object that says what its type is so I can...
View Article