instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
Hi i have found a problem with my DataSource of my UITableView. Each time i try to fill the NSMutableArrayData in the method "addDataSection", the whole data-Array is set to the current Names-Array. It all seems to work, until i write the Names into the Array and invoke [Names removeAllObjects]. Even in the method "add...
stackexchange/codereview
CODE_DESC: "This web-accessible script will list security recommendations after scanning available PHP configuration variables and functions for common exploit vectors." SOURCE_CODE: http://php-security-audit.com/scripts/view/php_security.php Will this PHP harm/modifiy/etc my system if run?
stackexchange/codereview
I have some COM objects in my C# project. When I publish the project and run the program on another machine, I get this error Class not registered I think the COM objects automatically register on my machine as part of the build process. How can I register my COM objects on another machine?
stackexchange/codereview
On a WindowsCE platform (custom build) our C# gui uses regular forms to show an "popup menu". We set the FormBorderstyle to None as we don't want the form controls to be visible. Some clients reported "Gray boxes" after a while. After some testing here we could reproduce the problem quite fast. When we open 2 different...
stackexchange/codereview
i have two tables... i want to get data from second table using primary key of first table...that primary key was act as foreign key in second table...how can retrieve from that table in hibernate...
stackexchange/codereview
I'm sure, this question has been answered somewhere before but I just couldn't find it. If within a function a variable has been defined, what is the best practice to save it for later use? 1. Saving it "globally"? foo = 'bar';...function bar(){ ... foo = 'bat'; return foo; }... Here, the va...
stackexchange/codereview
I am working on an iPhone app which requires me to check if the button has been tapped & held pressed for 6 seconds & then fire an action which is playing some sort of sound. How should I detect this 6 second tap? On the other hand the user can also keep on tapping button for 6 seconds & then the same action should fi...
stackexchange/codereview
I am building a Windows (Service) application that, in short, consists of a "bootstrapper" and an "engine" (an object loaded by the bootstrapper, which transfers control to it, and then performs the actual tasks of the application). The bootstrapper is a very basic startup routine that has few features that are likely ...
stackexchange/codereview
Possible Duplicate: UITabBar+UITableviewController in navigation based applications I am right now working on a navigation based iPhone application. After completing half of the code, now I need to add tab bar controller in some of the pages. I would like to mention that my first/home page contains 6 buttons, pressi...
stackexchange/codereview
Please tell me where can I download GoogleAdView.jar. It is not included in the SDK. Regards.
stackexchange/codereview
Anyone know how to make a custom contact page for each member. Problem comes from creating the url, something like /profile/admin/contact . Maybe you guys know a plugin. Thanks
stackexchange/codereview
I am using Dompdf to generate A5 pdf documents from a html template and Pdfnup (Part of Pdfjam) to combine them into a nice single A4 sheet, which helps saving some paper when printing :) # Generate an a5 pdf php dompdf.php mytemplate.html -p 'A5' -f a5doc.pdf # combine two copies of the generated A5 into a single A4...
stackexchange/codereview
how can i create a moving image object for an android game application.and also how can i add animation to the resources plz tell me what is the correct or better way to do that thanks in advance -Kariyachan
stackexchange/codereview
I am using Tomcat server with Eclipse and I am today running my first servlet. But I got the following Exception : HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Error...
stackexchange/codereview
I am currently deploying a number of bundles into equnox using pax-runner. The bundles are in a folder, the path to this is passed to runner in an args file. The problem I have is that the same deployment of bundles are started in a different order in windows than in linux. In windows everything is fine, however in ...
stackexchange/codereview
I have a text box for entering hex values for specifying color. I have a Validator that validates that the string is a valid hex color value. And a converter that converts a string like "FF0000" to "#FFFF0000" .NET color object. I want to only convert values when the data is valid as if data is invalid, I will get an e...
stackexchange/codereview
like the subject says, I want to programmatically enumerate the assemblies to which an assembly of which I have the DLL refers in order to resolve the dependencies. Thank you in advance.
stackexchange/codereview
how can i check a div in a hidden div ... if visible or not? HTML <div style="display:none;"> <div id="two_child"></div> <div id="three_child" style="display:none"></div> </div> JS if($('#two_child').is(':visible')) { alert('true'); } This will not work. Any ideas`? Thanks in advance! Peter
stackexchange/codereview
I have a problem with the libxml parser on the iPhone! Im using the PerformXMLXPathQuery to parse a xml file with about 100'000 lines. The app breaks while running the PerformXMLPathQuery because it runs out of memory. What can I do here? Thanks, Markus
stackexchange/codereview
I just created my own plugin and i am trying to call another plugin function from it. So i have in my code : <script src='jquery.js'> <script src='some_other_plugin.js'> <script src='my_plugin.js'> So when in my plugin i am trying to call some_other_plugins function through $jQuery object - it says that there is no su...
stackexchange/codereview
I have a set of four images, and my functionality goal is so that when you hover the mouse over the image thumbnail, it applies an overlay with some information that you can click. To give you an idea, take a look at this image: I've got the basics down, but currently the overlays are just stacking in the top left ima...
stackexchange/codereview
Why do collection.defaultdict and collection.OrderedDict have different capitalizations? Is there some subtle difference that I should be aware of? (P3K)
stackexchange/codereview
I recent installed Business Objects Edge (trial version), and I am trying log on the console (CMC) I don't know the user and pass, because during the installation, the installer doesn't ask me anything about this. Only the pass for the 'CMS'. I would like know what is the user and pass correct, ie., where I can search ...
stackexchange/codereview
Is it possible that, using only query statements in my code (and not using select lock) I still get tables locked for some time because of the way MySQL does the processing? (for example, MySQL can lock while ordering the table, or something like that) Is this possible or selects just don't lock?
stackexchange/codereview
I'm trying to create a simple button manager to select and eventually unselect allready checked img elements which contains CSS class .my_class, why this doesn't work? var last_selected; $("img.my_class").click ( function () { if (last_selected != null) alert ($(this) == last_selected); // returns false everytime ...
stackexchange/codereview
Using WCF i get data from server. Data contains Folders and these folders contain queries. I need to set folder icon(expanded collapsed) on the folder node and another icon on query. TreeView is bound to this collection using HierarchicalDataTemplate. I tryed to do it with converter but failed. I also want it to be MVV...
stackexchange/codereview
I'm looking for a good OpenCL wrapper\library for Python, with good documentation. I tried to search some... but couldn't find one good enough.
stackexchange/codereview
I am using following CSS: #userinfo_box a:link,a:visited { text-decoration:none; } #userinfo_box a:hover { text-decoration:underline; } The HTML is <div id="userinfo_box"><a href="">Hello World</a></div> In IE6, Hello World is not being underlined. How to do it in IE6?
stackexchange/codereview
i read some article and msdn and blog but have some question why we must place a global hook procedure in a DLL separate from the application installing the hook procedure and what is different from global hook and keyloger( i write key loge without separate dll)? how key loger intercept all application keyboard mes...
stackexchange/codereview
What library is the fastest to make hundreds of DNS queries in multi-tasking. I've googled round DNS libraries for python. I found that adns is said to be fastest. But it's not Windows-compatible. Are there any cross-platform compatible DNS libraries for python?
stackexchange/codereview
If you click on the click here to order button here: http://www.game onglove.com/ gog/ test3.html, and then click the same button on the lightboxed window that pops up, an ajax request will run using $.post(). You can hit "continue shopping" to return to the previous lightboxed window to quickly start over. If I execut...
stackexchange/codereview
Website located here: http://acs.graphicsmayhem.com/spoogs/index.php Code is located here: http://jsfiddle.net/vMM8Q/ (website for the calendar blocks uses ids instead of classes, not that it matters any) So the problem I'm facing is that when you collapse either the top-right or top-left Calendars in the first link, ...
stackexchange/codereview
I'm writing a Windows Phone 7 App and would like to be able to push content from my app to the users facebook profile, comments, pictures etc. I have started reading the documentation but it all talks about have a web site, which I don't have on a phone. I think i'm missing something, really basic. Is there away to...
stackexchange/codereview
All, I have confuse below may need your help suppose I have a row based variable length data matrix 93 77 96 85 50 69 54 16 39 91 59 38 64 30 18 50 43 9 74 94 44 87 95 89 ... I want to generate result data via above source with different generating algorithms while the different range selection al...
stackexchange/codereview
Do you think it is necessary to mark id fields with insertable = false and updatable = false ? I haven't seem much people doing this before, but today I checked one code that used these properties setted to false for an id field. Regards
stackexchange/codereview
I am aware of the technical differences between the two types of commands (usage without the -a flag creates a lightweight tag which is essentially a branch that never moves, while usage with -a creates a full object in Git's object database which includes the committer's name, email, etc.). The question is: which one ...
stackexchange/codereview
Besides ruby-prof and and the core Benchmark class, what do you use to profile your Ruby code? In particular, how do you find the bottlenecks in your code? It almost feels like I need to work on my own little tool just to figure out where all the time is being spent in my code. I realize ruby-prof provides this, but th...
stackexchange/codereview
How can I render javascript files containing ruby code (<%= ... %>) using Jammit? Jammit gem will always read JS files and will not evaluate the ruby code. Solutions? Thx!
stackexchange/codereview
I am new to MVC.Just would like to start do some business logic to enforce validation.Is there any simple example to understand how to apply validation?
stackexchange/codereview
What are pros and cons of duplication an object instance with constructor or instance function? Example A: type TMyObject = class strict private FField: integer; public constructor Create(srcObj: TMyObject); overload; //alternatively: //constructor CreateFrom(srcObj: TMyObject); property Fie...
stackexchange/codereview
I've googled around, but i can find a way to build json with jQuery and send it to php using a for loop. I have a html table, and i want to take values from each row (i dont know how many rows/values there will be) construct a json string, ie. [{"row": 1, "supp_short_code" : blah blah....}, {"row": 2, ....} ....] but ...
stackexchange/codereview
I am working on a gui app written in C# using visual studio and I am running into a really annoying bug where when I make changes to the application, it debugs correctly the first time I try to debug it, but when I try to debug the application again I get an error say that it can't copy an exe file from the obj directo...
stackexchange/codereview
Possible Duplicate: the code “ : ” in php I often see a lot of php code using ? and :, but I don't actually understand what it is for. Here an example: $selected = ($key == $config['default_currency']) ? ' selected="selected"' : ''; Can someone clear me up, please? :)
stackexchange/codereview
I have asked a question badly over here Lock on a variable in multiple threads so for clarity I am going to ask it here and hope I can ask it correctly. classA creates instance of classB has methodA that can update & uses classB's myVar has methodB that can update & uses classB's myVar classB has a variable my...
stackexchange/codereview
Sorry, this might seem simple, but somebody asked me this, and I don't know for certain. An empty C++ class comes with what functions? Constructor, Copy Constructor, Assignment, Destructor? Is that it? Or are there more?
stackexchange/codereview
I'm trying to use OpenCV in Visual C++ express edition 2008. I've installed OpenCV 2.1 and added necessary include and lib directories/files to my project dependencies. A system PATH is also present for "C:\OpenCV2.1\bin". When i compile and run the example program to open an image, I get a runtime error saying cxcore2...
stackexchange/codereview
I have an SSRS 2005 report, the report has two groups and one nested table inside of a group, the report is displayed correctly in VS as two pages, but when trying to export it to PDF I get 17 pages and the only correct pages I get are at the end of the PDF file.
stackexchange/codereview
I have just started learning about NLP and I have to do a course project this semester. what I want to do is : a.) Fetch the tweets from twitter for a particular topic ( How can I do that?? ) b.) Have already trained data against which I can decide if the tweets I fetched has positive or negative sentiment ( how to t...
stackexchange/codereview
I have an Oracle stored procedure which takes two parameters: a custom data type and a string. Calling the stored procedure in Oracle, I would do the following: EXECUTE MY_STORED_PROCEDURE(MYTYPE_T(99, 231), 'mystring') How can I execute this using C#? I understand that I need to setup the command to be a stored proce...
stackexchange/codereview
I have a heavy traffic aspx page calling a web service upon every user`s request as follows. string uri = "Path.asmx"; string soap = "soap xml string"; HttpWebRequest request = (HttpWebRequest)WebRequest.Create(uri); request.Headers.Add("SOAPAction", "\"http://xxxxxx""); request.ContentType = "text/xml;charset=\"utf-8...
stackexchange/codereview
I have a sharepoint page with 2 dataformwebparts on it. Selecting the first, filters the second. That all works great but now I need to find out what row is selected in the first so that I can add an ID parameter (taken from the first column) to a URL when the user clicks on a button. In other words to allow the next p...
stackexchange/codereview
Is it possible in MIPS to change during execution the value of a label, or to create a label with certain value? I ask this because when using the instruction lw $a0, label($s0) i want to increment the value of label +4 every time we loop, indicating the new memory address of the array. I am aware I can do lw $a0, labe...
stackexchange/codereview
I'm trying to translate an idea I had from OOP concepts to FP concepts, but I'm not quite sure how to best go about it. I want to have multiple collections of records, but have individual records linked across the collections. In C# I would probably use multiple Dictionary objects with an Entity-specific ID as a comm...
stackexchange/codereview
I am hoping this is a simple stupid noob mistake that can be fixed with the addition of a single line of code somewhere. I'm using pySerial to read in serial data from a USB port and print it out to standard output. I'm running Mac OSX 10.6. I open terminal and type "python", then the following: >>> import serial; >>> ...
stackexchange/codereview
I have two databases on the same SQL Server: Database A table 1 table 2 sproc x Database B table 3 table 4 sproc y sproc z I want to give user1 access to the database, but only through the EXECUTE permission on the sprocs. sproc x does a join between table 1 & 2, and user1 can execute. sproc y does a join betwe...
stackexchange/codereview
I have taken this example exactly from the Ruby Cookbook. Unfortunately for me, like a whole lot of the examples in that book, this one does not work: my file (Find.rb - saved both locally and to Ruby\bin): require 'find' module Find def match(*paths) matched=[] find(*paths) { |path| matched << p...
stackexchange/codereview
We're currently using qmake and .pro files to create projects for Visual Studio 2008, but the default solution platform is Win32. Every time the projects are rebuilt, I have to manually change the platform to x64 by going into the configuration manager and copying settings from the Win32 solution. I have not been able ...
stackexchange/codereview
I'm trying to determine if I should be using persistent connections or not. How can I track the overhead of establishing/closing mysql connections in PHP?
stackexchange/codereview
I have the following xsd <xsd:complexType name="myID"> <xsd:choice> <xsd:element name="testID" type="priv:testID"/> <xsd:sequence> <xsd:element name="newID" type="priv:newID"/> <xsd:element name="testID" type="priv:testID" minOccurs="0"/> </xsd:sequence> </xsd:ch...
stackexchange/codereview
Is there any Linux command to translate a domain name to an IP address?
stackexchange/codereview
In my application I have numerical (double or int) ViewModel properties that are bound to TextBoxes. The ViewModel implements IDataErrorInfo to check if the values entered fall within acceptable ranges for the 'business logic' (e.g. height can't be a negative value). I have a number of TextBoxes per page and have a but...
stackexchange/codereview
private void doShareEmp(pageBean UTIL, HttpServletRequest request, String page) throws Exception { doAction(request, UTIL, page); String action = pageBean.getSafeRequestOrNullParameter(request, "DO"); long empRecNum = UTIL.getNumValue("EMPLOYEE", "REC_NUM"); if (action != null) { if ...
stackexchange/codereview
I need to process a CSV file from FedEx.com containing shipping history. Unfortunately FedEx doesn't seem to actually test its CSV files as it doesn't quote strings that have commas in them. For instance, a company name might be "Dog Widgets, Inc." but the CSV doesn't quote that string, so any CSV parser thinks that co...
stackexchange/codereview
I'm binding dataset to datagridview, and I want give user possibility to removing(maybe by checkbox ?) columns which he doesn't know to see. So, at start he see 5 columns, and he wants look only at three, so he clicks at something and these columns dissapear. What are you using to give user this functionality?
stackexchange/codereview
I have a sqldatareader populated with this command: string cmdlookup = String.Format("Select {0} from {1}", strSourceName, strSourceTable); SqlCommand sqlcom = new SqlCommand(cmdlookup, con); SqlDataReader rdrsource = cmd.ExecuteReader(); while (rdrsource.Read()) { this.lst...
stackexchange/codereview
How do I use multiple contracts with the same binding on the same port through C# code? Would appreciate any simple code snipplet... Thanks so much
stackexchange/codereview
we're currently setting up out integration server and during that process we've set up pre-commit hooks on the SVN so that our developers can't check in files that are syntactically invalid (primarily PHP and XML). We also have a bunch of .sql files (for MySQL) which I'd like to lint as well. Unfortunately, Google didn...
stackexchange/codereview
I'm wondering if it's possible to de-serialize a generic type into an instance of that type. If it is possible, does Java take into account the generic type's custom de-deserialization (if any)? In my case, I'm trying to implement a List that is backed by a file which contains the serialized form of the elements, and n...
stackexchange/codereview
So, I have a bunch of data that I'm trying to import using SSIS. The problem I'm having is that some of the data is outdated. So I want to only import the most recent data. I have a key that indicates which set of data each row belongs and I only want to import the most row per key. What is the best way to do this i...
stackexchange/codereview
I'm looking for a sample iPhone app that includes animated fluids - for example, a fish tank, or glass of water. Is there one available somewhere?
stackexchange/codereview
OK, I'm losing it. PowerShell is annoying me. I'd like a pause dialog to appear, and it won't. PS W:\>>> $host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown") Exception calling "ReadKey" with "1" argument(s): "The method or operation is not implemented." At line:1 char:23 + $host.UI.RawUI.ReadKey <<<< ("NoEcho") + Catego...
stackexchange/codereview
I have a simple requirement to be implemented on a silverlight app. I want to list down all the stored procs in a drop down and view its output on a grid. I am currently having a linq to sql class where I have drag dropped all the stored procs I want to view and generated the classes on a .dbml file. This works for me ...
stackexchange/codereview
Normally the wsit-client.xml has import statements like this: <import location="foo.xml" namespace="http://foo.org/" /> I've found that their can be online one wsit-client.xml on the classpath/META-INF, but can I refer to an xml who's located into another jar in that wsit-client.xml? Something like : <import location=...
stackexchange/codereview
I know I am pretty close with this, as I have recieved some help on this topic earlier, but when it cam to making the same code work for another part of the site it seems I cannot get it working again. What I am doing is trying to get the first part of a string (which is broken by a - delimiter in the database) so the ...
stackexchange/codereview
Circle is a class, with public method GetDiameter(). What is the difference between the following 2 sets of code? Qn1: Does Method 1 allocates memory for c on stack (hence no need free memory), while Method 2 allocates memory for c on heap (need manually free memory)? Qn2: When should we use Method 1 or Method 2? Metho...
stackexchange/codereview
I have a simple database table with 170MB overhead. Is this something I need to worry about? When I run optimize on it, it tells me that innodb doesn't support optimize and so recreates the table but still has 170MB overhead. Is this something I can comfortably ignore? cheers!
stackexchange/codereview
public void question(int col, int n, Node<Integer> part_soln) { if (col==0) stack.push(part_soln); else for (int row=1; row<=n; row++) { if (!exists(row,part_soln) && !unsafe(col,row,col+1,part_soln)) { Node<Integer> new_soln = new Node<Integer>(row,part_soln); ...
stackexchange/codereview
Looks like I haven’t explained myself well. I do apologize for that. I have edited this question to make it more clear. The scenario We have a website that doesn’t host the images. What it does is a reference to an image in other server. The plan Resize images keeping proportions. Center resized images. Flexible so ...
stackexchange/codereview
I'm wondering, how do I get the output of an execwait command in NSIS. For example, if I run tree, how would I get the output, which would be the actual tree?
stackexchange/codereview
This question is the second part of another question of mine, but this time focused on LINQ-to-SQL. I have 2 tables, one containing meter IDs, and another containing measurements for some of the meters in the first table. This is the table structure: MeterConfig: MeterID (int) MeterNumber (char[16]) Type (char[25]) R...
stackexchange/codereview
public class FtpDownloadDemo { public static void Connection(String filename) { FTPClient client = new FTPClient(); FileOutputStream fos = null; try { client.connect("ftp.domain.com"); client.login("admin", "secret"); // // The remote filename to be downloaded. // ...
stackexchange/codereview
how to set read only properties to the particular info path form control based on user logged in?
stackexchange/codereview
I wonder, what is the reason to have this SqlCommand constructor overload: public SqlCommand( string cmdText, SqlConnection connection, SqlTransaction transaction ) ? When I need to create an internal method that does its bit using a transaction provided as an argument, I always find it sufficient to only ...
stackexchange/codereview
I have created a rotating wheel of 5 images. What I would like to find out is which image ends up in the top right corner. Is there any way I can realize which one is in the top right corner through coding? Thanks :)
stackexchange/codereview
Once I have a client contact information saved in Support Module, I could get the following things done.. Client sends e-mail to suport@company.com Mail Scanner scans, creates a ticket. A notification is sent that email is received by support team to client. Admin assigns the ticket to someone, client recieves an emai...
stackexchange/codereview
How can I align the two ggplots in the following function so that the x-axis is corresponding between the table and the graph ? As it is now the interval between the "ticks" is less in the table. Any ideas? //M Edit: Forgot to give credit to the learnr website for the table plotting method.... function ggkm: ggkm<-func...
stackexchange/codereview
Right now I'm using the functions GetCaretPos() and GetGUIThreadInfo() to get the current keyboard cursor/caret coordinates. These work properly in applications like Notepad and Wordpad and return the correct coordinates, but in applications such as Firefox, Thunderbird, and others, the coordinates returned are always ...
stackexchange/codereview
I have a form for a model which has many photos and it all works fine thru the form using the nested_attributes feature in the places model. The form for is like this: <% form_for @place, :html => { :multipart => true } do |f| %> And produces in html This: <form method="post" id="edit_place_6933" enctype="multipart/f...
stackexchange/codereview
I have a Windows Application project (A.exe) that calls another project Class Library (B.dll). A.exe has a button (myButton) that calls the method Method1 from B.dll. To install the application I created a Setup project ASetup.vdproj, whose Primary Output is project A. After compiling the setup, the installation runs ...
stackexchange/codereview
I'm building a simple signup application on my website with user database. I'm using PHP and MySQL. I want take in "username" and "email". Both are primary keys in my database. I obviously don't want the same of either. How can I provide feedback to the user if a) the username is already taken and b) the email is ...
stackexchange/codereview
Hello My question is very basic one just tell me why this code which is working fine on all others php vesions not working in PHP Version 5.1.6 Code is " session_start(); if(isset($_SESSION['views'])) $_SESSION['views']=$_SESSION['views']+1; else{ $_SESSION['views']=1;} echo "Views=". $_SESSION['views']; Plz repl...
stackexchange/codereview
I have a dynamically generated menubar, that is a control that i've built that holds a couple of textblocks, the menuitems is populated dependent on what role you have in the system. My problem now is that I need to make the selected menu item to change looks, so the user can see what tab he's on. Please give me some i...
stackexchange/codereview
i have a problem with accessing a control's value in JavaScript. <tr> <th> Kullanici Adi: </th> <td> <asp:TextBox ID="txtKullanici" Text="" runat="server" /> </td> </tr> <tr> <th> Sifre : </th> <td> <asp:TextBox ID="txtSifre" Text="" runat="server" TextMode="...
stackexchange/codereview
i've been working for a while in an Android app that uses a lot of the Maps API. And the thing is it works in the emulator with my debug key, but i see only a grid when i put "true" key, i tried with three already that i know they worked, so why could it be? I have internet permission (in the right place, befoce ) and ...
stackexchange/codereview
I'm writing a micro MVC framework, and I want to be able to run a function based on the action in the URL given. I currently do: function action($id, $function){ ${$id}->{$function}(); } Where the $id is the model/view/controller to load, and the $function is the action. This apparently works, but not in the MainCon...
stackexchange/codereview
I have been using Django with GAE/Python and recently I have been considering switching to GAE/J and GWT. My questions are 1) Is there a way to do hierarchical templating similar to the Django template system? 2) How do you manage static contents with/along with GWT in general? I have been digging around quite a bit b...
stackexchange/codereview
Straight from page 104 of "The Definitive Guide to Grails (Second Edition)": void testLoginUserNotFound() { mockRequest.method = "POST" mockDomain(User) MockUtils.prepareForConstraintsTests(LoginCommand) def cmd = new LoginCommand(login:"fred", password:"letmein") cmd.validate() controller.logi...
stackexchange/codereview
I want to test a given IP and login detail to see whether the FTP server is active/details are correct. Nothing more. I have looked on the web for a solution but none seem simple/eloquent as, for example, using the Ping class to ping and check for a server. I have the following, which doesn't work: static privat...
stackexchange/codereview
I think this is going to come across very basic stuff but I'm brand new at the wonderful world of jquery. Heres my simple working replace code : <div>yes yes </div> <script>$('div').replaceWith('<span>no no</span>');</script> What I am trying to achieve is fade out of "yes yes" div then fade in the new "no no" span An...
stackexchange/codereview
Wonder if anyone has any thoughts on this, I'm putting a Wordpress theme toegther - As it's very custom requirements and I'm using a gallery fro one part I put together from a combination of other scripts (jcarousel etc) which does the job. This all works fine and dandy however I would like to query some of the tables ...
stackexchange/codereview