I can easily write an app using 7z or winrar but is there an app that i can feed a long list of filenames and have it automatically go through my folders and unzip files it finds?
I have an Exchange 2010 server listening on a couple of different domains. So it receives and sends emails destinated and originating from several domains.
Now we want to get rid of a specific domain gradually and what I would like to do now is get a list of all the emails received or sent using that specific domain that we wants to get rid of. So we can figure how this domain is still getting used before getting rid of it.
Thanks.
Is it possible to set up a distro list on an exchange server to send a blind copy to one of the recipients?
For example: I'd like to have a distro go to Help, Support, and IT. However, I don't want the sender to know it goes to Help if they expand the distro in the To: field.
I know this is most likely impossible, but I figured it wouldn't hurt to ask.
Mailing lists are great, but they're a fundamentally different beast than email. It seems strange to me to keep mailing lists in my email program (Gmail). Of course I have folders set up to automatically keep them out of my inbox, but if I have hundreds of mailing lists, it gets really out of hand.
Is there an application (or web application) that is designed specifically as a mailing list "client"?
I'm trying to configure my Debian (6.0) server to forward emails sent to root to a mailing-list.
I set the ML address in /etc/aliases this way:
root: [email protected]
I then called newaliases.
It doesn't work but when I call mail from the command line it works :/
echo "test" | mail -s"test message" [email protected]
If I set my own email address in /etc/aliases it's working too.
Any idea where it could come from ?
Thanks
I'm testing windows 8 RP. Installed tens of apps from market. What I wanna know is, is there any way to save (or maybe sync with windows live account) installed app list, and install these saved applications in future - RTM version of OS?
I mean, somehing like on Apples' devices - icloud features function that I'm talking about. You can install apps on iPhone and sync with iCloud account. Then you can re-install these apps on another device, which signed in with your login into icloud.
Adding tags to LVM volumes and showing volumes that possess that tag is easy and works like a charm; but somehow I can't find a way to list all tags in use, or to show tags that apply to a specific volume. lvdisplay -v doesn't give me details on tags, neither lvs seems to have any option for that. (I am using CentOS 5.4.)
so I'm new to this site, and new to jquery, and javascript as a whole really, but I have very good comprehension of HTML and CSS. For a class in school, I'm making a photo gallery webpage using the Shadowbox plugin. I have that part all down, but one of the requirements is to add some sort of user option that the user can change that will get saved in a cookie. (I haven't gotten to the cookie part yet) For my option, I decided to add a toggle that will switch the view of the page from a grid view (default) with images, to a list view of just the captions of the images. I figured out how to do that, but decided it could probably done in a much simpler fashion with the use of loops.
Here is the HTML I have:
<body>
<div id="preferences">
<h1>My Photo Gallery</h1>
<ul id="options">
<li><a href="#" id="list"><img src="media/listview.png" alt="List view"/></a></li>
<li><a href="#" id="grid"><img src="media/gridview.png" alt="List view"/></a></li>
</ul>
</div>
<div id="gallery">
<a rel="shadowbox[Gallery]" class="l1 img" href="media/img1.jpg" title="Black and White Leopard Pattern"><img src="media/thumb1.jpg" alt="Black and White Leopard Pattern"/></a>
<a rel="shadowbox[Gallery]" class="l2 img" href="media/img2.jpg" title="Snow Leopard Pattern"><img src="media/thumb2.jpg" alt="Snow Leopard Pattern"/></a>
<a rel="shadowbox[Gallery]" class="l3 img" href="media/img3.jpg" title="Colorful Triangle Pattern"><img src="media/thumb3.jpg" alt="Colurful Triangle Pattern"/></a>
<a rel="shadowbox[Gallery]" class="l4 img" href="media/img4.jpg" title="Tie Dye Zebra Stripe Pattern"><img src="media/thumb4.jpg" alt="Tie Dye Zebra Stripe Pattern"/></a>
<a rel="shadowbox[Gallery]" class="l5 img" href="media/img5.jpg" title="Blue Knitted Pattern"><img src="media/thumb5.jpg" alt="Blue Knitted Pattern"/></a>
<a rel="shadowbox[Gallery]" class="l6 img" href="media/img6.jpg" title="Black and White Damask Pattern"><img src="media/thumb6.jpg" alt="Black and White Damask Pattern"/></a>
<a rel="shadowbox[Gallery]" class="l7 img" href="media/img7.jpg" title="Wooden Panel Pattern"><img src="media/thumb7.jpg" alt="Wooden Panel Pattern"/></a>
<a rel="shadowbox[Gallery]" class="l8 img" href="media/img8.jpg" title="Brick Pattern"><img src="media/thumb8.jpg" alt="Brick Pattern"/></a>
<a rel="shadowbox[Gallery]" class="l9 img" href="media/img9.jpg" title="Watercolor Pattern"><img src="media/thumb9.jpg" alt="Watercolor Pattern"/></a>
<a rel="shadowbox[Gallery]" class="l10 img" href="media/img10.jpg" title="Orange Stripe Pattern"><img src="media/thumb10.jpg" alt="Orange Stripe Pattern"/></a>
<a rel="shadowbox[Gallery]" class="l11 img" href="media/img11.jpg" title="Blue Scales Pattern"><img src="media/thumb11.jpg" alt="Blue Scales Pattern"/></a>
<a rel="shadowbox[Gallery]" class="l12 img" href="media/img12.jpg" title="Woven Pattern"><img src="media/thumb12.jpg" alt="Woven Pattern"/></a>
</div>
</body>
So here is the sample that works (for the list portion anyways), but seems excessive in terms of code since I'd have to repeat for each image:
$(document).ready(function(){
$( "#list" ).click(function() {
$( "a.l1" ).removeClass( "img" );
$( "a.l1" ).addClass( "lst" );
$( "a.l1" ).text( $( "a.l1" ).attr( "title" );
//repeat for l1 through l12 (that`s the letter L not a 1)
});
$( "#grid" ).click(function() {
$( "a.l1" ).removeClass( "lst" );
$( "a.l1" ).addClass( "grid" );
//actually have no idea at all how to get this back to the original img tag other than maybe .innerHTML???
//repeat for l1 through l12 (again, that`s the letter L not a 1)
});
}):
And here is kinda how I'd like it (Y'know, except in a way that works)
$(document).ready(function(){
var i = 1;
var selcur = $( "'a.l" + i + "'" );
var title = selcur.attr( "title" );
var image = '<img src="media/thumb' + i + '.jpg" alt="' + title + '"/>';
$( "#list" ).click(function() {
while (1<=12) {
selcur.addClass("lst");
selcur.removeClass("img");
selcur.text( title );
i++;
}
i = 1;
});
$( "#grid" ).click(function() {
while (1<=12) {
selcur.removeClass("lst");
selcur.addClass("img");
selcur.text( image );
i++;
}
i = 1;
});
});
Please tell me how I am going about this wrong, keep in mind again I'm new to this, I appreciate any and all responses! Is there a better way to do this? I really want to keep it simple.
Is it possible to set up a distro list on an exchange server to have certain members (or all) invisible to people sending email to the distro?
For example: I'd like to have a distro go to Help, Support, and IT. However, I don't want the sender to know it goes to Help if they expand the distro in the To: field.
I know this is most likely impossible, but I figured it wouldn't hurt to ask.
Is it possible to set up a distro list on an exchange server to have certain members (or all) invisible to people sending email to the distro?
For example: I'd like to have a distro go to Help, Support, and IT. However, I don't want the sender to know it goes to Help if they expand the distro in the To: field.
I know this is most likely impossible, but I figured it wouldn't hurt to ask.
I want to have a script that does the following thing:
connect to a remote windows machine
get the list of applications that are currently open on the machine, e.g exactly what I would get in the "applications" tab in the task manager, and print it.
Is it possible to do that in batch?
If not, what other options do I have?
Hi everyone,
I can't seem to find a list of all event IDs related to DCM in SCCM. I managed to find the common ones by testing but I'm sure there are tons of scenarios I haven't seen yet.
I'm interested in events related to compliance status, errors, etc in particular such as these:
11854 - Policy is now compliant
11856 - Previously compliant is now non compliant..
Please post any other event IDs you know of related to this..
Thank you
When I am doing something in a schema of tables I want to have a list of changes to put in svn, and execute it by another members of the team. As I understand, there are 2 ways: extract from logs, or implant some code inside phpMyAdmin, maybe there are other ways without coding?
I have a bunch of sheets in my workbook, in each one there is an email address at B6.
What I want to do is to make a list with all the email addresses. I'm familiar with sheet range (all my sheets are between a sheet "first" and a sheet "last"), so I can do something like first:last!B6 to refer to the range. But what is the formula?
For example google.com has the following aliases, gooogle.com, gogle.com (I'm sure it has more than that). Is there a way to list all registered domain aliases for a site/domain name?
I think I have a shell script (launched by root's crontab) that's stuck in a loop. How do I list running scripts and how can I kill them?
I'm running Ubuntu 9.04, but I imagine it's similar for all *nix systems...
In the spirit of this question - List of Firefox’s About: pages?
I know following
chrome://downloads/
chrome://history/
Question is slightly related to Hidden features of Google Chrome
I have a simple linked list. The node contains a string (value) and an int (count).
In the linkedlist when I insert I need to insert the new Node in alphabetical order. If there is a node with the same value in the list, then I simply increment the count of the node.
I think I got my method really screwed up.
public void addToList(Node node){
//check if list is empty, if so insert at head
if(count == 0 ){
head = node;
head.setNext(null);
count++;
}
else{
Node temp = head;
for(int i=0; i<count; i++){
//if value is greater, insert after
if(node.getItem().getValue().compareTo(temp.getItem().getValue()) > 0){
node.setNext(temp.getNext());
temp.setNext(node);
}
//if value is equal just increment the counter
else if(node.getItem().getValue().compareTo(temp.getItem().getValue()) == 0){
temp.getItem().setCount(temp.getItem().getCount() + 1);
}
//else insert before
else{
node.setNext(temp);
}
}
}
}
Can someone explain me why this code compiles and runs fine, despite the fact that SortedSet is an interface and not a concrete class:
public static void main(String[] args) {
Integer[] nums = {4, 7, 8, 14, 45, 33};
List<Integer> numList = Arrays.asList(nums);
TreeSet<Integer> numSet = new TreeSet<Integer>();
numSet.addAll(numList);
SortedSet<Integer> sSet = numSet.subSet(5, 20);
sSet.add(17);
System.out.println(sSet);
}
It prints normally the result: [7, 8, 14, 17]
Furthermore, my wonder is heightened by the fact that the SortedSet cannot be instansiated (expectedly). This line does not compile:
SortedSet<Integer> sSet = new SortedSet<Integer>();
However, if I try the code:
public static void main(String[] args) {
Integer[] nums = {4, 7, 8, 14, 45, 33};
List<Integer> numList = Arrays.asList(nums);
numList.add(56);
System.out.println(numList);
}
it throws an UnsupportedOperationException. I reckon, this comes from the fact that List is an interface and cannot be handled as a concrete class. What is true about SortedSet?
Simple question - given an IList<T> how do you perform a binary search without writing the method yourself and without copying the data to a type with build-in binary search support. My current status is the following.
List<T>.BinarySearch() is not a member of IList<T>
There is no equivalent of the ArrayList.Adapter() method for List<T>
IList<T> does not inherit from IList, hence using ArrayList.Adapter() is not possible
I tend to believe that is not possible with build-in methods, but I cannot believe that such a basic method is missing from the BCL/FCL.
If it is not possible, who can give the shortest, fastest, smartest, or most beatiful binary search implementation for IList<T>?
UPDATE
We all know that a list must be sorted before using binary search, hence you can assume that it is. But I assume (but did not verify) it is the same problem with sort - how do you sort IList<T>?
CONCLUSION
There seems to be no build-in binary search for IList<T>. One can use First() and OrderBy() LINQ methods to search and sort, but it will likly have a performance hit. Implementing it yourself (as an extension method) seems the best you can do.
Hi,
Still fighting my way through the jungle that is called iptables.
I have managed to allow FTP access outside of our LAN: both these would work. NOTE: eth0 is the LAN interface and eth1 is the WAN interface.
iptables -t filter -A FORWARD -i eth0 -p tcp --dport 20:21 -j ACCEPT
or
iptables -A FORWARD -i eth0 -o eth1 -p tcp --sport 20:21 --dport 1024:65535 -j ACCEPT
But when i connect to a external FTP server i manage to log in and all is fine until it wishes to List the directory content. Then nothing happens as the data is blocked, due to the fact that i do not have a rule set up to allow it! (my last rule on the FORWARD chain is to block all traffic)
I have tried a gazillion rules (many of which i did not understand) to try and allow the FTP traffic back through my server. One such rule for example was:
iptables -A FORWARD -i eth1 -o eth0 -p tcp --sport 20:21 --dport 1024:65535 -j ACCEPT
But i cannot get the List to work. It just times out after a while.
Would anyone perhaps know how to build a rule which would allow FTP to List / allow such traffic back?
Or have a link to sources i could work through?
Thank you,
I have a listbox control where items are added using a user control having a textblock and image.
<UserControl
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
FontFamily="{StaticResource PhoneFontFamilyNormal}"
FontSize="{StaticResource PhoneFontSizeNormal}"
Foreground="{StaticResource PhoneForegroundBrush}"
d:DesignHeight="52" d:DesignWidth="480">
<Grid x:Name="LayoutRoot" Background="{StaticResource PhoneChromeBrush}">
<TextBlock Height="30" HorizontalAlignment="Left" Margin="12,10,0,0" Name="Index_itemtext" Text="" VerticalAlignment="Top" Width="145" />
<Image Height="34" HorizontalAlignment="Right" Margin="0,6,55,0" Source="blue_triangle.png" Name="IndexList_itemImage" Stretch="Uniform" VerticalAlignment="Top" Width="66" />
<Line Height="10" HorizontalAlignment="Left" Margin="0,38,0,0" Name="seperator_line" Stroke="White" StrokeThickness="2" VerticalAlignment="Top" Width="480" Stretch="Fill" Fill="#FFF5E9E9" />
</Grid>
And the list box xaml:
<ListBox Name="Index_list" ScrollViewer.VerticalScrollBarVisibility="Visible"
VerticalContentAlignment="Top" SelectionChanged="on_selection"
Margin="0,78,0,0">
</ListBox>
Now when i add the items to the list ,the vertical scroll does not go till the last item i.e. it comes back to first row which stops from last item selection:
for (int i = 0; i < gridSize; i++)
{
listbox_item list_item = new listbox_item();
list_item.Index_itemtext.FontSize = 25;
list_item.Index_itemtext.Text = index[i];
list_item.IndexList_itemImage.Source = new BitmapImage(new Uri("some.png", UriKind.Relative));
list_item.seperator_line.StrokeThickness = 5;
list_item.Margin = new Thickness(0, 0, 0, 5);
Index_list.Items.Add(list_item);
}
Also the list row does not occupy the width of device in landscape mode,whereas the requirement is that the row item widens as the device width changes.Can someone help with these problems?