In Mercurial, what is the command to say
1) make all my files as of two months ago (say, April 16, 6:03pm) (Revision 328 as seen from the hg log)
2) or, make my files back to the most current repository version?
I am searching for a custom control for asp.net, which helps display user friendly dates, like instead of article date:
(2-april-2010)
it displays
(2 months old)
I am unable to find it on google, please can any one suggest links, custom controls, articles for the same.
Thank you.
Hey, I'm just wondering how to convert a numerical date into text format in PHP
Example change
06.04.2010 to say April 6th 2010
Is there any function already made?
Hello,
I have a site where users provide some dates, but if they enter year like 12 april 2099, then the I get date in the past (1969). How do I check it and apply a default max safe date?
thank you.
How do I show the dates number format next to its name in the array using PHP? So that the number format is saved in the database and the month name is displayed?
Here is the php code.
$month_options = array("Month", "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December");
My network runs through the electrical wiring of the house and is organised as such:
Groundfloor:
an ADSL+network switch, using DHCP (address : 172.19.3.1)
(Mac) PCs connected via an electrical adapter (model: D-Link DHP-200) (1 per PC)
First Floor:
1 switch (8 ports) connected via an electrical adapter (model: D-Link DHP-200) (address unknown)
2 Mac PCs connected (via RJ45 network wires) to that router using DHCP
The Problem
On the first floor, file tranfers between PCs are fast and perfect. But if I try to transfer files from or to a computer on the ground floor, the speed is slow and eventually the transfer dies out.
The Question
So I suspect the 1st floor switch is creating some kind of barrier (firewall?) preventing external PCs from accessing the PCs it is connected to?
Am I right and if so, how could I disable that barrier?
Hello everyone. I'm new to server NIC TEaming. I have a HP ProLiant DL360 G4p running Win2003 with 2 NICs , only one is currently active. I'd like to activate the 2nd NIC connected (in a active/passive state) to a 2nd switch with only one IP address and ideally only one mac layer address. The 1st switch is a Cisco 2960G and the 2nd is a Cisco C3560G. There are VLANS, RSTP and PAGP in use already.
Can someone give me an idea, in broad terms , of what technology/protocols I should be investigating (HSRP, SLB/TLB Teaming etc.) ? I can provide more info if needed.
Thanks, Colm.
Specs:
Motherboard: MSI 760GM-P23 FX
Integrated graphics (on MoBo)
CPU: AMD Athlon II x4 640
RAM: GeIL Pristine 4GB DDR3
Case/PSU: TOPOWER TP-4107BB-400
Is not POSTing, no video output, no beeps. When RAM is removed, 3 beeps. I have tried removing and replacing the CPU and all the power cables with no change. Resetting the BIOS (by removing and replacing the battery) did nothing as well.
Is there something I'm forgetting (1st time building from components), or could one of the components be bad?
EDIT: New development: with CPU and RAM installed correctly, it will turn on lights and fans (still no POST) and after running for a minute or so it will turn off and the PSU will make a buzzing noise that ceases only when unplugged.
Hi,
I am learning the cast iron tool (http://www.castiron.com/) which is widely used now a days for integration purpose,but i can only open 1 project and if i want to open the other project at the same time than i have to close the 1st project and after that able to open the 2nd project.
So many times i have to open 2 projects at the same time but i dont know in which way i can open the projects ?
can any body give me any urgent solution for the same to open the multiple projects at the same time and to switch between them ?
Thanks,
Mishal Shah
I have a pair of web servers running Windows Server 2003 Web Edition SP2 (build 3790).
There servers are a on a Gigabit LAN and are on the same subnet.
I created a new link on the 1st server and added the second box as a target to the link.
I configured replication as ring.
The 2nd server gets some of the files on the scheduled replication but this varies wildly which makes me think it's not running fully. The folder on server 1 is 1.3GB.
Is there some way I can force repication (from a console?) and monitor the progress and see if/when/why it fails.
I've used MDADM + LVM2 on many boxes for quite a while. MDADM was serving for both RAID0 and RAID1 arrays, while LVM2 where used for logical volumes on top of MDADM.
Recently I've found that LVM2 could be used w/o MDADM (thus minus one layer, as the result - less overhead) for both mirroring and stripping.
However, some guys claims that READ PERFORMANCE on LVM2 for mirrored array is not that fast as for LVM2 (linear) on top of MDADM (RAID1) as LVM2 does not read from 2+ devices at a time, but use 2nd and higher devices in case of 1st device failure.
MDADM reads from 2 devices at a time (even in mirrored mode).
Who could confirm that?
From what I gathered so far, Tracert works by sending 3 ICMP echo messages. Starting with a TTL value of 1. For each router the packet encounters, the TTL value will be decremented. For the 1st router, 1-1 = 0, so an ICMP "time exceeded" message will be sent back to the sender machine. Next, the TTL value will be incremented to 2 by the sender machine and the cycle repeats for the 2nd router (2--1--0) and so on.
Please correct me if my undestanding is flawed.
I am curious as to why the ICMP "time exceeded" message isn't displayed by Tracert in Command Prompt since it is in fact an error message ? The cycle simply proceeds on.
Thanks.
Hello Experts,
I installed Flash media server 3.5 in windows 7 home basic.it installed properly.
When i try to open the media server,and not showing in its FMS ADMIN CONSOLE there. I have beeen checking the windows services, it shows flash media server is running.i have installed FMS in Default port (1935,1111).i have MCAFEE Antivirus.1st time it blocks the My FMs then i Allowed it & after that there is no issue.i am not getting what is the problem,is anything blocking the FMS.Even I am not able to start/see the control panel of FMS (Flash media server).
I am guessing it is a port problem,Is it or any firewall issue?Please Suggest.
I'm learning gVIM on Windows, and as I slowly learn more of the keystrokes I find myself using the mouse less and less, which is great.
I have a couple of questions I've yet to figure out:
I do a lot of copy and paste. So I use 'v' to enter VISUAL mode, use k/j to move up/down and select the lines, then hit 'y' to yank.
I then go to the line where I want to insert, and hit 'p' to put, BUT the darn thing pastes after the 1st character. I can't move any further left, so I am definitely at the start of the line, so I find the 'p'ut behaviour of pasting 1 char after my cursor position to be supremely annoying.
I switch between edit and command mode an awful lot, and my poor little finger on my left hand is getting sore from being stretched out to hit the 'Esc' key (to enter command mode) every few seconds. Is there a more finger-friendly way to enter command mode?
Hello everyone. I'm new to server dual homing. I have a HP ProLiant DL360 G4p running Win2003 with 2 NICs , only one is currently active. I'd like to activate the 2nd NIC connected (in a active/passive state) to a 2nd switch with only one IP address and ideally only one mac layer address. The 1st switch is a Cisco 2960G and the 2nd is a Cisco C3560G. There are VLANS, RSTP and PAGP in use already.
Can someone give me an idea, in broad terms , of what technology/protocols I should be investigating (HSRP, SLB Teaming etc.) ? I can provide more info if needed.
Thanks, Colm.
What happens when one server in a DFSR pool maxes out its disk space?
I am at the very beginning of my research in DFS/R and this struck me. I plan on implementing this on one server with RAID1 (160GB) and on another server with a RAID5 (500GB). What happens when my 1st server with 160GB disks, run out of space? Will it spill over to the 500GB server?
Is it advisable at all to even have the RAID1 server in the DFSR pool? Because the RAID1 server is also my Domain Controller.
Hope you guys can help me out here (OS are Win2k3R2)
My department is implementing an Ubuntu Enterprise Cloud. I have done the testing and am quite comfortable with the 4 pieces, CC/SC, CLC, WS, NC. Looking at various documents below it appears the the Storage Controller and Cluster Controller (eucalyptus-sc and eucalyptus-cc) are always installed on the same system. My question is this: can I install the storage controller and the cluster controller on separate systems?
http://open.eucalyptus.com/wiki/EucalyptusAdvanced_v2.0 the picture indicates that cc and sc are two different machines
http://www.canonical.com/sites/default/files/active/Whitepaper-UbuntuEnterpriseCloudArchitecture-v1.pdf P.10 1st paragraph uses the word "machine(s)"
http://software.intel.com/file/31966 P. 8 indicates the same separate architecture
BUT... https://help.ubuntu.com/community/UEC/PackageInstallSeparate indicates below that the SC and CC are to be on the same system.
When using batch files or console applications on Windows servers the window in question can allow text to be hightlighted (marked) for copying and pasting. Doing this pauses the batch/application and it will only resume after the copy operation.
Or this is what I thought to be true. Recently on a Windows 2003 R2 SP2 server I noted that whilst the scrolling was paused the operations were not. Does anyone know if
my description in the 1st para is true for older windows
is not true for Windows 2003 R2 SP2
when it changed
a full version comparison table for cmd.exe across different OS' ?
Thanks for reading
(Windows 2000 tag as that was the OS I used most before 2003 R2)
I have 2 TB USB HDD which had these drives
F: about 1 TB with 750 GB data
H: about 120 GB with 60 GB data
I: about 780 GB with 250 GB data (For TV: It was raw in Windows but visible in the Smart TV)
I took 521 MB from last part of H to get new G drive. Then I run "Create a Recovery Drive" tool of Windows 8.1 and chose G drive. It said all data in the drive will be deleted. I thought it is just G drive but it deleted my whole HDD. It created 32 GB new F drive with writing 337 MB on it and rest of HDD is unallocated.
I tried these programs to get my first 3 drives but non of them helped for getting 1st partition.
TestDisk
MiniTool Partition Wizard Home Edition
EaseUS Partition Master 9.2.2 (I deleted new F drive volume because it scans only unallocated part)
Recuva
PC Inspector File Recovery
Hi,
Let's look at a sample word 2010 file here.
In this file you can see that the first group of text has their indent modified. The 2nd, 3rd group keep their default format.
I want to apply the changed I've made in the group 1st so group 2nd and 3rd and for the new group I'm going to add instead of recieving the default indent. How can I do that?
ps. Currently what I have to do is quite boring: Copy group 1 and paste to create new group to get the formatted, then remove the old text, adding new text :(
hello!
I am in middle of installing SQL Server 2008 r2 express, where an existing instance has been installed long ago.
I need to install a new instance.
During the installation I reach a tab where I am supposed to enter accounts for "SQL Server Database Engine" and Browser.
The browser is already selected, my question is about the 1st row.
What account should I enter? I need to be able to perform SQL queries from SMSS and from my app, thru windows authentication.
I have few computers running. I want to get the average CPU usage of these computers and plot it as a graph. So I've collected CPU usage in regular intervals in these machines. So for each computer I have a data set of time and CPU usage.
But the times at which CPU measurements are taken in different machines are not in sync. For example in 1st machine CPU may be measured in time 1, 5, 9. In the second machine CPU may be measured in time 2, 5, 8. I want to get an average data series from these different data sets. Could you point me to some resources?
Thanks - Supun.
I'm using the Windows 7 backup and restore utility to create a system image and personal file backup to an external Seagate GoFlex 3TB disk. I got the following error:
One of the backup files could not be created.
Details: The request could not be performed because of an I/O device error.
Error code: 0x8078002A
I searched all over the internet and found these two related discussions (discussion 1 and discussion 2). Note the 1st discussion is for a Western Digital drive, which seem to have a solution with the WD Quick Formatter tool. But I downloaded that software and it cannot detect my Seagate drive. The 2nd discussion is directly relevant but it does not offer a solution. I've spent days on this and am at a loss...
Please help if you know what to do to make it work! Thank you!