February 19

My top 10 Gedit plugins

Gedit can be a really awesome editor if you give it a few plugins and an open mind. Here are a few of my favorites.

  1. MultiEdit - This bad boy lets you edit in multiple locations by only typing once. You would be AMAZED at how useful this is.
  2. Snippets - One of the default plugins, this one is sort of hard to explain because it does so much. It lets you create shortcuts for code that are expanded when you hit tab, but it also includes support for placeholders, wrapping text in tags, and lots of other crazy stuff.
  3. Zen Coding - This one’s my own, but the magic really comes from the Zen Coding library. Zen Coding lets you write a sort of HTML and CSS shorthand which is evaluated and expanded. Here’s a video to explain.
  4. AutoTab - A really simple plugin that tries to figure out the tab width of the current document, and sets Gedit to use that.
  5. Line Tools - Gives you some shortcuts to do stuff like delete current line (CTRL+D), duplicate current line (CTRL+SHIFT+D), move selected lines up/down (ALT+UP/DOWN), etc. Really, really useful.
  6. Save Without Trailing Space - Automatically strips any whitespace from ends of lines when you save, and can also add a blank line at the end of the file upon saving. Really useful for patches to projects like Drupal which reject patches with extra whitespace.
  7. Tab Switch - Lets you switch between tabs using the commonly used CTRL+TAB and CTRL+SHIFT+TAB.
  8. Todo - Gives you a little window that displays any TODO items in your code comments, among other keywords. Really handy for catching up on what you were working on the day before or keeping track of places to improve.
  9. External Tools - Gives you the ability to execute any command on the current document or selected text. The possibilities are endless with this one. Perhaps you want to validate your PHP syntax or run your HTML through HTMLTidy or check your JS with JSLint, etc.
  10. Pastie for Gedit - Lets you create a pastie (see http://pastie.org) out of the currently selected text. Great for sending snippets to people quickly.
Posted 11:26 AM | 4 Comments
February 18

Tweet!

@mcrittenden: OH: When interviewing a DB admin applicant, we asked “what do you think of MySQL?” He replied “how would I know anything about your SQL?”

Posted 02:46 PM | 0 Comments
February 17

Tweet!

@mcrittenden: Zen-coding Gedit plugin now supports CSS snippets and automatic tab detection: http://github.com/mikecrittenden/zen-coding-gedit

Posted 04:19 PM | 0 Comments
4364575083b9da597edfo.jpg

Random flower somebody gave us.

Posted 08:25 AM | 0 Comments
February 16

Tweet!

@mcrittenden: I just found out that ‘sudo’ should be pronounced ‘soo doo’ (as in ‘SuperUser Do’), not ‘soo doe’ …this changes EVERYTHING

Posted 08:51 AM | 0 Comments

QUOTE: You know how sometimes if you mistype a filename in Bash, it corrects your spelling and runs the command anyway? Such as when changing directory, or opening a file.

I have invented Suicide Linux. Any time - any time - you type any remotely incorrect command, the interpreter creatively resolves it into “rm -rf /” and wipes your hard drive.

It’s a game. Like walking a tightrope. You have to see how long you can continue to use the operating system before losing all your data.

— via Suicide Linux

Posted 08:13 AM | 0 Comments
February 15

Charlie’s latest ultrasound. We put our wedding music to it since we’re dorks like that.

Posted 05:06 PM | 0 Comments

Tweet!

@mcrittenden: If anyone’s using Gedit and writes a good bit of HTML, try out this plugin I’m working on: http://bit.ly/byeLB1

Posted 04:58 PM | 0 Comments

A Gedit plugin for Zen Coding

Zen Coding is a pretty sweet set of tools for HTML and CSS that allows you to code things in a short of code shorthand, hit a magic button, and it expand to regular old code.

If you’re interested, here’s a demo video of it.

Sadly, there’s no official Gedit plugin for it, but Stuart Langridge hacked up a quick plugin a few months ago. However, it left a bit to be desired, and he didn’t seem to interested in maintaining it.

Therefore, I’m continuing development on it myself. I’ve fixed a few bugs and refactored a couple parts, and I’m hoping to turn this into a really nice plugin.

The code is all at GitHub, so feel free to download, drop it into your Gedit plugins folder (see the README file for more info), and try it out.

Posted 03:49 PM | 0 Comments
February 12

Tweet!

@mcrittenden: Follow @bluetripcss for updates to BlueTrip’s GitHub repo.

Posted 09:58 AM | 0 Comments
Page 2 of 31 ← Previous Next →

WTF?