One thing that can be helpful in OSX if you take a ton of screenshots like I do is to modify the default save location. While this is easy to do it does need to be done from a terminal window but likely it will save you lots of time. Use the information below to modify the default save location for screenshots in OSX.
Tags: com.apple.screenshot, default save location, documents, file, lion, location, OSX, path, screenshots, shift-command-3, shift-command-4
Posts Tagged “file”Earlier today while investigating the logs on a CentOS Linux server I noticed the btmp file had grown to over 5GB. I was curious to look into the log and when attempting to read the 5GB file using last I received an error since last will only handle files that are 2GB in size or less. So what needs to happen is to split the file into multiple pieces so they can be read via the last command. Below I describe the error in detail, how to resolve it by splitting the btmp file into multiple files, and then how to join them together if you need to read logs older than the last split file. Tags: 2GB, 5GB, btmp, CentOS, epel, error, file, file size, file too large, last, lastlog, Linux, logrotate, lxsplit, split, yum
Oct
25
2010
WinRAR Extract Error: Total Path And File Name Length Must Not Exceed 260 CharactersPosted by alex in ErrorsYesterday when extracting a ZIP file created with WinRAR I received dozens of errors during the process. The file I was extracting was generated from the entire Documents and Settings folder on a Windows XP computer and I was extracting it to the Desktop of another user on another computer. The issue is the fact that the path and/or filename exceeded the 260 characters which is set by WinRAR. Below I show some output from the errors received as well as two tips that should help resolve the problem. Tags: 260, 260 characters, compress, decompress, documents and settings, error, extract, extraction logs, file, filename, folder, path, rar, windows, windows xp, winrar, xp, zip
Sep
30
2010
Photoshop CS5: Replace The Entire Color In An Image With PhotoshopPosted by alex in InsightsI have been working on a WordPress site for a client of mine and typically use the same theme called Mandigo which offers seven different color schemes. In this specific case my client wanted a color theme outside of the seven color schemes that are offered by default so I needed to modify each of the icons to reflect the requested color scheme by the client. Below are instructions on how to modify all of a specific color in an image to a new color using Adobe Photoshop CS5. Tags: adjustments, adobe, adobe photoshop cs5, color, cs5, file, fuzziness, image, marquee tool, modify color, photoshop, rectangular marquee tool, replace color, select target color, switch colorI have had a lot of questions lately about making patches. On Backtrack we get a lot of user submissions and many times we need a patch rather than a modified source file. The reason being is that a patch can be documented and contains the specific changes made to the source file and can also be easily reverted. Patching is also crucial if you fix a bug in a program and would like to submit the fix to the author. In any case being able to create a patch is very useful if you are working with Linux or any sort of programing stuff. I decided to make a short post on how to make a patch and apply it: Tags: bash, c++, diff, file, Linux, patch, programming, python, security, source, submit |









Entries (RSS)