All Posts
Longest line in a file
Im looking for a simple way to find the length of the longest line in a file Ideally it would be a simple bash shell command instead of a
Make Git automatically remove trailing white space before committing
Im using Git with my team and would like to remove white space changes from my diffs logs merges etc Im assuming that the easiest way to do this would be for
Material effect on button with background color
I am using Android v21 support library I have created a button with custom background color The Material design effects like ripple reveal are gone except the
Microsoft Web API How do you do a ServerMapPath
Since Microsoft Web API isnt MVC you cannot do something like this var a RequestMapPath nor this var b ServerMapPath because these are under the SystemWeb
MongoDB How to find the exact version of installed MongoDB
I have mongoDB 32 installed locally for Windows 7 I would like to find out its specific version like is it 321 or 323 or How could I find it If I open the
Pod install is staying on Setting up CocoaPods Master repo
Im cloning a project from a git repo but when I execute pod install the first line I see is Setting up CocoaPods Master repo and after that I cant see anything
Preprocessor directives in Razor
I am writing my first Razor page today and cant figure out how to enter if debug else endif How can I do that in
Prevent HTML5 video from being downloaded right-click saved
How can I disable Save Video As from a browsers rightclick menu to prevent clients from downloading a video Are there more complete solutions that prevent the
Quick unix command to display specific lines in the middle of a file
Trying to debug an issue with a server and my only log file is a 20GB log file with no timestamps even Why do people use Systemoutprintln as logging In