jQuery IE Detection

Ask any web developer and 99.99% of them will say they hate IE. IE is always behind on adapting new features. Whether it’s new CSS or new HTML tags, it’s always been a pain in the butt. 

For many, many years, there was a way to add an IE only CSS style sheet. You could even target the version. Since the launch of IE 10 (I think it was 10–I could be off), they stopped allowing this. So how do you target IE layout issues?

SSH and Putty color schemes

I’ve been using Putty for SSH for over a year now. I really haven’t changed the default settings since using it. After having to live in SSH the last couple of weeks, I got seriously tired of the black background and dark blue colors. SO annoying. I tried to do a lot of research on how to change it via SSH and profiles and .dircolors. It just wasn’t working. I could get it to work temporarily when I sourced a file once but it never stuck. Tried it through Putty as well, but again, it never worked or the color scheme was replaced when I logged out and logged in. I was finally able to figure out what buttons to push and in what order thanks to one ServerFault thread that kind of shed light on it.

SSH and aliases

I’ve had one heck of a week at work. I was given a fresh server and was told to install PHP, mysql, GIT, and everything on it that’s required for my application so my app could function and be secure. I had to do this via SSH. One thing that I’m not very good at. Thank god I am surrounded by guys who rock at it and have more SSH experience than me. One thing I quickly learned: Aliases are freakin’ awesome.

jQuery and Pasting from the clipboard

Ever needed away to detect when a user copies and pastes something into your web application? I ran into this scenario where people were coping and pasting from Microsoft Word and when I tried to export the information using PHPWord, it would corrupt. Now, most of the special MS Word characters I was able to figure out how to replace when I was running the export except bullet points. They were going to be the death of me. I came up with another solution before the export. What if I run a check to see if bullet points were pasted in a textarea??