instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
Possible Duplicate: how to make a tmemo and Tedit with a transparent background? However, the previous answer about TJvMemo is not useful for this Q. More components wanted. Hi, Is there a 3rd party transparent TMemo or RichEdit VCL? Thanks! If no, any hint as to make a TRichEdit transparent? E.g. the TImage behind...
stackexchange/codereview
I have tested H2 as a server, and now i have it "embedded" in a Eclipse RCP Java App. Everything works just fine connecting to the Database engine. Embedded (local) connection jdbc:h2:[file:][] Now, can i connect to the H2 HTTP Console using the Embedded server? Virtually, all Eclipse RCP views have browser capability,...
stackexchange/codereview
I am working on a C/C++ project which involves a UI and a background service which does some heavy processing by fetching data over the network. In order that my UI doesn't become unresponsive, I would want to spawn a separate thread and then call the background service within that thread, while another thread will dis...
stackexchange/codereview
I'm just learning Objective C, so I'm probably missing something, but the below code is a leak, right? Taken from apple's docs: - (NSString*) title { return [[title retain] autorelease]; } - (void) setTitle: (NSString*) newTitle { if (title != newTitle) { [title release]; title = [newTitle reta...
stackexchange/codereview
In the app I'm working on the user taps on a tableview to zoom it up to full view from a "thumbnail" or a miniature view. Everything is working great except for a somewhat annoying animation glitch or whatever. The thing is I'm using the code below: if ([subview respondsToSelector:@selector (name)] && [subview.name...
stackexchange/codereview
I'm writing my first basic bare bones MVC patterns setup in PHP. I know global variables are bad, and I aslo know I don't want all of my classes to have access to all of my config vars. I have a settings.php file that I would like to define a bunch of constants in, like my db connection info, directory structure inf...
stackexchange/codereview
Is this possible via the API? Is there already a website that does this?
stackexchange/codereview
I am making a java program with produces a recept in a listbox, it will display the number of items, the item name and the price of the item. I need to pad the string so that the name is ruffly in the middle and the number of items and the cost are at ether side. Can you find the with in pixels of the strings then I ca...
stackexchange/codereview
When submitting an ajax request, I would like to toggle a class before send, toggle it back on error, or keep it if everything turns out ok. But the $(this) selector does not seem to be working and I'm not sure why. I'm using jQuery 1.4.3. html <a class="vote-down vote-down-112 state-3" data-postid="112" data-voteid="6...
stackexchange/codereview
I wanted to know if it was possible can do a db dump of all the tables in a database, but leaving a couple of tables specified on the command line. this is for mysql. i know there is one for adding specific tables on an sql, but i dont know if you can exclude specific tables. Thanks in advance.
stackexchange/codereview
For every row in my 'table' I am manually creating, there must be a LinkButton to delete a database row that matches a column in the table. Because no 2 controls can have the same name, I've had to use a GUID to name them so they're all unique. Problem is, right now when I click Delete, the page posts back with no cha...
stackexchange/codereview
can anyone post the link to the Microsoft development best practices and guidelines? i have searched high and low for this and cant seem to find the resource i am looking for. In particular i am lookign for the development guidelines Microsoft published to outline best practice in .net development... it contained thing...
stackexchange/codereview
I need to read more than 1 file rtf files and assigned to Richtextbox which in turn would be helpful in converting the same to pdf? thanks!
stackexchange/codereview
I've been asked to do a very simple task, write down some URLs of products so we can link them from our ezine to the website, simple right? Well yes, that's easy. But when I come to look at the link for one particular product, I see that the HTML page is messed up. Ok, so I figure I'll go in and fix it, can't be too di...
stackexchange/codereview
I'm really new to subversion and the concepts of version control, and while I can handle checking in a handful of files into a project, I need some advice on how to scale this up for my needs. Essentially we are developing an environment, which contains lots of scripts and configurations, which are distributed over man...
stackexchange/codereview
hi all need help on this. I am using below link to get direction: http://maps.google.com/maps/api/directions/xml?origin=49.75332,6.50322&destination=49.71482,6.49944&mode=walking&sensor=false wheb i hit above url in browser then i get xml response, can anyone tell me how to fetch shortest distance from that response(XM...
stackexchange/codereview
I am using the showDialog and dismissDialog methods to show progress dialogs in my app. Moved from creating the dialog and calling show() on it to using this in order to save state when changing orientation. But when I change the orientation from portrait->landscape->portrait, the dismissDialog no longer dismisses the ...
stackexchange/codereview
I've broken this down to a fairly simple example. For me, it looks different in Chrome 7.0 than it does in Firefox 3.6.12. IE 9 beta looks like Chrome. I'd like to be able to set padding on the TD, and have it render with the same height in all browsers. Currently, with the 10px top padding, the cells in Chrome look ...
stackexchange/codereview
There's been some discussion on the cap-talk mailing list around whether Lua and Javascript support the object-capability model, with the conclusion that because of support for restricting the environment to called functions through setfenv, and the possibility of unforgeable references to immutable objects, the OCM co...
stackexchange/codereview
Can someone show me an example which demonstrates the different behavior of these two variables ( $^N and $+ )?
stackexchange/codereview
So I recently made a code that handles SIGSEGV signals when it happens, such as when trying to use unitialised pointers. However, for some reason, stack overflows (as indicated by valgrind) fails to call the SIGSEGV signal handler. Is this standard behavior, or is it just a GCC quirk? Also, since I've been using backtr...
stackexchange/codereview
I have an object instance called myClass and i need to set the value of about 30 variables in the object, and I need to do it about 30 times (in 30 methods) in my class. myClass.vOne myClass.vTwo ... myClass.vThirty Is there some way I can save myself from having to type "myClass." 900 times?
stackexchange/codereview
My apache can't locate mod_wsgi on windows. I'm using apache 2.2 and the server starts correctly with the default httpd.conf. I placed mod_wsgi.so into apache's modules directory (C:\Program Files\Apache Software Foundation\Apache2.2\modules) with read/execute permission for all users. I added the following line to the...
stackexchange/codereview
I am implementing a chat server in Erlang. According to my design, each client has a corresponding agent process on the server node that handles the messages. I am writing the PIDs of the agents into database so that I can exchange messages between them. Is it safe when I kill the PIDs? For example, after my server res...
stackexchange/codereview
Possible Duplicate: Check iPhone iOS Version I tried with this code: #if (__IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_2_2) NSLog(@"iPhone 4.2"); #endif but when I run it again on simulator 4.1, I still get the log "iPhone 4.2" in console. Thanks for helping me. Tung Do
stackexchange/codereview
Good morning, I have a web app that I am internally hosting on tomcat v6. It is a mobile app that is accessible from iPhones, designed for iPhones. There is 1 behavior I cannot figure out how to fix. If you double tap the iPhone home buttom and task switch to another app and come back to mine, a refresh is always done....
stackexchange/codereview
my text box takes only numeric values,from 0 to 255 (1 byte),how can i prevent the user entering the number>255...the moment the 3rd digit is entered it should validate.right now my code validating when you come out of textbox and showing message.Any help greatly appreciated. private void cor_o_gain_Validating(object...
stackexchange/codereview
How to concatenate two arrays into a single array in Objective-C?
stackexchange/codereview
Lets say we have some discrete distribution with finite number of possible results, is it possible to generate a random number from this distribution faster than in O(logn), where n is number possible results? How to make it in O(logn): - Make an array with cumulative probability (Array[i] = Probability that random nu...
stackexchange/codereview
I have two xml files I'm looking at which define an mbean that uses org.jboss.varia.property.SystemPropertiesService. One is properties-service.xml and lives directly in the deploy directory, the other is further down within my application's ear - let's call it myapp-properties-service.xml. This mean can define two att...
stackexchange/codereview
I have a site that queries an as/400 database for certain peices of information, including one small peice of info on the logged in user. Because of this, the as/400 is queried whenever a user is logged to a fresh session. I'm getting sporadic reports of a A communication error occurred server error, especially when pe...
stackexchange/codereview
I was simply wondering how file watching algorithms are implemented. For instance, let's say I want to apply a filter (i.e., search/replace a string) to a file every time it is modified, what technique should I use? Obviously, I could run an infinite loop that would check every file in a directory for modifications, bu...
stackexchange/codereview
i have the following classes : class Address { String street; String street2; String number; /*.....other fields, getters and setters*/ } class Person { /*person specific fields*/ Address address; } class User { /* user specific fields */ Person owner; } and i need to make 2 forms one for Per...
stackexchange/codereview
How do I exclude a specific directory when searching for *.js files using find? find . -name '*.js'
stackexchange/codereview
I have tried odfWeave a bit, nice app. But at the very beginning, even I tried exactly as the example provided in the manual, I can't generate any file. I have searched a bit inside the odt file and found a statement inside the content.xml cause the problem, it is: text:bullet-char="<U+25CF>" what is the statement actu...
stackexchange/codereview
Is there any way, purely in MSSQL, to determine if the following maxtrix would calculate out as positive definite? A C D G H I A 1.00 0.68 0.24 0.62 0.90 0.00 C 0.68 1.00 0.25 0.46 0.61 0.00 D 0.24 0.25 1.00 0.60 0.08 0.00 G 0.62 0.46 0.60 1.00 0.46 0.00 H 0.90 0.61 0.08 0.46 1.00 0.00 I 0.00 0.00 0.00 0.00 0.00 1.00 ...
stackexchange/codereview
I am trying to set up a project to develop an iPad application for the company I develop for. I am relatively new to iOS development and just recently got a not too old, not too new either iMac. My problem is that it is not intel-based and therefore I can't install the latest SDK on it. Not to mention that the new Xcod...
stackexchange/codereview
I'm trying to change the name of the main nav title from "CMS" to "Content". But I'm not sure how to do this w/out touching the core files. can I override this in my module config file? or do I do this somewhere else? This is my first experience w/ magento <adminhtml> <menu> <cms> <children>...
stackexchange/codereview
I am receiving HTML newsletter as emails using Microsoft Outlook 2007. There are several images in the email which are arranged using 'width' and 'height' attributes of the 'img' tag. When I try to open the html code in any browser, the images and text are arranged properly. But on Outlook 2007, it gets messed up and ...
stackexchange/codereview
I'm in the need for a jquery selector to get all p elements that has some attribute set, no matter the value and no matter the attribute name. XPath related expression is: "//p[@*]"
stackexchange/codereview
If I commit a file rename and use extdiff to see the diff in Beyond Compare or kdiff3, they show two different files on each side. With Beyond Compare I can manually pick arbitrary files from each side to compare, but it's a huge pain if I have many renames (i.e. changing a java package name for refactoring). I underst...
stackexchange/codereview
I have 3 tables. Team, Option, OptionTeam. The Team holds a TeamId and Name Option holds OptionId, OptionGroup OptionTeam holds TeamId, OptionId, OptionGroup select a.TeamId, a.Name (select count(*) from OptionTeam ot where ot.TeamId=a.TeamId and ot.OptionGroup=4) as Option1, (select count(*) from OptionTeam ot where...
stackexchange/codereview
I have several Visual Studio Extensions (VSX) that I need to communicate with each other. (For instance activate features, share saved files, access project items from one to another.) I could utilize the registry but I have a very bad feeling about that. I was thinking of a commonly placed XML file but I'm afraid of n...
stackexchange/codereview
I am using VBScript I have got below text str = "tcm:1-245-9" Now I want to substring above string in such a way, so that I get the output as below pstr = "245" from the above string, Please let me know suggestions in VBScript only. Thanks.
stackexchange/codereview
#include<stdio.h> #include<string.h> #include<stdlib.h> int main() { FILE *fp; fp=fopen("mydata.txt","r"); if(fp==NULL) { perror("Error while opening"); exit(0); } char *s=(char*)malloc(100); while(feof(fp)!=EOF) { ...
stackexchange/codereview
I am developing on Android 2.2 using Java. I put an editText on a PopupWindow and it's not working. It acts like a disabled edit text, clicking on the edit text won't show the soft keyboard. How can I add an edit text on a popupWindow?
stackexchange/codereview
I am trying to connect with SQL Server Database using VB.Net. In Datasource of Binding Source, I selected 'Add project datasource' Clicked 'Database and New Connection in Choose Connection Wizard. In New Connection, what to select 'SQL Server' or SQL server Database? I tried both but when Tested Connection, it faile...
stackexchange/codereview
I'm having problems with netbeans and subversion. It has worked perfectly in the past, but recently it stopped committing the files. I keep getting this error message: Cannot determine repositoryRootUrl for selected context: {path} When i select Show changes from the project view it gives me this message: Commit failed...
stackexchange/codereview
I have organic groups setup and within those group users are allowed to post certain content. What I woulkd like to do is, when you create a node inside an organic group, it automatically defaults back to frontpage of the group, or the same page that I used to create the node. At present it defaults to the node view ...
stackexchange/codereview
Does C# support compiling filters? How do filters even work or what do they do? Like reflector decompiles a filter as try { } catch(Exception e) when (?) { }
stackexchange/codereview
I do this a lot in javascript some_var || some_var = function(){ return "blah"}(); I'm wondering what the equivalent in ruby might be so I can do some_var ||= # sequence of operations edit the Proc.new.call has been brought to my attention, but I also just came across this in someone's code: a ||= begin # do some s...
stackexchange/codereview
i am developing a rss reader for iPhone, and i have a list of NSDictionary with the name of the site and the url. When i click the DetailDisclosureButton it takes me to another screen with the feeds of the site(I haven't implemented the xlm parser, so its just brings me the screen). Here's the problem after i go back a...
stackexchange/codereview
I have a data that looks like this -- read50_1: read1391364_2,read3529226_1, -- read46_2: read916_1,read178252_2,read1336397_1,read1824459_2, read916_1: read0_1 -- read34_1: read209771_2, -- read32_2: read520377_2, What I want to do is to access the entry excluding the record separator "--". But why this code doesn't ...
stackexchange/codereview
I am using wcstombs_s in my code to convert CString to char*. here is code: AddItemToListIncludeSubFolder(CString FolderPath, CString Parent) { char szInputPath[1024]; memset(szInputPath,1024,'\0'); size_t CharactersConverted=0; wcstombs_s(&CharactersConverted, szInputPath, FolderPath.GetLength()...
stackexchange/codereview
I'm trying to determine browser version using XSL only. I'm able to determine browser type with: <xsl:if test="system-property('xsl:vendor') = 'Microsoft'"> This test will give me the MSXSL version, but both IE8 and IE9 seem to use version 3. <xsl:value-of xmlns:msxsl="urn:schemas-microsoft-com:xslt" select="system-pr...
stackexchange/codereview
An existing application has a ton of JAR files in its classpath. Someone must have added all JARs initially just to be sure. Some of the JARs were obviously not being used and we've already removed some of these unneeded JARs without causing any problems. How does one determine which JARs are being used and which ones ...
stackexchange/codereview
I have 2 arrays in PHP that look something like this: $rows = array(11,12,14,14,11,13,12,11); $cols = array(1,2,1,2,2,2,1,1); I need to combine these arrays in a way that tells how many of each $cols value is in each $rows value. So my result should look something like this: Array ( [0] => Array ( ...
stackexchange/codereview
How to configure EmailTraceListener to avoid over-flooded mailbox (on mass problem)? Is it possible to setup a maximum for messages sent (per hour/per day) using logging applicaiton block configuration? P.S. I have done it already with some conditions before calling WriteLog, but would like to move all this stuff to th...
stackexchange/codereview
If I enter the osgi.configuration.area.readOnly=true in the config.ini I get a NoClassDefFoundError from one of our imported libs when I start my Eclipse RCP. Based on this question I understand it is due to our nested jars that need the configuration area to unpack in. But isn't there a way to make sure this takes pla...
stackexchange/codereview
So it seems that giving Nexus a version of "LATEST" will tell it to redirect to latest version of the specified build product. Where in the docs is this actually documented?
stackexchange/codereview
Can someone please let me know the difference between normal plist and binary plist and how they are different processing wise? Is there anything extra I need to do to process a binary plist?
stackexchange/codereview
I am using Visual Studio 2010. I have multiple C# projects in my solution. One of the projects is an Excel Add-In. I want to be able to write unit tests on some of the code that I have in the Excel Add-In project. To do this, I have created another project in the solution. I want this test project to be able to re...
stackexchange/codereview
I have a winforms checkbox that is bound to a property of an Entity Framework entity. So for example, I have bindingSource.DataSource = myDog with a checkbox bound to the property IsSleeping, so that when the user checks the box, IsSleeping becomes true, and when the user unchecks the box, IsSleeping becomes false. Thi...
stackexchange/codereview
I'm trying to create the following CSS rules for my HTML form layouts: Each label and corresponding input element take up 50% of width respectively: |label | input | I want to be able to justify labels to right or left. (Inputs will always justify left.) Something I've noticed- Label widths don't seem to b...
stackexchange/codereview
We have an application which occasionally has to communicate with an external service using a browser control. Navigating to a specific address fires up a Java applet which then communicates with our application via a socket which we open and listen on. I have no control over the website or the java applet. The problem...
stackexchange/codereview
main() { int a=3+2%5; printf("%d",a); } The program returns value 5, but how & why?
stackexchange/codereview
I want to itterate over an indexed property that I only have access to via reflection, but ( and I say this in the full knowledge that there's probably an embarrassingly simple answer, MSDN/Google fail =/ ) I cannot find/think of a way besides incrementing a counter over the PropertyInfo.GetValue(prop, counter) until ...
stackexchange/codereview
Is there a Silverlight compatible Telnet or SSH library.
stackexchange/codereview
I am reading contents of the excel sheet using the following code. for (Row row : sheet) { Cell firstCell = row.getCell(0); Cell secondCell = row.getCell(1); Cell thirdCell = row.getCell(2); Cell fourthCell = row.getCell(3); Cell f...
stackexchange/codereview
I created a control by code in the OnInitDialog, but i cannot find any way to change the tab order of the dialog by code. Anyone have any idea on how to do this?
stackexchange/codereview
Due to error in client code, mongodb have created many "mr.mapreduce...." collections, how to remove them all (by mask maybe).
stackexchange/codereview
Assuming regex is the best way to do this , I would like to select the first word of : <div class="name">Bob Marley</div> and use it to replace the second word in in this div tag: <div class="message">Hey friend, how are you?</div> So that the end result equals : <div class="message">Hey Bob, how are you?</div> Upda...
stackexchange/codereview
Have anybody write some apps with using dropbox api? I want to write application, that will be able to read/write files into Dropbox Share folder... I've found this thread: forums.dropbox.com/topic.php?id=25486 and this project: http://bitbucket.org/dropboxapi/dropbox-client-java/overview but I can't find any docs or t...
stackexchange/codereview
I tried using Zend_Registry but it doesn't output anything then I tried this in my default module bootstrap public function _initNavigation() { $this->bootstrap('layout'); $layout = $this->getResource('layout'); $view = $layout->getView(); But it says 'Resource matching "layout" not found'. Since I...
stackexchange/codereview
I am looking for an example of how to use the libmms and ffmpeg to stream a mms audio ? Now i have imported both libraries on my xcode project, and i think the 1st thing to do is call mms_connect(), but i dont know what arguments to use. Many thanks in advance.
stackexchange/codereview
I need to perform a query like this: Assume the columns of a table like - <key>,<name>,<value> and I need to find the value for a name = 'NAME' under the following conditions. The key should be in keys_i where name_i = 'NAME_i' and value = 'VALUE_i'. The key should be in keys_j where name_j = 'NAME_j' and value = 'VAL...
stackexchange/codereview
I am bit confused about the Full Text search in SQL Server 2005/2008. What I understand with this is that if use has entered a complete line [let say someone searched for - "BMW Europe edition 2010"]. Than full text search will search & break this query and search it on the columns we specified [Let say we defined the ...
stackexchange/codereview
I authenticate a user with Zend_Auth (LDAP Adapter). now I have tryed doing a logout script: public function logoutAction() { $db = Zend_Registry::Get('DbSrv1'); Zend_Auth::getInstance()->clearIdentity(); $this->view->title = "Logout"; return true; } When I logout in Firefox, it works. If i do the sa...
stackexchange/codereview
I read the following article yesterday (http://blogs.sitepoint.com/2010/11/19/mysql-mistakes-php-developers/) and it wrote the following: MySQL has a number of database engines but you’re most likely to encounter MyISAM and InnoDB. MyISAM is used by default. However, unless you’re creating a very simple or experimenta...
stackexchange/codereview
I have a form with dynamically added fields (varying sizes). I would like to put a number of form fields in a fieldset, and have the fieldset border just large enough to contain all the fields. Here is an (ugly) example that shows the issue: var win = new Ext.Window({ xtype: 'form', layout: 'form', height: ...
stackexchange/codereview
I want to execute an AppointmentRequest through a SOAP message to Dynamics CRM 4.0 The following SOAP message I am posting: <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:m0="http://schemas.microsoft.com/crm/2007/CoreTypes" xmlns:m="http://schemas.microsoft.com/crm/2007/WebServices" xmlns:xsd="http://www.w...
stackexchange/codereview
I am looking for a good pattern to implement the following: class Outer; class Inner { Outer * m_outer; public: InitOuter(Outer * o) { m_outer = o; } } class Outer { Inner m_inner; public: Outer() { m_inner.InitOuter(outer); } } Inner should always be created with a referenc...
stackexchange/codereview
I'm trying to find each missing number in an array like the following. Array ( [0] => 1 [1] => 2 [2] => 3 [3] => 4 [4] => 5 [5] => 6 [6] => 7 [7] => 8 [8] => 9 [9] => 10 [10] => 11 [11] => 12 [12] => 13 [13] => 14 [14] => 15 [15] => 16 [16] => 17 [17] => 18 [18] => 19 [19] => 20 [20] => 21 [21] => 22 [22] =...
stackexchange/codereview
How to convert class file to dex file in android? Is there any way?
stackexchange/codereview
I can't seem to get zlib to do anything on mingw under windows. I downloaded zlib @ http://sourceforge.net/projects/mingw/files_beta/MinGW/zlib/zlib-1.2.3-1-mingw32/ and put the header and lib files in the right place. Simple code like: #include <stdlib.h> #include <stdio.h> #include "zlib.h" int main(int argc, char...
stackexchange/codereview
Cross-posted from perlmonks: I have to clean up some gross, ancient code at $work, and before I try to make a new module I'd love to use an existing one if anyone knows of something appropriate. At runtime I am parsing a file to determine what processing I need to do on a set of data. If I were to write a module I wo...
stackexchange/codereview
I have a table Item that consists of 3 columns: ItemId int PK RoomId int FK UnitId int FK Cost money I want to have a DataGrid/ListView having dynamically-generated columns and rows representing the following pivot: Room1 Room2 Room3 Room4 Unit1 $34 $72 $48 $98 Unit2 $64 $56 $67 $24 Unit3 $24 ...
stackexchange/codereview
Given a list/tree of the form : (node1 (node2) (node3 (node4) (node5)) (node6)) I should be able to find out the depth at which a searched node resides. This is what I've done so far: (defun search-it (lst level n) (cond ((null lst) nil) ((and (atom (car lst)) (equal (car lst) n)) level) ((atom (ca...
stackexchange/codereview
Is there any way to see what data our database (SQL server Compact 3.5) in Visual Studio 2008? I am unable to see it in SSME Thanks Furqan
stackexchange/codereview
I'm using a SqlParameter to pass in null values to a table for various columns that are nullable. The problem is that SqlParameter looks like it defaults to nvarchar if no sqlDbType is present. This presents a problem if the actual db type is varbinary; I get an exception saying Implicit conversion from data type nva...
stackexchange/codereview
I am going to work in SaaS Application. I want to know what are the advantages and why we are going to SaaS..Whether SaaS is an architecture like 3-Tier, MVC etc., or else it's a package.
stackexchange/codereview
Am getting Run-time error 13. Type Mismatch. But i cant figure out why. Any help? Sub Separate_with_OR_without_comission() Dim I As Integer Dim WRng As Range Dim NoRng As Range Dim NameRgn As Range Dim TotalCRng As Range Set WRng = Range("with_comission") Set NoRng = Range("without_comission") Set NameRgn = Range("to...
stackexchange/codereview
I'm trying to figure out a formula on how to calculate the size of a distant object at a viewing pane closer to me. I'm sure I had this in high school, but I couldn't find any resources on what the correct calculation is. I found the following page explaining the correct way to DRAW such a thing, but I don't see a fomu...
stackexchange/codereview
What is linear address? How is it different from physical address?
stackexchange/codereview
I am developing a native application related to streaming, i am facing some problems in my c module... and what i have is some message from Logcat Here is the Logcat message INFO/DEBUG(28): Build fingerprint: 'generic/sdk/generic/:2.1-update1/ECLAIR/35983:eng/test-keys' 11-17 12:40:07.550: INFO/DEBUG(28): pid: 5957, t...
stackexchange/codereview
I have a number of shell scripts - written in PHP - within a project. None of these files have a file extension and cannot have one added due to constraints caused by legacy code. Currently within Netbeans there doesn't appear to be a way to make these scripts be identified as PHP and thereforce use the syntax highligh...
stackexchange/codereview
Greetings all i have a j2ee app using spring framework and while debugging on the online server (centos os) when trying to get the date in the app by printing the value of new Date(); object it retrieves the time in GMT-6 although when getting the server time through the terminal command date it's retrieved in GMT time...
stackexchange/codereview
I'm not an OAuth expert, and I saw the first release as extremely complex for handling the "flow dance" inside server side code (or, at least for me, quite impossibile). Does OAuth 2.0 introduce new ways to accomplish an authentication that is suitable for APIs? Thanks
stackexchange/codereview
There is a website in my corporate intranet, and I have to update info on it using IE6.0 frequently. the URL ends with .asp I guess it is windows_domain-specialized, because when I open the URL in firefox, a dialog asks for username/password jumps out, which never appear when using IE6. If I keyin username/passwd for l...
stackexchange/codereview
Greetings, I want to capitalize each word in a script, for this I have came up with a such method: //Word Capitalization function wordToUpper(val) { newVal = ''; val = val.toLowerCase().split(' '); for(var c=0; c < val.length; c++) { newVal += val[c].substring(0,1).toUpperCase() ...
stackexchange/codereview