it lists all files in "." that contain the string "string" but don't show dirs with permission denied.
What would it be the equivalent of that but squeezing xargs in between?
I'm looking to create AVDs to test my apps on, and i'm trying to figure out the correct settings for a square screen such as the new Motorola Flip Out. I don't see a wikipedia article for it, or many specs...
On a related note, what about tablets? Actually.. Why aren't there a set of AVD instances with params from popular devices.. or at least a site that lists them for each of the 60+ devices.
Thanks in advance :)
I'm trying to figure out the technicalities of scheduling in Linux. What I can't figure out is what happens with those entries in the run_queue where there are no running processes.
In the run_queue we have a bitmap, a counter, and the array of lists themselves. For a list that is empty because there are no running tasks with its priority, what do the next and prev pointers point to?
I'm trying to find a way to document AMD modules using JSDoc3.
/**
* Module description.
*
* @module path/to/module
*/
define(['jquery', 'underscore'], function (jQuery, _) {
/**
* @param {string} foo Foo-Description
* @param {object} bar Bar-Description
*/
return function (foo, bar) {
// insert code here
};
});
Sadly none of the patterns listed on http://usejsdoc.org/howto-commonjs-modules.html work for me.
How can I generate a proper documentation that lists the parameters and return value of the function exported by the module?
Hi,
When writing a Maven plugin, you can configure various parameters within the mojo class, e.g.
/**
* The path to the properties files.
*
* @parameter expression="${project.build.directory}"
*/
private File buildDir;
Is there a reference that lists all the available project properties (e.g. ${project.build.directory})? For example, how do I get the value of the resources directory?
Thanks,
Don
Hi,
Recently the DataSheet view of my list refuses to dispaly. I tried numerouse times and with no luck. Other lists works just fine, except for this one.
there is a Java error message on the left bottom corner of the screen that disapears in 2 seconds, then it renders the list in Standard view any time you try it.
I even created a new Datasheet View - the result a Standard View.
Any suggestions?
Thanks,
Guys, Ive been using jquery to do this, but now I need to do it with Prototype and Im little confused due lack of documentation
I have 2 lists of check boxes
First List:
Check box 1
Check box 2
Second list:
Check box x
check box y
check box z
I need the JS code, using prototype to work like this: Second list, remains disabled unless I check one of the checkboxes of the First List.
Any suggestions, or help, please!
Thankyou.
Hi there,
I want to have a function in my zsh for faster accessing my todo-files. It should look inside the folder ~/tasks where i put my todo-lists and stuff. Now i want to type task p and when I hit tab, it should use the files in that directory for autocompletition. Can anyone point me some direction? Or share some snippet to work with?
Thanks
I'm on developing a twitter kind of Application where in I want that the user would be displayed the timelines and the Textview in the Lists require to perform clicks on (http://)URLs, (@)usernames, and (#)hasTags and I want to invoke custom methods over these actions, I have used the Linkify class and the actions but where of no use because the customization that i require cannot be incorporated.
I am writing a Silverlight 3 application, this app uses a service reference to connect to a SharePoint site by using Sharepoint Lists.asmx web service
Now i want to install my app on different servers, and i want my app to use the weBservice of the server on which it is installed (without me specifying it).
In Vs2005, we used to specify "dynamic" for the webservice.
How can i do this in Visual Studio 2010 (service reference)? there is no "dynamic" property for a service reference.
Thanks,
I have been using the RC version of VS2010 for a while now and wanted to know if anyone has a summary of what changed between the RC version and RTM. I just loaded the RTM and noticed some small things different. I searched around but can't find anything around about it. If there is nothing out there that lists these differences, can we start listing them here as you find them?
OK, so we all saw the lists of "funny" or "bad" comments.
However, today, when maintaining an old stored procedure, I stumbled upon a comment which I couldn't classify other than "refreshingly brutally honest", left by a previous maintainer around a really freakish (both performance and readability-wise) page-long query:
-- Feel free to optimize this if you can understand what it means
So, in the first (and hopefully only) poll type question in my history of Stack Overflow, I'd like to hear some other "refreshingly brutally honest" code comments you encountered or written.
Are there any good references out there for sync algorithms? I'm interested in algorithms that synchronize the following kinds of data between multiple users:
calendars
documents
lists and outlines
I'm not just looking for synchronization of contents of directories a la rsync; I am interested in merging the data within individual files.
good stuff
// ok to alias a List Type
using AliasStringList = System.Collections.Generic.List<string>;
// and ok to alias a List of Lists like this
using AliasListOfStringList1 = System.Collections.Generic.List<System.Collections.Generic.List<string>>;
bad stuff
// However **error** to alias another alias
using AliasListOfStringList2 = System.Collections.Generic.List<AliasStringList>;
Produces the compile error
The type or namespace name
'AliasStringList' could not be found
(are you missing a using directive or
an assembly reference?)
HI, Im very new to Excel and VBA and was wondering I there is a way I could make conditional formatting on drop down Lists.
I currently have a warning if the user enters something that is not valid (data validation) but I want to change the cell's background color to red if invalid or green if valid.
Again there only options are in a List box.
Any help would be awesome.
Thanks
def flattenList(toFlatten):
final=[]
for el in toFlatten:
if isinstance(el, list):
final.extend(flattenList(el))
else:
final.append(el)
return final
When I don't know how deeply the lists will nest, this is the only way I can think to do this. 2
This is an IE-only problem. .toolTip becomes visible when it's parent element is :hovered over. Inside of .toolTip is a select box. When the user opens the select box to make a selection, the parent element is being "un-hovered", if you will. To put it another way, when I try to select something from the dropdown, the whole thing hides itself again.
I'm sure it has something to do with the way IE interprets the stylesheet, but I don't know what or where. Here is some relevant code (edited for clarity):
#toolBar .toolTip {
position: absolute;
display:none;
background: #fff;
line-height: 1em;
font-size: .8em;
min-width: 300px;
bottom: 47px;
left: -5px;
padding: 0 ;
}
#toolBar div:hover .toolTip {
display:block;
}
and
<div id="toolBar">
<div class="socialIcon">
<a href=""><img src="/im/social/nytimes.png" alt="NY Times Bestsellers" /></a>
<span class="toolTip">
<h1>NY Times Bestsellers Lists</h1>
<div id="nyTimesBestsellers">
<?php include('/ny-times-bestseller-feed.php') ?>
</div>
<p><img src="/im/social/nytimes.png" alt="NY Times Bestseller Lists" />
Change List <select id="nyTimesChangeCurrentList" name="nyTimesChangeCurrentList">
<option value="hardcover-fiction">Hardcover Fiction</option>
<option value="hardcover-nonfiction">Hardcover Nonfiction</option>
<option value="hardcover-advice">Hardcover Advice</option>
</select>
</p>
</span>
</div>
</div>
Hello.
I need to use PHPMailer to send emails out for the following reasons:
small lists (less then 500)
password resets
general notifications, 100ish emails at a time
And PHPMailer gives me the option to send via mail(), sendmail, or SMTP. Is there any reason to prefer one of these methods over the other?
I don't know enough about email services in general to make an informed decision.
I would like to compare lists of elements of a given type, to see which list is "bigger".
new BuiltInComparer<IEnumerable<int>>().Compare(
new[] {1,2},
new[] {1,2,3})
...would return -1
new BuiltInComparer<IEnumerable<int>>().Compare(
new[] {1,2,3},
new[] {1,2,3})
...would return 0 etc
Is there any such built in comparer?
Why can't Haskell resolve the kind of [[]] (A list of lists)?
Why isn't it simply * - *, as I can give it a type like Int, and get [[Int]], which is of kind *.
What are all the methods that return an ActionResult in ASP.NET MVC as of right now (ie. RedirectToAction, etc.)
I haven't found a good documentation resource that lists this kind of stuff.
Macs are renowned (or bemoaned) for having an extensive number of shortcuts. However, OS X itself pales in comparison to the shortcut lists in TextMate and its bundles.
What are some useful keyboard shortcuts you use?
This question pointed to a wiki page for C++0x support which lists Strongly typed enums as Partially supported in VS10.
However this creates a compilation error:
enum class boolean { no, yes, maybe };
Any idea what constitutes partial support when the basic syntax isn't accepted?
Hi,
I want to programatically create list on Sharepoint using Web Services.
I tried "Lists.AddList Method" but it would create list in current site only.
Is there any other way to create list? (Using Web Services : C#)
What I really like in C# are generic lists. A list that can contain only one type of objects.
Is there something like a generic list in Cocoa/Objective-C? As far I only know NSArray who will take a pointer to any object.