We want to have remember_me enabled when the user signs up. When logging in its really easy to do this, how do to we do this on signup though, as we're literally only creating a User object?
Two "I'm sorries" to begin with:
1) I've looked for a solution (here, and elsewhere), and couldn't find the answer.
2) English is not my mother tongue, so I may have some typos and the sort - please ignore them.
To the point:
I am trying to persist Java objects to the GAE datastore.
I am not sure as to how to persist object having ("non-trivial")…
We're going global. I've been tasked with refactoring our existing products to support localization. Last week I shunned using resource files (.resx) in favor of a home-baked database look-up method. After hitting a serious snag with that, I'm back to the microsoft way of using resx.
All the documentation I've seen so far details how to create…
Hi
im trying to use Remote Service btween two simple application, But
its not easy to me.
So any advice you have will help me.
here`s my case.
I made one app which is playing Music in service,
There are two components.
one is Activity controlling service by using three buttons,
play,pause, stop.
and it is working fine.
and another one…
I know this is a probable open ended question, and I have tried looking around so much over the last year or two... maybe I am looking for a perfect place that doesn't exist! of course it's all about perception no less..
Anyway, just to clarify what I am trying to do and why:
I want to be able to use (primarily for the moment) ASP.NET or…
I've been learning how to parse json data returned from the facebook-api. I've figured out how to fetch fan pages from a specific profile id and want to parse them using a loop!
Heres the code and example I have below:
This is the data I get back from the facebook-api
Array ( [0] => Array (
[page_id] => XXXXXX60828 ) [1] =>…
I was looking at Don Clugston's FastDelegate mini-library and noticed a weird syntactical trick with the following structure:
TemplateClass< void( int, int ) > Object;
It almost appears as if a function signature is being used as an argument to a template instance declaration.
This technique (whose presence in FastDelegate is…
I'd like to be able to upload photos via email, which I've seen (and used) on eat.ly and meetups.jquery.com but I haven't been able to work out how to do this, does anyone have a solution?
Essentially I believe the process should be something like this:
1) user adds picture to email on mobile device then send to a specific email…
I have a web app where I have several elements with class="classA". I want to select and apply a function to all of them. I am doing the obvious thing, which is $(".classA").each(function () { ... }). This works just fine in Chrome/Safari/Firefox but is really slow in IE. It turns out IE has serious performance issues when…
I'm fixing some PHP scripts and I'm missing ruby's pretty printer. i.e.
require 'pp'
arr = {:one => 1}
pp arr
will output {:one = 1}. This even works with fairly complex objects and makes digging into an unknown script much easier. Is there some way to duplicate this functionality in PHP?
I wish to use NSNumberFormatter to merely attached a percent ('%') to the supplied number WITHOUT having it multiplied by 100.
The canned kCFNumberFormatterPercentStyle automatically x100 which I don't want.
For example, converting 5.0 to 5.0% versus 500%.
Using the following:
NSNumberFormatter *percentFormatter =…
Hello,
I have an NSString that then sets a UILabel. This contains unicode such as...
E = MC Hammer\U00ac\U2264
and complete ones such as
\U2013\U00ee\U2013\U00e6\U2013\U2202\U2013\U220f\U2013\U03c0 \U2013\U00ee\U2013\U220f\U2013\U03c0\U2013\U00aa\U2013\U221e\U2014\U00c5
These are not displaying…
I am having trouble finding information related to which i should choose, OpenGL ES 1.1 or 2.0 for 2D graphics.
OpenGL ES 1.1 on Android is a bit limited to my knowledge, and based purely on sprite count the only useful renderer is draw_texture() (as far as i know). However, that does not have rotation and…
Hi all,
I'm new to .Net and IIS. I've created a simple RESTful Web Service in VS2008 and .net 3.5 framework using WCF. I've tested it well with F5 debugging in VS(seems it is auto deployed on Windows Service). Now I want to deploy it on my IIS server so that I can use it remotely.
But I cannot find any…
I'm explicitly setting the CurrentThread.CurrentUICulture to french right before the Component Resource Manager is being called for my user-control, but the default values are being pulled for the controls, not the french values.
Any ideas?
Hi all,
Suppose that the user has saved the License file under the Application.StartupPath, where all users can read.
And then, every time when the app starts, it will check if it can find and verify the license file.
If the app can find and verify, we let the user to continue with full…
I have a chart that I'm drawing using flot. I want to change the colors of the data plots when someone hovers over text. Currently, I am doing this by redrawing the entire chart each time I need to highlight something. This is pretty slow (about 30 milliseconds for a simple chart, as much…
I googled and searched a lot, but I got no luck.
I have a WindowsFormsApplication.exe and ConsoleApplication.exe. I want both of them to access to the same IsolatedStorage, is it possible?
I tried using this in ConsoleApplication.exe:
IsolatedStorageFile isoStore =…
Hi,
I use in my code :
preg_match( '!http://[^?#]+\.(?:jpe?g|png|gif)!Ui' , $str[1], $results );
It work in most cases except:
src='http://www.domain.com/Pic/folder1/folder2/a.jpg_x.jpg' alt=
I get:
......older2/a.jpg
I need:
.....older2/a.jpg_x.jpg
any…
I have some NSString varibales that incude items like
Ð and Õ and if I do
cell.textLabel.text = person.name;
and if it contains one of those characters the cell.textlabel is blank!
I have discovered that if I use
NSString *col1 = [NSString…
In the spirit of using existing, tested and stable libraries of code, I started using the Apache-Commons-Math library and its BigFraction class to perform some rational calculations for an Android app I'm writing called RationalCalc.
It works…
Hi,
I have successfully setup Subversion repositories using SVNParentPath. But I would like to control the view of repositories list based on user access permission. Example User A only can access repository A and repository B. So when he…
I'm trying to reading part of HTML source code from website that has been encapsulated by javascript;basically i'm trying to read email which appears in webview but not in real source code using NSString method of 'NSString…