Change Photo
Evans Rohan

Questions by Evans Rohan

MySQL Database Schema for role based system?

We are developing a platform for NGOs (N) to get their work done via Individual Volunteers (V) or Volunteers via a C...

OpenGL Mouse Tracking (Freeform Line)?

At the moment I am trying to make a program that tracks the mouse coordinates so that it draws a freeform line as yo...

Image and text in one row aligned and responsive?

I am trying to accomplish IMG + text in one row, like in this example I would like the image to be responsive som...

How to disable an Android button??

I have created a layout that contains two buttons, Next and Previous. In between the buttons I'm generating some dyn...

Correct way to do a MVC UML Diagram?

tried researching this before asking but there is that many versions id like to get a definitive way to do an ASP.NE...

How can I get the thumbnail of a QuickLook Preview Item??

I'm previewing various documents using QLPreviewController. The controller has a "list view" option where it display...

RedirectToAction with parameter?

I have an action I call from an anchor thusly, Site/Controller/Action/ID where ID is an int. Later on I need to red...

How to get current user's username with Meteor?

So far I've been looking all over the interwebs and the Meteor docs but nothing has been working for me. I am creat...

How to edit a JavaScript alert box title??

I'm generating a JavaScript alert with following code in C# .NET page: Response.Write("<script language=JavaScri...

Creating a draw rectangle (filled with black color) function in Java for a grid?

I have created a grid in my program. Below is the code used to create the grid. import java.awt.Graphics; import j...

sobel filter algorithm (C++) (no libraries)?

I am trying to apply the sobel filter algorithm to a given picture (grayscale in this case) given my approach to acc...

How to use a ViewBag to create a dropdownlist??

Controller: public ActionResult Filter() { ViewBag.Accounts = BusinessLayer.AccountManager.Instance.getUserAcco...

Reset local repository branch to be just like remote repository HEAD?

How do I reset my local branch to be just like the branch on the remote repository? I did: git reset --hard HEAD ...

How to convert CString and ::std::string ::std::wstring to each other??

CString is quite handy, while std::string is more compatible with STL container. I am using hash_map. However, hash_...