I have a lot of subdomains in the main domain xxx.zzz
So, for this domain, I can have
aaa.xxx.zzz
bbb.xxx.zzz
ccc.xxx.zzz
ddd.xxx.zzz
eee.xxx.zzz
....ETC....
Istead of adding each subdomain in the host file, I would like to add only the main domain xxx.zzz and then to be able to access all the subdomains.
I have tryed with *.xxx.zzz but apparently, this will not work (Linux or Windows).
Any idea is welcome. Thank you very much.
I'm following a video tutorial where the author (who uses textmate) can open files by using "mate". for example mate .git/config will open this config file
I'm using textwrangler however so I don't have that option. I did try edit .README once when i tried to open the README file of an application, but it opened a blank README file in textwrangler instead of the file with the text in it
so any idea how I can open this .git/config file (or any other file) using textwrangler?
I'm using Mac snow leopard
I have used Puttygen to create a public and a private key, and then is ready to let TortoiseHg on Windows 7 do a clone by going to
ssh:[email protected]/somecode
but there seems to be no where to add the private key to TortoiseHg?
The file is already some where on hard disk as somefile.ppk Does someone know how to add it?
I am relatively new to the mac, and other than writing python scripts I can't figure out how to automate certain tasks like I would have in windows with a batch file.
Pointers and links to documentation would be appreciated.
I access a lot of files from a certain directory which is not ~ but say:
D:\Mijn documenten\My Dropbox.
What is the quickest way to 'find' a file in that directory within a new Emacs session? Using bookmarks?
I'm running apache2/passenger2.0.3 (ubuntu 9.10 packages).
I can start up Webrick in the rails folder and run the app perfectly as I do on my development box with
script/server
Why then does apache/passenger fail to open the database, throwing a 500 and putting the following in the log?
Status: 500 Internal Server Error
could not open database: unable to open database file
/usr/lib/ruby/1.8/sqlite3/errors.rb:62:in `check'...
Hello all,
I have a powerpoint presentation on my website saved as htm file, an I am tring to open it not in my browser but in powerpoint on click.
Is there a possible way to do this ?
I want to get rid of them all.
For a li'l explanation on what field. Go into the search of file, move into the field with that name and without writing anything else, press the down arrow (you have to had used it before).
I am looking for an example for a nautilus (fie manager) connect to service custom location.
$ nautilus
Activate connection editor:
File>Connect To Server...>
I am looking for an example or two for "Location" in the pop up:
Service Type: [Custom Location]
Location: [???]
[x] Add bookmark
Bookmark name: [xyz]
<Connect>
I've got some files for a project that's due in a few weeks. The guy sent them in a zipx file. How would I extract the files from a zipx on OS X or Linux?
I like to configure my keys my way, so I wrote a keyboard symbols file and I put it in /usr/share/X11/xkb/symbols/cat
I use it by running setxkbmap cat -variant dvorak (and it works), but it doesn't show up in the console configuration (dpkg-reconfigure console-setup) nor in the Gnome keyboard settings... nor anywhere else, so I have to run setxkbmap every time.
I suppose that I have to register it somewhere, but where? Any hints?
Thanks!
I want to add a 1.5 - 2 TB hard drive to a Linux file and backup server we have in the office.
Will it make a difference if I'm using 5400 RPM vs a 7200 RPM hard drive? I was thinking about getting a Western Digital Green Drive or Samsung Ecogreen or similar.
Was playing with tftp and screwed up something in boot sequence. Eth2 fails to start at boot but allows to be restarted manually. Can not find error message in logs... so, which log file on ubuntu server would show why network interface (eth2) failed to up during boot process?
I am relatively new to the mac, and other than writing python scripts I can't figure out how to automate certain tasks like I would have in windows with a batch file.
Pointers and links to documentation would be appreciated.
How do I use a period in a Quicksilver object to do things like search for a file with a period? By default pressing period anywhere in an object causes Quicksilver to switch to text mode.
Optimally I would like period to only enter text mode when its at the start of the object. Or perhaps there is a wildcard I can use (* doesn't seem to work and . obviously doesn't :). Or perhaps there is an escape sequence for period?
In Linux, I'd like to know how to find the file(s) if any which as using a particular sector on the hard drive. There is a similar question here regarding Windows, however I need a Linux command line solution (this is a headless system).
I'm looking for a way to set a group of File Types to "Index Properties and File Contents" (Control Panel, Indexing Options, Advanced Options, File Types).
Basically I'd like to write a batch file that switches that setting for a large group of file types and be able to share it with my entire team. Clicking in the UI is time consuming for everyone.
This is a great solution for bringing up the GUI, but I'd like to create a batch file
What is the command line for Indexing Options?
I have an hourly cron job that copies about 40GB of data from a source folder into a new folder with the hour appended on the end.
When it's done, the job prunes anything older than 24 hours. This data changes very often during work hours and is on a samba file share. Here's how the folder structure looks:
\server\Version.1
\server\Version.2
\server\Version.3
...
\server\Version.24
The contents of each new folder compared to the last one usually doesn't change very much, since this is a hourly job.
Now you might be thinking that I'm an idiot for setting dreaming this up. Truth is, I just found out. It's actually been used for years and is so incredibly simple, anyone could delete the ENTIRE 40GB share (imagine that dialog spooling up... deleting thousands and thousands of files) and it would actually be faster to restore by moving the latest copy back to the source than it took to delete.
Brilliant!
Now to top this off, I need to efficiently replicate this 960GB of "mostly similar" data to a remote server over WAN link, with the replication happening as close to real-time as possible -- think hot spare, disaster recovery, etc.
My first thought was rsync.
Total failure.
Rsync sees it sees a deletion of the folder that is 24 hours old and the addition of a new folder with 30GB of data to sync! I also looked at rdiff-backup and unison, they both appear to use similar algorithms and do not keep enough meta-data to do this intelligently.
Best thing that I can find "out of the box" to do this is Windows Server "Distributed Filesystem Replication" which uses "Remote Differential Compression" -- After reading the background information on how this works, it actually looks like exactly what I need.
Problem: Both servers are running Linux. D'oh! One approach to this I'm looking at is this, say it's 5AM and the cron job finishes:
New Version.5 folder arrives at on local server
SSH to remote server and copy Version.4 to Version.5
Run rsync on the local server pushing changes to the remote server. Rsync finally knows to do a differential copy between Version.4 and Version.5
Is there a smarter way to replicate Samba shares as close to real-time as possible?
Anything out there that does "Remote Differential Compression" on Linux?
I know that this would be impossible for an ordinary user. But here we are super users. Any trick that can delete a file that is currently in use in Windows?
I downloaded some wedding photos into my external drive about a month ago. A total of 3 cards were downloaded into 3 different files. The first file lists all of the photos, about 600 images, but they have zero bytes. The other 2 files are fine. I can't recover the compact flash card because I have used it too many times since then. Is there any way to recover the images on my drive?
I search for any tool or batch command that allow me to copy file /folder from my local machine in a domain to a location in another remote server in different domain ?
I have used Puttygen to create a public and a private key, and then is ready to let TortoiseHg on Windows 7 do a clone by going to
ssh:[email protected]/somecode
but there seems to be no where to add the private key to TortoiseHg?
The file is already some where on hard disk as somefile.ppk Does someone know how to add it?
I tried using the comments feature in Windows Explorer in Windows 7, but I only get the option to add a comment only for certain file types like photos.
Is it possible to add comments to other files that I work on like Photoshop files.