This is the simplest way I know to get samba up and running. This isn’t the most secure, best, smartest, etc. It’s just for testing and getting up and running as quickly as possible.
If you like the standard window decorations and dont need/want to create your own buttons to handle custom events, closing a dialog without destroying it is a simple one-liner in pygtk. This is helpful when you have logic that replaces individual widgets inside a dialog and you don’t want to recreate the whole dialog.
Looking for all the libraries passed to the linker in Makefiles or some other minus-L thing? The easiest way around this is to escape the minus sign.
Can’t install new rpms using yum? Update won’t work? Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again. Chances are if you’re seeing this error message the repository files are not the problem.
Using boost to convert one type to another. Take int8_t integer for example. Will this even work? No, because int8_t is a char. You will get a bad_lexical_cast exception. You must static cast to an integer type first:
You don’t need calculators or other languages and compilers to do math. You can do a lot in bash (GNU Bourne-Again SHell), and it’s really easy!
Here’s a simple trick to figure out where your python libraries are stored.
You can go to http://www.nltk.org and download NLTK and all the extras - pyyaml, matplotlib, etc. However, these packages are now in the Fedora repositories which makes it a dead simple task to install.
If you have two or more monitors, whenever you first open your terminals, you may find yourself opening more than one and rearranging their placement. Over time you may notice you’re performing the same repetitive task of relocating each window to it’s rightful place. It only takes a minute or two to create panel icons for opening each window using geometry settings defining width, height, and upper left hand coordinates for future placement. If you keep your panel icons in order, whenever you want to open a new one, you’ll know exactly which button to press.
In almost all high level languages you can do something similar to x++ to increment an integer counter. Bash doesn’t have an incrementer, but you can still make your own integer counter using back-ticks and expr.