What if there’s no open file to be found, then what? If you were looking for some sort of media file, it might be easy to use a memory based distro with tools like photorec
10 tips, each summarized in a sentence or two. Speed up your WAN, Build a lab, know your apps, virtualization pitfalls, speed up backups, and more.
With rpmbuild, you can make custom packages for any architecture, but what if there’s no difference between the architectures in what you’re building. If you’re copying around something like scripts, docs or other text files that have nothing to do with 32 vs 64 bit or endianness, it’s easier and more efficient to create a single noarch package and just keep one copy of it in a repository.
This faq is the most useful pygtk resource you will find. The full documentation is great for looking up which methods to use or what’s available in one class or another, but it’s the little nooks and crannies that are always left out by most pygtk resource sites that I …
In udev rules, the %k, %b, %n variables are nice and all, but you can also use the variables you’re comparing and setting such as ID_FS_TYPE, KERNEL, SUBSYSTEM, PHYSDEVPATH, etc. When you run a command in a udev rule, there’s nothing stopping you from calling a shell and executing a few commands without actually calling a standalone script to do the dirty work. If you write out the array of environment variables from inside an external program, you can get a better understanding of just which part of the device discovery is matching your rule and getting processed.
Today, the logo on Google’s homepage changed to their first interactive doodle - a playable game of Pacman, and you don’t even need flash to play it. Yet another nail in the flash coffin? Hit Insert Coin again and you can play as Mrs. Pacman with the WASD keys while player 1 uses the arrow keys!
Object creation and deletion is handled for you, but have you ever thought about how it works, when is memory freed, etc.? Think of everything in python as an object. Even something as simple as this, and since’s its a string, you can invoke any string method. When you lose access to some object, that memory is freed on its own. If you assign a string to a variable, you will find the memory locations are the same. Calling __del__ only removes access to the object from the local or global namespace. It does not mean the memory location has been freed.
I haven’t run into this fancy little kernel output before. While automating the writing of partition tables and file systems to removable storage devices, I thought i’d test the case of a read-only file system. This error comes from trying to write a partition label to /dev/sr1 which is the cdrom device. *** stack smashing detected ***: unknown terminated. backtrace and memory map…
The idea that you can take a picture in an emergency situation and have it instantly uploaded is handy. If you were attacked by a mugger or witness some type of assault or accident, the pictures are instantly backed up online. But what about privacy issues? Putting your media online creates the potential for problems that are outside of your control.
If you’re running an older distribution of Linux or you just find that the kernel module is unavailable because your RealTek RTL series PCI-Express Ethernet card is just too new, then you’ll need to install the driver manually.