pid
int64
2.28k
41.1M
label
int64
0
1
text
stringlengths
1
28.3k
16,848,971
0
<p>The issue that I was having was a result of a bug involved with the sorting method implemented in Magento when ordering the total calculations. A more in-depth explanation and solution can be found at the following stack overflow thread.</p> <p><a href="http://stackoverflow.com/questions/9194281/sort-algorithm-mage...
18,040,148
0
The Web server does not appear to have the FrontPage server extensions installed and iis6 <p>I wanted to publish my website from visual studio but i got The Web server does not appear to have the FrontPage server extensions installed" error;first I tried to install frontpage but because i didn't have microsoft share po...
33,556,000
0
<pre><code>JTextField textField = new JTextField(10); one.add(textField, BorderLayout.PAGE_START); one.add(f, BorderLayout.CENTER); </code></pre> <p>The default layout manager for a frame is the BorderLayout, so you need to add tomponens to a different area of the layout. Read the section from the Swing tutorial on <a...
33,525,605
0
<p>This type of player is connected via Media Transfer Protocol (MTP) Looks like you need <a href="https://pypi.python.org/pypi/PyMTP" rel="nofollow">PyMTP</a> Good luck.</p>
28,979,855
0
Triggering a function with a dropdown - Functions and Scripts for Google Sheets <p>Thanks for the support so far. </p> <p>I've had a look but available information seems a little different to what I'm looking for so I'd very much appreciate a few pointers.</p> <p>Sheet I'm working on: <a href="https://docs.google.com/s...
14,275,235
0
Checkbox loses focus with FocusManager.IsFocusScope="True" <p>I see strange behavior with my <code>CheckBox</code> and its focus/tab order.</p> <p>First some "working" code:</p> <pre><code>&lt;Grid&gt; &lt;Grid.RowDefinitions&gt; &lt;RowDefinition /&gt; &lt;RowDefinition /&gt; &lt;/Grid.RowDefinitions&gt; &lt;Button Gr...
29,034,193
0
Using Row_Number of SQL Server in Linq <p>I have a table with data like</p> <pre><code>Date Users ------------------ 01/03/2015 25 02/03/2015 28 04/03/2015 36 07/03/2015 45 08/03/2015 47 </code></pre> <p>I had created a table valued function in Sql Server using Row_Number which gave me output like below which I used fo...
2,960,573
0
<p>Do it in your base/parent <code>&lt;system.web&gt;</code> section.</p>
38,256,215
0
<p>You can create bindings that set a flag on button press, and release the flag on button release. You can set a binding on mouse motion that colors the item under the cursor when the flag is set. </p> <p>It would look something like this:</p> <pre><code>class Example(object): def __init__(self, parent): ... self._dr...
12,645,201
0
<p>When the page is done loading, intercept the links :</p> <pre><code>Dim olink As HtmlElement Dim olinks As HtmlElementCollection = WB1.Document.Links For Each olink In olinks olink.AttachEventHandler("onclick", AddressOf LinkClicked) Next </code></pre> <p>Then add a function :</p> <pre><code>Private Sub LinkClicked...
32,680,229
0
How to make estimated value based on amount of text? <p>I'm trying to make a social media app and the amount of text in a post will differ greatly, so I can't just set the overall estimated height to one number. How would I go about setting the estimated height according to the amount of text in each cell? </p>
21,690,055
0
<h2>Upgrading Python (or any package)</h2> <pre><code>$ sudo apt-get update $ sudo apt-get upgrade python </code></pre> <h2>Using Python</h2> <pre><code>$ python Python 2.7.4 (default, Sep 26 2013, 03:20:26) [GCC 4.7.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. &gt;&gt;&gt; print...
19,107,177
0
<p>The compiler says when you call the function, the argument list is <code>(C2DRender *, CPoint, float, int, float, float)</code>. But there is no exact match for the call. </p> <p>There are two candidates, </p> <pre><code>void CTexture::RenderRotate(C2DRender *,CPoint,FLOAT,BOOL,DWORD,FLOAT,FLOAT) </code></pre> <p>a...
32,545,216
0
<p>I think you hit a fairly common pitfall. When you use dual-y you need to change <code>vAxis</code> to <code>vAxes</code>. Other than that, looks ok.</p> <p>Thanks for using angular-google-chart, by the way!</p>
6,279,376
0
<p>I'm not sure if this is actually going to be a problem, but it's likely this could come up during replication.</p> <p>If you want to prevent it from coming up, you should look into the <a href="http://www.couchbase.org/sites/default/files/uploads/all/documentation/couchbase-api-db.html#couchbase-api-db_db-purge_pos...
33,745,261
0
How do I aggregate fragment URLs when viewing content pageviews? <p>I'm using the Google Analytics dashboard. </p> <p>I'm viewing pageviews for individual pages (Behavior > Site Content > All Pages).</p> <p>I'm seeing results like the example below.</p> <pre><code>page title page views ------------------------------ /b...
13,291,854
0
<p>I've dealt with this issue before. I recommend making two classes for distance. One that has the imperial measures and one that has the metric measures. Then, you can convert back and forth between them easily, with the obvious caveat that you lose precision when you do.</p> <p>Here's an example of an imperial dist...
9,011,260
0
Thinking Sphinx: Another index error <p>While indexing I get this error:</p> <pre><code>indexing index 'qtl_table_core'... ERROR: index 'qtl_table_core': sql_range_query: 'soybase.qtl_table.QTLName' isn't in GROUP BY (DSN=mysql://_www:***@xxxxxxx/soybase). </code></pre> <p>My model:</p> <pre><code>class QtlTable &lt; A...
6,387,757
0
<pre><code>select Data.* from Data inner join Page on (Data.PageID=Page.PageID) where Data.PageID=1 order by if(Page.OrderByMethod='Most Recent Data First', now()-DataDate, if(Page.OrderByMethod='Most Recent Data Last', DataDate-now(), DataName) ); </code></pre>
32,193,371
0
<p>R is very LisP-like. The symbol <code>[</code> is actually a function. When you write <code>mylist[1]</code>, what is actually happening "under the hood" is that items (only one in this instance) inside the flanking square brackets are extracted and passed to the <code>[</code> function as second and possibly third...
119,346
0
<p>It's just personal preference really, and has to do with the layout of your python modules.</p> <p>Let's say you have a module called <code>erikutils</code>. There are two ways that it can be a module, either you have a file called <em>erikutils.py</em> on your <code>sys.path</code> or you have a directory called <...
17,606,006
0
<p>For someone directed here from google :</p> <p>If your JRE crashes after you run the java tutorials then most probably you have the python Bindings installed as well (cv2.so) . You will have to re-make OpenCV without those bindings </p> <p><code>cmake -DBUILD_SHARED_LIBS=OFF -D BUILD_NEW_PYTHON_SUPPORT=NO</code></p...
14,439,127
0
<p>Save them as UTC time and then convert them to local time when loading to the UI.</p>
6,803,195
0
<p>For those who installed direct from the official installer, just adding the host to the command works with no path changes:</p> <pre><code>psql -h localhost -U postgres </code></pre>
7,797,950
0
<p>South's main concern is handling issues regarding changes in relational db schemas. This is not required in a non-rel db, where smart coding practices and simple scripts can handle migrations as an online operation.</p> <p>See also:</p> <ul> <li><a href="http://code.google.com/appengine/articles/update_schema.html"...
30,798,732
0
Trouble accumulating data from specific time interval last year <p>I'm trying to accumulate an amount from a SQL query. The inputs <code>@STARTDATE</code> and <code>@ENDDATE</code> is a datetime type (YYYYMMDD).<br> So the Case statements check if the date of the verification is between the specific dates.</p> <p>Some ...
5,298,680
0
can't connect to oracle from win 2008 R2 <p>i can't connect to oracle from windows 2008 R2 (connect from visual studio)</p> <p>i have installed oracle client x64 , but still can't connect </p> <blockquote> <p>“Oracle client and networking components were not found. These components are supplied by Oracle Corporation an...
24,045,905
0
<p>To do that you need a third table which contains EmployeeID and ProjectID. Mark both IDs as primary key. You have to do a double join if you want to select them though but it's the best way to handle it.</p>
30,161,188
0
<p>You can try using following code, have written a sample code ,</p> <pre><code>foreach (GridViewRow row in GridView1.Rows) { Label lblFname = (Label)row.FindControl("lblFname"); Label lblFaName = (Label)row.FindControl("lblFaName"); Label lblLName = (Label)row.FindControl("lblLName"); DropDownList ddl_att = (DropDow...
104,979
0
<p>As Baltimark said, this is basically a Linear programming problem. If only the coefficients for the shippers (1 for included, 0 for not included) were not (binary) integers for each leg, this would be more easily solveable. Now you need to find some (binary) integer linear programming (ILP) heuristics as the proble...
7,307,959
0
<p>Use UIGestureRecognizer <a href="http://www.icodeblog.com/2010/10/14/working-with-uigesturerecognizers/" rel="nofollow">this link</a> follow to gesture </p> <p>And add your table in one UIView after apply your gesture logic on UIView. </p> <p>It may be helpful for you..</p>
19,622,238
0
<p>Your cast is wrong, it should be <code>((B) a).methodX()</code></p>
40,883,708
0
<p>By adding <code>config.skip_image_loading</code> to configuration, I was able to solve the issue.</p>
19,259,252
0
<p>You're not loading jQuery itself. You need to load jQuery before you load jQuery Mobile. jQuery Mobile is not jQuery and does not include jQuery.</p> <p>jQuery Mobile is like jQuery UI: it's essentially a jQuery plugin, and you have to load jQuery before you can load a plugin.</p>
12,845,415
0
<p>You can build your predicate format dynamically to test only non-nil attributes. More on that <a href="https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/Predicates/Articles/pCreating.html#//apple_ref/doc/uid/TP40001793-SW3" rel="nofollow">here</a>. Also consider making your search diacritic-ins...
10,988,486
0
AutoMapper resolver not passing expected type <p>Given the following classes and resolver, why am I getting this error? I don't see why ProductAddModel is being passed in at all.</p> <blockquote> <p>AutoMapper.AutoMapperMappingException was unhandled by user code<br> Message=Value supplied is of type System.Decimal but...
28,890,234
0
Ant ReplaceRegExp task changing a line it shouldn't <p>I was updating an xml file with a version/build number. It was working just fine but then a developer put in some new lines of code and for some reason one of those lines gets changed. Here is my regex:</p> <pre><code>`&lt;replaceregexp file="${basedir}Monitors\Inv...
32,158,217
0
Promise map and get current value of array <p>Below I have a regular promise bluebird map. What I'd like to achieve is a way to access the current value of the <code>arr</code>, to say that another way, I'd like to access <code>arr</code> from within the map with all of the preceding returned values. Because of this fu...
37,540,044
0
<p>solved this by using notepad:</p> <p>1) Save the Excel spreadsheet, as a Single Web Page. 2) Edit this page in (say) Notepad, by running the Find/Replace option. 3) Save this Notepad file, as an Excel File - Job done.</p> <p>*steps was found on the net</p>
24,184,820
0
<p>You can use the logical negation of <code>is.null</code> here. That can be applied over the list with <code>vapply</code>, and we can return the non-null elements with <code>[</code></p> <pre><code>(mylist &lt;- list(1:5, NULL, letters[1:5])) # [[1]] # [1] 1 2 3 4 5 # [[2]] # NULL # [[3]] # [1] "a" "b" "c" "d" "e" ...
21,369,555
0
<pre><code>&lt;form onSubmit= "formCheck()" type="POST" action="#" &gt; &lt;label for="name"&gt;Name:&lt;/label&gt; &lt;input type="text" name="name" id="name_input" onBlur="formCheck()"&gt; &lt;input type="checkbox" id="valid_name" name="valid_name" disabled&gt; &lt;button type="submit" value="Submit"&gt;Submit&lt;/b...
15,522,533
0
java - use of ternary operator <p>I got quite a large code with 4 different conditions which I tried to shorten using the conditional ternary operator as <a href="http://alvinalexander.com/java/edu/pj/pj010018" rel="nofollow">descibed here</a>. However, I can't manage the right syntax since I have more than 2 condition...
8,550,469
0
BindingSource remove current <p>I use BindingSource for deleting records in my forms:</p> <pre><code>try { BindingSource1.RemoveCurrent(); BindingSource1.EndEdit(); Table1TableAdapter.Update(dataSet01.Table1); } catch (Exception ex) { MessageBox.show(ex.Message); } </code></pre> <p>if record related to another,at first...
14,874,445
0
Is the Monolithic God object in Javascript a performance concern? <h2>The way it is:</h2> <p>I have recently joined a webapp project which maintains, as a matter of standard, one single globally-available (ie, itself a property of <code>window</code>) object which contains, as properties or recursive sub-properties, al...
32,411,174
0
<pre><code>function doTheStuff(a, b) { var bookstorname = localStorage.getItem(a) if (bookstorname == 1) { document.getElementById(b).setAttribute('checked','checked'); } if (bookstorname == 0) { document.getElementById(b).removeAttribute('checked','checked'); } } window.onload = function Equal() { doTheStuff('b1', 'b...
27,723,933
0
Opcache + Memcached Together <p>my environment </p> <p><code>ubuntu 14.04</code> , <code>php 5.5</code> , <code>nginx 1.76</code></p> <p>i am using both <code>opcache</code> and <code>xcache</code> concurrently </p> <pre><code>PHP 5.5.19-1+deb.sury.org~trusty+1 (cli) (built: Nov 19 2014 19:33:43) Copyright (c) 1997-201...
511,899
0
<p>Check to see how fragmented your indexes are. At my company we have a nightly import process that trashes our indexes and over time it can have a profound impact on data access speeds. For example we had a SQL procedure that took 2 hours to run one day after de-fragmenting the indexes it took 3 minutes. we use SQL ...
35,260,469
0
How to validate a string is in YYYY-MM-DD form (C#) <p>Most of the ways I have seen on SO have involved validating a C# date object which is not what I want to do. For what I'm working on, the user will enter a string in a format for example, 1999-02-23. I would like to validate that the string they enter follows the f...
31,400,798
0
<p>I think your</p> <pre><code>"...VALUES('sheetname" + dt.Rows[0][j].ToString() + "' ) </code></pre> <p>should be</p> <pre><code>"...VALUES('sheetname', '" + dt.Rows[0][j].ToString() + "' ) </code></pre> <p>since you try to insert two values but you didn't seperate them with a comma.</p> <p>But as a better way, use <...
21,162,767
0
<p>How about this using LINQ inline:</p> <pre class="lang-cs prettyprint-override"><code>var results = (from kvp in dict from v in kvp.Value select new KeyValuePair&lt;AddressType, ContractType&gt;(kvp.Key, v)) .ToList(); </code></pre> <p>Don't know about the lambda syntax, though.</p>
10,030,375
0
<p>If the date_promised field is of a DATETIME type you can use -</p> <pre><code>SELECT date_promised, DATE_FORMAT(date_promised, '%m/%d/%Y') AS date_promised2 FROM erp_workorder AS t1 WHERE id_primary = 73135; </code></pre> <p>If the date_promised field contains a unix timestamp you can use -</p> <pre><code>SELECT da...
21,814,004
0
<p>If you want to send an SMS, in about 5 lines of code, you should look into Twilio. Incredibly easy to get started, only pay for what you use, nicely document rest api and best of all its is a proven/mature technology.</p> <p><a href="https://www.twilio.com/sms" rel="nofollow">https://www.twilio.com/sms</a></p>
12,744,730
0
<p>The "semi-convoluted" solution using <code>std::bind</code> as mentioned by Nicol Bolas is not so bad after all:</p> <pre><code>std::function&lt;void ()&gt; getAction(std::unique_ptr&lt;MyClass&gt;&amp;&amp; psomething) { return std::bind([] (std::unique_ptr&lt;MyClass&gt;&amp; p) { p-&gt;do_some_thing(); }, std::m...
39,621,578
1
Match multiple times a group in a string <p>i'am trying to use regular expression. I have this string that has to be matched</p> <pre><code> influences = {{hlist |[[Plato]] |[[Aristotle]] |[[Socrates]] |[[David Hume]] |[[Adam Smith]] |[[Cicero]] |[[John Locke]]}} {{hlist |[[Saint Augustine]] |[[Saint Thomas Aquinas]] |...
6,984,033
0
Trying to print multiple result set .But list returns only object <p>This my query which i am trying get result from multiple table.</p> <pre><code> SQLQuery query = session.createSQLQuery("select t.id as ID, t.companyname as COMPANYNAME, e.fullname as FULLNAME, e.empid as EMPID, ca.dateallocated as DATEALLOCATED from ...
16,799,340
0
<p>You have your <code>Flag</code> set on <code>notificationIntent</code> instead of <code>Intent</code> for <code>ActivityB</code>. Change this</p> <pre><code> Intent i = new Intent(getActivity(), B.class); getActivity().startActivity(i); </code></pre> <p>to</p> <pre><code> Intent i = new Intent(getActivity(), B.clas...
15,241,421
0
<p>If you getting <code>???myBean.myMsg</code> that means that it could not find <em>myBean.myMsg</em> string in your resource file...</p> <p>I guess you want to use the key inside the myBean.myMsg (and not the string <em>myBean.myMsg</em>)?</p> <p>In that case just remove the <code>''</code> that surrounds it</p> <pr...
8,265,703
0
<p><a href="http://cellperformance.beyond3d.com/articles/2006/06/understanding-strict-aliasing.html" rel="nofollow">Cellperformance</a> states that strict aliasing is:</p> <blockquote> <p>[...] an assumption, made by the C (or C++) compiler, that dereferencing pointers to objects of different types will never refer to...
11,954,305
0
Function to determine if two tables are related <p>Suppose I have 5 table schemas in memory as DataTables and one other DataTable that is a schema of the referential constraints between the other 5 tables.</p> <p>The 5 schema tables are related such that Table A contains a primary key column related to a foreign key in...
19,941,541
0
Local Gem Path For Development And Remote Git Repo For Production <p>I have a gem I'm working on locally which is used by a project.</p> <p>If I specify the gem's location using <code>path</code> in the , I can make a change and the project picks up the fresh code:</p> <pre><code>gem 'example', :path =&gt; "~/path/to/g...
35,289,597
0
Excel 2010 Cell Validation - Grouped List <p>Is it possible (without the use of user forms, or form controls) to have a grouped validation list in-cell, where the group title cannot be selected. So for example:</p> <p><strong>Fruit</strong><br> Apple<br> Banana<br> <strong>Veg</strong><br> Potato<br> Carrot</p> <p>I fe...
24,727,029
0
X Code Objective-C: 2 duplicate symbols error <p>Hey I'm fairly new to Objective C. I ran into this error when adding some new buttons to my iPhone app I have been working on. Not exactly sure where the duplicates are present. If anyone could point me in the right direction that would be great thanks!</p> <p><strong>Er...
37,329,114
0
R: Loop for importing multiple xls as df, rename column of one df and then merge all df's <p>The below is driving me a little crazy and I’m sure theres an easy solution.</p> <p>I currently use R to perform some calculations from a bunch of excel files, where the files are monthly observations of financial data. The fil...
29,221,582
0
laravel 4.2 liebig package work on localhost but fail in server cron job command <p>i want to fire some function to get news about football from rss i used laravel4.2 <a href="http://liebig%20package" rel="nofollow">https://github.com/liebig/cron</a> as that </p> <pre><code>Event::listen('cron.collectJobs', function() ...
13,150,137
0
<p>Peter has already answered your question still I would like to recommend not to use old SiteEdit object. You should update the template code as per Tridion UI 2012.</p>
5,740,510
0
<p>With that you can get latitude and longitude of an address. If you request this url and you use the address you want to find the coordinates you get 4 value as a response. You can use this function to get a Location object with lat and log of your address: </p> <pre><code>-(CLLocationCoordinate2D) addressLocation:(...
13,080,783
0
<p>Because array is passed by reference, and other variables are local.</p>
24,427,845
0
Can not find a record by it's _id in mongoDB <p>I want to get a record by its <code>_id</code> like this:</p> <pre><code>db.user.find({_id : ObjectId("53a095aa4568cb1fef93f681")}) </code></pre> <p>As you can see the record exists:</p> <p><img src="https://i.stack.imgur.com/yjl8b.png" alt="mongoDB record by _id"></p> <p...
3,783,507
0
<p>What version of Magento? And I'm assuming you're referring to the layered navigation? </p>
14,610,063
0
Solution for updating a record when you require a particular field Unique <p>I have a table </p> <pre><code>ProjectID ProjectName Project description </code></pre> <p>Project Name is required to be unique. To implement the unique logic, i am sending the name of the project name to Stored Procedure as </p> <pre><code>Cr...
21,558,094
0
Integration of legacy mySQL database into a new Django ORM powered data structure <p>We have a Django project on which we were working for the several past months, and it is basically the new, improved version of an old system that was powered by PHP and mySQL.</p> <p>Now I need to convert all of the old data from the ...
20,391,948
0
<p>Fiddler can not read HTTPS pages unless it is configured to decrypt them. Check the checkboxes below on the HTTPS tab in Fiddler's options.</p> <p><img src="https://i.stack.imgur.com/8EuWc.png" alt="Fiddler&#39;s HTTPS tab"></p> <p><a href="http://fiddler2.com/documentation/Configure-Fiddler/Tasks/DecryptHTTPS" rel...
40,553,558
0
<p>Try to Pause music on <code>AudioManager.ACTION_AUDIO_BECOMING_NOISY</code> - it it comes before <code>AudioManager.ACTION_HEADSET_PLUG</code> (approx. about 1 sec). Something like:</p> <pre><code>IntentFilter filter = new IntentFilter(); filter.addAction(AudioManager.ACTION_HEADSET_PLUG); filter.addAction(AudioMan...
24,173,779
0
<p>I think the third sql statement should be:</p> <p>INSERT INTO [project_manager] (project_id, manager_id) SELECT project_id, @ID FROM [projects] WHERE project_name = @Name</p>
1,821,748
0
<p>Probably the simplest way to do that is to find out exactly what imagefile jQuery is using for the icons, and then modify that image file (or create your own) and drop it into place.</p>
15,511,511
0
How to use on the same content box 2 columns of vertical tabs? <p>How can I create a new column which is identical to the first column, and have it display one column to the right?</p> <p>I want the new column to have the same properties as the first column because I want to add more things to this tabs and only on 1 c...
40,893,859
0
<p>Something like the following should do what you want I think:</p> <pre><code>ResourceAccessor resourceAccessor = new FileSystemResourceAccessor(); Database db = DatabaseFactory.getInstance().findCorrectDatabaseImplementation(new JdbcConnection(yourJdbcConnection)); Liquibase liquibase = new Liquibase("data/filename...
25,629,238
0
<p>I am also using On-Demand VPN in iOS 7 and I am not experiencing this issue </p> <h2>Suggestion 1:</h2> <p>It seems like buggy beta os version update to latest one and try that's enough.</p> <h2>Suggestion 2:</h2> <p>If the VPN server is down it may happen so make sure VPN sure in online and available.</p> <h2>Sugg...
1,266,807
0
<p>I've come across this myself before. Adobe's documentation on <a href="http://livedocs.adobe.com/flex/3/html/help.html?content=13_Working_with_XML_01.html" rel="nofollow noreferrer">Traversing XML structures</a> isn't exactly clear on the point.</p> <p>Their documentation states that if there is more than one eleme...
10,474,653
0
<p>Use a switch-statement.</p> <pre><code>switch($color) { case "blue": // do blue stuff break; case "yellow": // do yellow stuff break; case "red": // do red stuff break; default: // if everything else fails... } </code></pre> <p>In case you want to do the same thing on all colors, just use the <code>||</code> (boole...
10,992,867
0
<blockquote> <p>The app seems to be correctly allowing users to log into the app and all, but it never posts anything to their feed despite having publish_stream set as a permission.</p> </blockquote> <p>Your app has to <em>actively</em> make a post … see <a href="https://developers.facebook.com/docs/reference/api/use...
29,581,758
0
<p>There are two reasons nothing happens:</p> <ol> <li>You add 0.5 to an int. An int represents <em>whole numbers</em>. So you basically add 0 at every increment of <code>angleHead</code></li> <li>After calling <code>glTranslatef()</code> you again call <code>glLoadIdentity()</code> which resets your translation in <c...
14,749,379
1
Multiple raw_input and searching <p>Because <em>programming</em> is one of my favorite hobbies I started a small project in python.</p> <p>I'm trying to make a nutritional calculator for daily routine, see the code below:</p> <pre><code># Name: nutri.py # Author: pyn my_dict = {'chicken':(40, 50, 10), 'pork':(50, 30, 2...
18,878,229
0
<p>Just change to:</p> <pre><code>echo "info" | nc - w 30 IP 3031 </code></pre> <p>Many thanks !</p>
40,490,119
0
<p>I Solved my problem using this codes.</p> <p>PreviousIsNull({@Q3}) or {@Q3} &lt;> Previous({@Q3}) and PreviousIsNull({@E3}) or {@E3} &lt;> Previous({@E3});</p>
27,043,074
0
<p>Seems like the cleanest way in this example is to:</p> <ul> <li>Use a RelativeLayout</li> <li>Position the 2 adjacent views one below the other</li> <li>Align the FAB to the parent right/end and add a right/end margin</li> <li>Align the FAB to the bottom of the header view and add a <em>negative</em> margin, half t...
37,649,592
0
<p>I am mentioning following steps these may be useful for you.</p> <p>Step 1:- If you are not in us and you want to use android pay then you should have a us registered email id (You can make us email id with help of gmail ) then you can download android pay .</p> <p>Step2: You can register you credit card in android...
9,370,182
0
<ol> <li>Missing semicolon after the array</li> <li>Not assigning or using the array in anything.</li> <li>Trying putting your array as the second parameter in the form create method.</li> </ol>
36,350,149
0
Apply specific margins to first and last element that are not siblings <p>I have specific type of boxes in my HTML that have, let's say <code>margin: 10px;</code> to all of them. They are displayed in a row on the page (using Bootstrap) and I want to remove the left margin of the first element and the right margin of t...
14,068,192
0
Sensible filenaming in Amazon S3 <p>I'm working on a website which is starting to generate a large volume of user-uploaded photos, which are then converted into multi thumbnails of different sizes and stored. So far, these have been stored locally but I would like start storing and serving them via Amazon S3.</p> <p>I'...
38,970,802
0
working with temporary table in cakephp 3 <p>I'm working in CakePHP 3.2</p> <p>I have a table <code>Carts</code> to store products in cart when user is logged in with <code>user_id</code>.</p> <p>I want addToCart accessible to user without login too. But in this case I want to use temporary table to store the cart data...
35,760,802
0
<p>Quoting from <a href="http://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags/1732454#1732454">RegEx match open tags except XHTML self-contained tags</a> :</p> <blockquote> <p>You can't parse [X]HTML with regex. Because HTML can't be parsed by regex. Regex is not a tool tha...
37,730,379
0
PHP Framework that uses a widget concept <p>I am looking for a php framework based on sort of widget. i.e. every block you see on a page can be broken down into smaller parts called widgets and therefore be reused easily. Does anyone know of such a framework?</p> <p>So each widget would have an associated css file, jav...
5,559,322
0
WCF Data Service authentication <p>-Is it possible to secure a WCF Data Service by using certificate-based authentication ?</p> <p>-Is there a resource that describes this process ?</p> <p>-Can we use Message security with a WCF Data service ?</p>
12,118,819
0
<p>My answer would be "Always."</p> <p>It's the emerging standard for categorizing all forms of information on the web. </p> <p>Raven Tools (no affiliation) has a schema.org microdata generator that's a good place to start:</p> <p><a href="http://schema-creator.org/product.php" rel="nofollow">http://schema-creator.org...
8,923,312
0
<p>You can get more info of the Geometry String which is used by ImageMagick as in following: <a href="http://www.imagemagick.org/RMagick/doc/imusage.html" rel="nofollow">http://www.imagemagick.org/RMagick/doc/imusage.html</a></p>
39,545,320
0
<p>The issue appeared to be that the api has changed to require a user id not a username hit this api endpoint to get the id</p> <pre><code>http://api.soundcloud.com/users/{username}?client_id={someid} </code></pre> <p>Then use the id in the url instead and it works :D</p>
18,272,129
0
<p>use <a href="http://msdn.microsoft.com/en-us/library/tabh47cf.aspx" rel="nofollow">String.Split()</a></p> <pre><code>string str = "foobar~~some example text~~this is a string"; string[] _result = str.Split("~~", StringSplitOptions.None); </code></pre>
38,720,109
0
<p>Solved!</p> <p>So problem was that I had Drupal migrate module and it was configured to use second database (Drupal 6, from old site) on my VM only. On staging that second DB configurations was also wrong, but for some reason (I guess different PHP settings) it was not shooting that error. On live it was.</p> <p>An...
7,199,157
0
Android app installs but doesn't show up in app tray <p>I'm building a time logging application and i have created the main layout. I tried to debug my application on my phone Samsung Galaxy S and it starts fine, but if i close it and want to run it again it's not in my app drawer. It shows up in Settings->Programs->Ma...