Hi,
How can I use 'grep' to get lines start with '* ' in my file?
I tried grep "" myfile
I tried grep " " myfile
but returns all the lines of my file.
Thank you.
When my Windows 7 Starter netbook boots up and after everything is loaded, it takes about five minutes before the network icon near the clock becomes functional. When there's an available wi-fi signal (which automatically connects to my netbook as preconfigured) after the boot, my netbook seamlessly connects to it even if the network icon cannot be…
I connect to my network using VPN.
I have screen running and 'ssh' to a server. I then kill my shell and I was able to 'resume' by 'screen -r'.
This works as expect.
But when I disconnect VPN and re-connect VPN, and type 'screen -r' again. I was not able to get my last screen again. And I see "Write failed: Connection reset by peer46.11 MiB | 642…
According to Microsoft (KB980513), Windows Mobile Device Center can't sync with Outlook 2010 64-bit. I use Outlook as a POP client, no Exchange. My question is can I install Outlook 2007 (32-bit) without messing up the 2010 installation? Will they share the .pst file?
I work in a command prompt quite often and around many large (remote) log files. Unfortunatelly, the sizes of these files do not update as the logs grow, unless it would appear the files are touched. I usually use hacks like the following from Cygwin to "touch" the file so that its file size updates:
stat file.txt
or
head -c0 file.txt
Are…
I've heard of folks having a sort of "software repository" which contains a database of product keys and then network installation media for operating systems and other Microsoft software, such as Office.
With this, they were then able to join a computer to the domain and grant that user privileges to a set of software and then the client was…
I have a windows program that accesses a device connected to a LPT (1-3) 25 pin port. The communication is bidirectional, and I suspected the control lines are also accessed directly.
I would like to migrate the device to a machine that does not have a LPT port.
I saw the dos2usb software, but that takes the output (from a DOS program) and…
I am trying to use OpenVPN to access the internet over a secure connection.
I have openVPN configured and running on Amazon EC2 in bridge mode with client certs. I can successfully connect from the client, but I cannot get access to the internet or ping anything from the client
I checked the following and everything seems to shows a…
Does someone able to get Apple Magic Mouse working under Ubuntu 9.10? I can upgrade to 10.04 if I need to get Magic Mouse to work.
I read this answer, but it does not say what is the solution for getting the multi touch working for ubuntu
We have a problem with our LSI 9266 controller. LSI have vmware drivers which normally show the health status of connected drives, raid controller, battery etc from within the vSphere Client. This driver also allows connectivity from the LSI MSM utility from a windows workstation.
The problem is as soon as I connect my intel 520…
I'm searching for a secure and easy way for business partners to collaboratively edit and exchange documents, share calendars, create schedules, and assign tasks. I speculate that the ideal collaboration environment or work-flow would actually involve several technologies and services. My co-workers and I have tried a variety…
My windows laptop is directly connected to 192.168.1.0/24 (wireless lan). I access 10.21.0.0/16 though a router that is connected to both networks. The routing works fine with this configuration.
I have a VPN, that connects to 10.0.0.0/8. The VPN network doesn't actually use any IPs in the 10.21.0.0/16 range. So I should…
What is the best way to provide a common drop box for all users, so that any user that is a part of a particular group can read and write to and from the directory? I thought of creating a directory outside of the /home directory, creating a group specifically for accessing the directory, then adding all desired users to…
I've been working on this for a while and can't seem to find any solution.
I have varnish sitting in front of my nginx server, with CloudFlare sitting in front.
When I issue a curl -X PURGE host CloudFlare picks it up and of course denies it with a 503 error. If I use direct.host to bypass CloudFlare it hits the…
I have a current website on an Apache server (foo.com) and I want the same server to serve a new site (bar.com), is this the correct way to setup my virtual hosts?
<VirtualHost *:80
ServerName foo.com
ServerAlias www.foo.com
Include conf.d/foo.conf
</VirtualHost
<VirtualHost *:80
…
I'm trying to use role based security plugin in Jenkins, but i'm not sue i am using it right.
I've decided to go with jenkin's own user database as a security realm instead of LDAP. i'm adding the users one by one.
Now in the Assign Roles screen, i have global roles like administrator, read only etc... and…
Background
I own a company which does a lot of FedEx Ground shipping. We have a 3rd party fulfillment center, which stores some of our inventory and at our request ships it. Zebra/Thermal printers are the most cost effective shipping label printers available and our 3rd party fulfillment center has one. I…
I have 2 directories each with a .htaccess file:
html/.htaccess - There is a rewrite in this file to send almost everything to url.php
RewriteCond %{REQUEST_URI} !(exported/?|\.(php|gif|jpe?g|png|css|js|pdf|doc|xml|ico))$
RewriteRule (.*)$ /url.php [L]
and html/exported/.htaccess
AuthType Basic…
I'm running VMWare Fusion on Snow Leopard. I'm looking for instructions on how to patch the VMWare settings files so it will let me install Snow Leopard client as a guest OS.
Please Note: Links to hacks on how to do this is not allowed on SU. Only officially sanctioned Apple or VMWare solutions…
My current setup is:
* Dual GTS 250 video cards
* 3 Monitors
* Used nvidia-settings to run each monitor as a separate x session
* This is all running on Linux Mint Debian Edition
When running games (Starcraft II) in Wine via PlayOnLinux, I've found that the mouse does not get locked. I already…
I am able to run lighttpd on ubuntu 9.10.
But when i tried to setup fastcgi with lighttpd by putting this in the ligttpd.conf file:
#### fastcgi module
fastcgi.server = ( "/fastcgi_scripts/" =>
(( "host" => "127.0.0.1",
"port" => "9098",
"check-local" =>…
Hi,
In my MacOS 10.5, it has set all my *.patch files to open with 'Notepad in Windows Via parallel'.
I have tried to change it by
1. click 'OpenWith..'
2. select 'TextEdit'
3. check the 'Always Open With' box
But still when I get new *.patch file, it will set to open 'Nodepad in Windows'…
I made my first dialog and AJAX work in jQuery and finally got everything working great - the dialog has a few buttons, cancel, save, and generate to get a new random string from the server. The problem is when I make the dialog modal (graying out the rest of the window), then in IE the…