group

jedit alters user and group of file

Hi there, I'm running jedit as root, to alter several system files in /etc, some of these files have different owners then root. When I edit such a file, and save them, jedit set user to root and group to root. Is there a option to set, that jedit keeps the file permissions? Thank you Alex. ...

Count and group non-empty values in MySQL

I need to count the non-empty (by which I mean a string containing at least 1 character) rows grouped by a particular ID. Eg. my data might look like this: form_id mapping 1 'value_1' 1 '' 1 'value_2' 2 '' 2 NULL 3 'value_3' and I want to count the non-empty values for each form, so I ...

VBscript - Add list of computers to domain group

Hi, this is probably pretty simple, but I've got this text file containing a bunch of computernames that I want to add as members of a certain AD Group. Thing is, I don't know the CN or full path of the computer names, because the computers may lie on three different OUs in the Domain structure. So, I the code I've got so far is this (...

mysql GROUP BY return the first record

Hi i far as i know mysql GROUP BY grouping to the last find record. Is there any solution to GROUP BY the first record I have setup the ORDER in SQL command and i need GROUP BY return the first record and not the last EDIT Here is the Query SELECT DISTINCT(master.masterID), langData.*, master.* FROM master_table as master ...

MySQL - SELECT ... GROUP BY ...

id - a_id - a_type --------------------------- 1 9 Granny Smith 2 9 Pink Lady --------------------------- 3 3 Pink Lady 4 3 Fuji 5 3 Granny Smith --------------------------- 6 7 Pink Lady 7 7 Fuji 8 7 Fuji 9 7 Granny Smith Ok, assum...

Bibtex: Use JabRef group to subdivide bibliography

Hi, I have created a bibliography with JabRef 2.5. and grouped the bibitems according to their entrytype (article, book,...). Now I would like to have a bibliography with "sub-headings": BIBLIOGRAPHY Journal Article (heading) here should appear all bibitems belonging to the group entrytype=Article. Book (heading) here should appear al...

how to hide webpart from a group?

can i hide (not by code) a webpart ONLY from a specific group? ...

What is the most lightweight container in Flex 4?

In the root of my application I have 5 named "slots" (layers) that I want content to appear in. Should I be using Canvas, Group or something else for each of these slots? I don't need any kind of automatic layout inside these slots. ...

Get latest update from two tables

I have read so many posts and tried so many alternatives but I just can't work out the best way to achieve the following : I have four tables, issues, issuestatus, customers and customerupdates Issues IssueID StatusID CustomerID IssueDetails IssueStatus StatusID Status Customers CustomerID CustomerName CustomerUpdates Update...

facebook group page - add iPhone apps?

My Facebook group is about my iPhone software. Is there a way to have it list all my iPhone apps with links/prices etc? I noticed that this guy does it some how: http://www.facebook.com/AppStore Thanks ...

How do I add additional data to a DataGridRowGroupHeader?

I have a DataGrid that is showing some data via a PagedCollectionView with one group definition. I have created a Style for the corresponding DataGridRowGroupHeader under which I have added a ControlTemplate containing an additional TextBlock and a spacing Rectangle. I would like to bind the widths of these controls to the widths of part...

Linking Simple product to their page listed under Grouped product in Magento

I want to add url for each simple product listed under Grouped product in Magento i have changed it with below code in app\design\frontend\blank\default\template\catalog\product\view\type\grouped.phtml but still not work for me it's link but with main group product (Example: Main Grouped product and three simple products Item1 Item2 Item...

iPhone Connect Facebook. Join a Page/Group Option availble?

Hello, I am using iPhone Connect to link my application to Facebook. Is there anyway to let user join a Page/Group on Facebook, right from the Application? Thanks in advance. ...

LINQ to SQL join when there aren't results

Given the following database structure I'm trying to write a LINQ query that will return images grouped by tags it's associated with. So far I've got this: var images = from img in db.Images join imgTags in db.ImageTags on img.idImage equals imgTags.idImage join t in db.Tags on imgTags.idTag equals t.idTag where img.OCRDa...

Domain policy template won't show any controls

I have the following code that i found on the net. The problem is that it adds in nicely with the group policy editor and i can see it's Catogary under administrative controls but it doesn't show any controls for user input. What am i doing wrong here? CLASS USER category EmailStationary POLICY "SetEmailStationary" EXPLAIN "This pol...

mysql - query group/concat question??

I have a situation where I return results with mutiple rows. I'm looking for aw way to return a single row, with the multiple items in separate cols within the row. My initial query: SELECT a.name, a.city, a.address, a.abbrv, b.urltype, b.url FROM jos__universityTBL as a LEFT JOIN jos__university_urlTBL as b on b.universityID...

Can a repeated piece of regular expression create multiple groups? Such as this example...

Hi guys, I'm using RUBY 's regular expression to deal with text such as ${1:aaa|bbbb} ${233:aaa | bbbb | ccc ccccc } ${34: aaa | bbbb | cccccccc |d} ${343: aaa | bbbb | cccccccc |dddddd ddddddddd} ${3443:a aa|bbbb|cccccccc|d} ${353:aa a| b b b b | c c c c c c c c | dddddd} I want to get the trimed...

TestNG's groups

If we have <include name="web" > and <include name="weekend" >, TestNG runs all the methods that belong to either web or weekend. Is it possible to change this behaviour so TestNG would run all the methods that belong to web and weekend? Does anyone knows a way to accomplish this? ...

MySQL query count multiple values

Consider the following DB table: c p ========= 1 'a' 1 'b' 2 'a' 2 'c' Now, my goal is to retrieve a list of numbers c, for which holds that each number in this list has at least a record with p='a' AND p='b'. In the example table above, that would be c=1. Now my question is, how do I accomplish this using one My...

Render similar data in C# by grouping

I am trying to create some dynamic html out of some data from db. My data returned from db is: ApplicationName URL ------------------------------ AppName1 URL1 AppName2 URL1 AppName2 URL2 AppName1 URL2 I want that all URL's for a single application should be rendered under one...