LibGDX - Detect presence of virtual keyboard on iOS
Vote count: 0 I have been experimenting with TextField's in LibGDX and I have an issue where some input boxes will get covered by the virtual keyboard. I have tried several different solutions and I have settled on a slightly modified version of this answer for Android. This is a superb solution, it...
determine least common ancestor at compile-time
Vote count: 0 There are tons of questions about the least common ancestor algorithm, but this one is different because I'm trying to determine the LCA at compile-time, and my tree is neither binary nor a search tree, even though my simplified version may look like one. Suppose you have a bunch of st...
What's the best way to logout with ColdFusion?
Vote count: 0 cflogout does not seem to clear the CFID and CFTOKEN values. Is cflogout only used with cflogin? In this instance, I am not using cflogin. I am setting session variables because of the issues with cflogin. It worked before CF11 Update 7, however, CF11U7 seemed to resolve the cflogin do...
Using regex on a specific setup
Vote count: 0 I know a bit about regular expressions, but far from enough to figure out this one. I have tried to see if I could find something that could help me, but I got a hard time understanding how to construct the REGEX expression in c#. Here is what I need.If I have a string like the followi...
How to get current language in Play Framework 2.2 (Java)?
Vote count: 0 I try to print the current language in my .scala.html view @Lang.code() and the result is Compilation error value code is not a member of object play.i18n.Lang Why is that? API doc 2.2 for play.i18n.Lang says public java.lang.String code() The Lang code (such as fr or en-US). How can I...
Typo3 7.4: modify new tt_content.layout
Vote count: 0 I created a new tt_content.layout: TCEFORM.tt_content.layout.addItems.10 = Layout10 now how do I change how this layout looks like? I want the image of a textpic element to be shown first, is there a way to achieve this? How? Any hints would be appreciated. Thank you. asked 2 mins agoC...
python treeview column "stretch=False" not working
Vote count: 0 I want to disable column resize, but "stretch = False" is not working, I don't know why, my python version 3.4.3 . from tkinter import * from tkinter import ttk def main(): gMaster = Tk() w = ttk.Treeview(gMaster, show="headings", columns=('Column1', 'Column2')) w.heading('#1', text='C...
PHP login verification safe?
Vote count: 0 He peeps! The inte et is full of tutorials and premade script where people are claiming that its safe. And always a lot of comments on why it would be unsafe. I made the following script and was wondering if its safe enough for a normal website. I havent done anything agianst brute for...
C# List Of Orders Made
Vote count: 0 I'm quite new to C# and still lea ing, my apologies if this is a simple question. When a user orders an item(s), the items are assigned an OrderId which is then related to an Order using this OrderId. Now however I need to link both of these and display them so only the user ordering t...
Taking a screenshot and sending the bytes over the network
Vote count: 0 I am trying to take a screenshot of the whole screen and would like to send it over the network to a server. (the server will be the one to save it) I am currently using this code HBITMAP hBitmap = CreateCompatibleBitmap(hScreen, w, h); CImage image; image.Attach(hBitmap); image.Save(L...
repeatable joomla field value
Vote count: 0 I have a problem with the repeatable field of Joomla: Into the repeatable field I've put 5 fields. The problem is that when I put the value in the fifth field the module save on it the value of the fourth field. Any suggestion of how to solve this problem? This is the image of the fiel...
Perspective change CoreImage
Vote count: 0 I have big problem with perspective transformation. I'm trying to transform image using negative CIVector values. I want to get the effect like this: But i get effect like this: Have anyone idea, how to get this effect? asked 34 secs agoPrzemek Let's block ads! (Why?)