For writable buffers, is there a way to tell vim to autoindent a file on entering & exiting the buffer?
What I want is the equiv of:
1G=G
to go first line
indent ..
until last line
Thanks!
Hai,
I would like to have a post thumbnail in the index page of wordpress site. And when you click on the post thumbnail, it opens the specific post page to play the video attached in that post.
basically the post is a video.
can u guys help in finding some good plugin to perform this task
Hello,
I have created a drop down with JQuery that can be seen here by clicking the Preview button on top:
http://jsbin.com/ubire3/edit
It works fine except for one problem. When i hover over the main hover links (blue ones) quickly eg going horizontally quickly hovering each top menu, the some submenus don't close. How do i make it so that even if i hover fast over them all other submenus are closed?
Thanks.
I am not been able to update any of the attributes in one of my feature classes using the Arc FM Attribute editor, but I am able to update it thru the ESRI Attribute editor.
Please lemme know if somebody knows the reason.
I am using Arc SDE 9.3.1 with ArcFM 9.3 and ArcMap 9.3
Note:I am in selection Tab and not in Target tab.
Please let me know if sombody can figure out the reason.
Vinay
[email protected]
Hello i have implemented the following NSAlert:
NSString *title = [NSString stringWithFormat:@"Keine Internetverbindung"];
NSString *alertMessage = [NSString stringWithFormat:@"Es konnte keine Verbindung zu www.sip.de aufgebaut werden!"];
NSString *ok = [NSString stringWithFormat:@"Ok"];
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:title message:alertMessage delegate:self cancelButtonTitle:ok otherButtonTitles:nil];
[alert show];
[alert release];
and this is the delegate method to close the app:
- (void)alertView:(UIAlertView *)alertView didDisMissWithButtonIndex:(NSInteger)buttonIndex{
exit(3);
}
But why the programm doesn't go into the method, what is my mistake?
greetings Marco
Code first:
'''this is main structure of my program'''
from twisted.web import http
from twisted.protocols import basic
import threading
threadstop = False #thread trigger,to be done
class MyThread(threading.Thread):
def __init__(self):
threading.Thread.__init__(self)
self.start()
def run(self):
while True:
if threadstop:
return
dosomething()
'''def some function'''
if __name__ == '__main__':
from twisted.internet import reactor
t = MyThread()
reactor.listenTCP(serverport,myHttpFactory())
reactor.run()
As my first multithread program,I feel happy that it works as expected.But now I find I cannot control it.If I run it on front,Control+C can only stop the main process,and I can still find it in processlist;if I run it in background,I have to use kill -9 pid to stop it.And I wonder if there's a way to control the subthread process by a trigger variale,or a better way to stop the whole process other than kill -9.Thanks.
Is it possible to use deepEarth with sql server 2008 spatial, or is there aney other open-source mapping solutions for Silverlight and sql server 2008.
Tanks for any thought on this.
Hey.
I'm caching tweets on my site (with 30 min expiration time). When the cache is empty, the first user to find out will repopulate it.
However, at that time the Twitter API may return a 200. In that case I'd like to prolong the previous data for another 30 mins. But the previous data will already be lost.
So instead I'd like to look into repopulating the cache, say, 5 minutes before expiration time so that I don't lose any date.
So how do I know the expiration time of an item when using php's memcache::get()?
Also, is there a better way of doing this?
When I am trying to execute a file(name.sh) in the command line by the command ./name.sh , I am getting the error that:
"." is not recognized as an internal
or external command, operable or batch
file
please help me execute the .sh file
Hi,
I want to install HTTPS on my server and I wonder what kind of certificate I will need and where I can buy it.
The site is a web application that demands high security by it's users since they store sensitive business data.
I am also integrating a third party payment gateway into the register process of the site and need a secure way to send credit card data one way. I do not intend to store this data in our own database.
So, what do I need? And also, how do I install it on Ubuntu Server 9.10 / Apache2 ?
Cheers!
Christoffer
When we try to connect to our file server with the new computer, it denies access. The computer is joined to the domain and I can see it on active directory. We need to connect to the file server for printing and terminal services. We have had this happen before and found that reinstalling Windows will fix the problem but I would like a speedier solution. any help would be appreciated.
I am running out of licenses on my Pix 501, and the show local-host command lists a number of odd IP addresses that do not belong to my 10.10.1.* subnet. Any idea what they are? The only thing I could find was a potential ISP: DINSA is Defence Interoperable Network Services Authority, an agency of the Ministry of Defence of the United Kingdom. Does not sound right.
I don't see any active connections, though. I can't ping or traceroute these IPs, but they reappear after I clear the list, with various other addresses in that general range, up until the connection limit is reached. Based on the number denied, I suppose I would have a lot more of them had I not the connection limit. Very dubious. Is anybody else seeing this?
pixfirewall# show local-host
Interface inside: 10 active, 10 maximum active, **118 denied**
local host: <10.10.1.110>,
TCP connection count/limit = 0/unlimited
TCP embryonic count = 0
TCP intercept watermark = unlimited
UDP connection count/limit = 0/unlimited
AAA:
Xlate(s):
Conn(s):
local host: <10.10.1.176>,
TCP connection count/limit = 0/unlimited
TCP embryonic count = 0
TCP intercept watermark = unlimited
UDP connection count/limit = 0/unlimited
AAA:
Xlate(s):
Conn(s):
local host: <10.10.1.170>,
TCP connection count/limit = 0/unlimited
TCP embryonic count = 0
TCP intercept watermark = unlimited
UDP connection count/limit = 1/unlimited
AAA:
Xlate(s):
Conn(s):
local host: <10.10.1.175>,
TCP connection count/limit = 11/unlimited
TCP embryonic count = 0
TCP intercept watermark = unlimited
UDP connection count/limit = 1/unlimited
AAA:
Xlate(s):
Conn(s):
local host: <10.10.1.108>,
TCP connection count/limit = 0/unlimited
TCP embryonic count = 0
TCP intercept watermark = unlimited
UDP connection count/limit = 0/unlimited
AAA:
Xlate(s):
Conn(s):
local host: <25.33.41.115>, // ???????????????? what is this?
TCP connection count/limit = 0/unlimited
TCP embryonic count = 0
TCP intercept watermark = unlimited
UDP connection count/limit = 0/unlimited
AAA:
Xlate(s):
Conn(s):
local host: <25.33.226.124>, // ???????????????? what is this?
TCP connection count/limit = 0/unlimited
TCP embryonic count = 0
TCP intercept watermark = unlimited
UDP connection count/limit = 0/unlimited
AAA:
Xlate(s):
Conn(s):
local host: <10.10.1.172>,
TCP connection count/limit = 0/unlimited
TCP embryonic count = 0
TCP intercept watermark = unlimited
UDP connection count/limit = 0/unlimited
AAA:
Xlate(s):
Conn(s):
local host: <25.36.114.91>, // ???????????????? what is this?
TCP connection count/limit = 0/unlimited
TCP embryonic count = 0
TCP intercept watermark = unlimited
UDP connection count/limit = 0/unlimited
AAA:
Xlate(s):
Conn(s):
local host: <10.10.1.109>,
TCP connection count/limit = 0/unlimited
TCP embryonic count = 0
TCP intercept watermark = unlimited
UDP connection count/limit = 0/unlimited
AAA:
Xlate(s):
Conn(s):
pixfirewall#
At my office we've got 2 Dell XPS M1530 laptops. Both have been running up to date installations of Windows 7 with NOD 32 Anti Virus for months now with no problems. Last week however both started freezing with "Not responding" issues every few minutes when browsing the web. It doesn't matter which browser, the latest versions of Firefox, Chrome and IE8 all do the same. After a few minutes the browser "wakes up again" but freezes again very soon.
I suspect it's an OS update issue, a driver/OS conflict or something. Anybody got a solution for this?
5 minutes after I turn on my PC the onboard graphics card is usually over 80° celsius and then crashes (random colors on screen, only way to get out is to just plug out the pc).
I haven't installed any new drivers or added/changed hardware recently
Everything went fine until yesterday
What should I do next? Do I have to buy a new mainboard right now?
There is no fan on the onboard graphics card, only a heatsink.
Is it possible to change the connection type in Windows 7? I have a OpenVPN connection which is identified as "unidentified network" and I do not want to apply certain rules to all unidentified networks in the firewall.
How does one conquer this?
Hello everybody,
Recently I have had a MainBoard-problem. I've send my mainboard to service and today I got it back from the company. It is a Foxconn 520a mainboard. Now I have installed my exchanged mainboard. But now I have a problem. My system boots until the device list with IRQ entries appear. The system says "Verifying DMI-pool-data..." and nothing happens. The IRQ-device list shows that the memory-controller is not available. All other devices have got an IRQ.
Bus No. Device No. Func No. Vendor/Device Class Device Class IRQ
0 0 0 10DE 0547 0500 Memory Controller NA
Do you have any ideas where the problem could be? I already have disconnected all unnecessary devices like the hard disks.
Perhaps it is a BIOS problem, but I don't know where I should look.
Would be nice if there is any advice,
Greetings,
Martin
It is very expensive always to use most modern hardware especially buying new mainboard if only a new CPU is desired. It would be much better if one knows whether and when major CPU producers plan to change CPU sockets. Do you know when it is planed to change sockets the next time? I am particularly interested in not buying Intel i7 CPU if a new CPU will be released soon with not compatible pins.
I have an old Shuttle barebones SN21G5 (AMD 64), and I really need a more modern chip in there.
Is there a way of swapping out the old mainboard and putting in one of those new fangled phenom mainboards in there?
I hope I can get some new ideas to solve the issue. What I have:
AMD Phenom II X4 905e Box, Sockel AM3
Gigabyte GA-MA790XTA-UD4, AMD 790X, AM3 ATX
WD Caviar GreenPower 1,5TB SATA II
4GB Kit OCZ DDR3 PC3-10666 Platinum Low-Voltage CL7
HIS HD 4670 iSilence4 DDR3 1024MB Native HDMI Dual-DVI, PCI-Express
Behavior: Everything works normally excepting the HDD accesses. The drive seems to get stuck in reading data (LED drive by Mainboard is on for a while) then recovers and goes on. There is a delay of more than 30s sometimes. Often it is a matter of 5-10s. This does not seem related to the workload of the disk.
What I tried so far:
Use different SATA port: I switched from the SATA3 to SATA2 then the SATA driven by the CPU, no difference.
Turned AHCI off, drove the SATA in IDE mode, same behavior, now I felt like the HDD has problems
Deactivated energy saving settings (BeQuiet, ...), disabled 3 CPUs (msconfig) supposing some race condition or trouble with changing freqs, same trouble
With Windows7 Professional 64Bit, I installed the hotfix http://support.microsoft.com/?scid=kb%3Ben-us%3B976418&x=8&y=9 with no success. The problem description matches what I experienced, so I felt lucky but was quite in a sad mood after being deceived.
Burned the DLG 5.04f DataLifeGuard CD from WD to check the drive. All tests passed, to my surprise!
Installed an Ubuntu on the same drive i386 flavour. Drive still in IDE mode, exactly the same behavior. So the OS does not matter.
What I did not try yet:
http://www.gigabyte.eu/Support/Motherboard/BIOS_Model.aspx?ProductID=3263 I have a F2 BIOS and there is a F3a Beta, did someone have similar issues that were solved by this update? It is a beta so I fear upgrading a bit and I could find no release notes at all on the net, not really serious work maybe they had issues translating from Chinese???
Using another HDD drive
Does someone have other hints or a similar issue? Maybe it is neither the HDD nor the Mainboard/BIOS?
I know there are many question about that, but I tried everything and I'm still not able to make my bios see my sata2 hdd.
I've got a QDI motherbord with no sata port; only 2 ide ports.
I had an old ide hdd, now i've removed it and bought a sata2 hdd. Since my pc has no sata slots i bouth a ide-to-sata adapter.
So, i don't have any os installed on the new drive, and the old drive is removed.
My problem is that I'm unable to see my hdd on bios. I suppose that my bios, since it's an old version, doesn't have sata drivers, but I don't know if I must install it and also I dont know how to do it.
Anyone can help me?
Hi all,
thanks for reading.
I just set up a fresh install of Windows Server 2008, and have a favorite links pane above folders in my Explorer. I know I can drag folders over it, but it comes back, and looks funky.
How can I really just disable that? Anyone know where it is in the registry?
Thanks!