Find files containing text:
grep -i -n 'foo' *
Find files containing text and replace them with something else:
sed -i 's/foo/bar/g' *
Find files containing text:
Find files containing text and replace them with something else:
#! /bin/bash
startx
clear
exit
xscreensaver &
exec opera -kioskmode -noexit -nomenu -nosysmenu etc...
Re: How to Create Local Repository on Hard Disk
I'll describe a few steps I made to construct my personal repository. My current setup is:
- Ubuntu 'Warty' installed with Internet access (at work)
- Ubuntu 'Warty' installed without Internet access (at home)
Using the usual Ubuntu repositories, I updated the system and installed some packages I wanted (ruby, apache, mysql, etc). You don't need to install that on the host system, just use the apt-get's download only option. All files downloaded from repositories are in the /var/cache/apt/archives directory in the host system. I did these steps:
1. Created /opt/repo directory (could be the home directory)
2. Created the directory /opt/repo/binary (copied from Debian specs)
3. Copied all debs from my update from /var/cache/apt/archives to /opt/repo/binary
4. Executed dpkg-scanpackages like this:
# pwd
/opt/repo
# dpkg-scanpackages binary /dev/null | gzip -9c > binary/Packages.gz
5. Burned a CD with its contents
For use that in my standalone host, I did this:
# apt-cdrom add
...
I think it's all.
Cya.
Just recently bought a tablet pc and I just want to slam it on the wall and rip it into pieces, the cause of my woes... Vista! It's slow as fuck... copying a single 700mb took forever, my media server (500mhz pentium II running ubuntu beat it!) It also drained the battery by doing system restore every couple of fucking minute! Had to turn it off as it was trashing the hard drive.
HP's wireless assistant is also crap, in fact HP installed so much crap on it, its annoying. My wife hated it, each time she'd restart or resume from sleep the damn thing can't find the wireless!!! The tablet I'm talking about by the way is the HP Pavilion TX1410US.
http://www.amazon.com/Pavilion-TX1410US-Laptop-Processor-Premium/dp/B0010S2P9A
This thing also runs hot, I should have probably sticked with my instinct and bought a Core2Duo laptop. In fact I'm gonna return the damn thing and get me a Core2Duo, AMD has been doing a lot of sucking lately. And its not light either, the touchscreen is annoying, it has some sort of matte that makes the screen wobble when you move from side to side.
The touchscreen is not so great, I have a wacom tablet and this thing is no wacom. I think I'll stick to my wacom for my graphic needs.
Vista = Crap piece of shit
HP TX1410US = 3 of 10 ( too fucking hot, literally will burn your lap)
Firefox 3 Beta 5, is now out, but you should probably wait before updating to the newest release. Cause this one breaks a lot of plugins and not even the lifehacker hack can enable them. Adblock appears on the toolbar but is completely worthless, it DOES NOT work!!!
Fix it!!!!Fix it!!!! Fix it!!!! Fix it!!!! Fix it!!!! Fix it!!!! NOW!!!
-New member regretfully posts that his car has been stolen by someone with a fake ID that took a permanent test drive. Describes vehicle and thief.
-Thief encounters another forum member at Chinook mall, member recognizes stolen vehicle as described in this post. Snaps pictures, posts on beyond. Even in a city of 1 million people, thief is spotted within hours due to internet exposure
-Thief is found on facebook using said pictures, recognized by multiple members
-Full name, address, and workplace is found via facebook
-Multiple forum members drive to known address at 2:30am, car is parked outside. Dude peeks out the window, sees posse, gets scared.
-Car disappears at some point.
-Another member drives by later, finds car. Boxes car in, calls cops, calls rightful owner
-Hilarity ensues
-Cops show up 2 hours later, pictures and youtube video posted of stolen car, and Dr. Claw the fail car thief getting arrested
-Car is now safe at home, back up for sale, with a new test drive policy. Bonus: Thief leaves $22 in change, and a shitty wanksta hat.
Link is passed around to virtually every forum worldwide within hours, checking in to show community support. Appears on front page of digg.com.
Dumb thief LOL serves you right motherfucker!
Daniel_K: We are aware that you have been assisting owners of our Creative sound cards for some time now, by providing unofficial driver packages for Vista that deliver more of the original functionality that was found in the equivalent XP packages for those sound cards. In principle we don't have a problem with you helping users in this way, so long as they understand that any driver packages you supply are not supported by Creative. Where we do have a problem is when technology and IP owned by Creative or other companies that Creative has licensed from, are made to run on other products for which they are not intended. We took action to remove your thread because, like you, Creative and its technology partners think it is only fair to be compensated for goods and services. The difference in this case is that we own the rights to the materials that you are distributing. By enabling our technology and IP to run on sound cards for which it was not originally offered or intended, you are in effect, stealing our goods. When you solicit donations for providing packages like this, you are profiting from something that you do not own. If we choose to develop and provide host-based processing features with certain sound cards and not others, that is a business decision that only we have the right to make. Although you say you have discontinued your practice of distributing unauthorized software packages for Creative sound cards we have seen evidence of them elsewhere along with donation requests from you. We also note in a recent post of yours on these forums, that you appear to be contemplating the release of further packages. To be clear, we are asking you to respect our legal rights in this matter and cease all further unauthorized distribution of our technology and IP. In addition we request that you observe our forum rules and respect our right to enforce those rules. If you are in any doubt as to what we would consider unacceptable then please request clarification through one of our forum moderators before posting. Phil O'Shaughnessy VP Corporate Communications Creative Labs Inc. Forum Moderator Creative LabsUsed to liked Creative, but I guess now I would be staying away from them and actually I would refrain from ever recommending their products ever again, to anyone!!! What's sad about this is that them admitting that they knew the devices would have worked on vista but decided not to make it work, but instead sell something that would make it work. But here is this guy who made it work for free, some are saying he shouldn't take donations, well fuck them, everyone has to eat!