HOWTO: The quick way to use Twitter Bootstrap with Genesis

I love the Genesis Framework by Studiopress. And I love the Twitter Bootstrap Framework for creating “standard” web interfaces. There is so much that both the Genesis and Bootstrap frameworks get right when it comes to ease of use and consistency. Because I love them so much, I decided to start using them together to get great looking front-end layouts that Studiopress doesn’t provide out-of-box. I like having solid looking tables, buttons, and forms, so Bootstrap is a great way to get that easily and quickly.

Here’s the quick and dirty way to use Genesis and Bootstap together.

1. Download a custom package of Bootstrap

One of the main reasons that I use the Bootstrap framework on WordPress sites with Genesis is to get some of the sleek looking front-end look to buttons, tables, forms, etc. I don’t normally use the entire Bootstrap framework with Genesis, usually just tables and buttons, but if you want the entire thing you can do that too.

Go grab a custom package of Bootstrap here. First click the Toggle All button on the Choose Components heading. Then simply choose the following from the list:

  • Tables
  • Forms
  • Buttons
  • Icons

This will get us a good start. Next, click the Toggle All button on the Select jQuery Plugins. We don’t need any of these for this exercise. Scroll to the bottom and click Customize and Download. Next, unzip the file you just downloaded.

2. Move the Bootstrap files to your WordPress installation

I’m not going to go in depth on how to access your WordPress installation via FTP (you can find that elsewhere). Drill down to your Studiopress theme folder. In my case here at DevBurner, I use the eleven40 theme so I would go to:

/wp-content/themes/eleven40

Next, upload the entire bootstrap folder you just unzipped to the root of your theme directory.

3. Include the Bootstrap CSS file in your site’s header

I like to do this with the Genesis Simple Hooks plugin (if you don’t have it, install it from here or simply search for it in your WordPress installation via the Plugins > Add New). Once the plugin is activated, in your WordPress backend go to Genesis > Simple Hooks. In the hook for wp_head fill it in with this:

<link rel="stylesheet" type="text/css" href="/wp-content/themes/eleven40/bootstrap/css/bootstrap.min.css" />
<script src="/wp-content/themes/eleven40/bootstrap/js/bootstrap.min.js"></script>

Remember to replace the name of your theme folder with the one that you are using.

4. Now you are done, so test it out

Because of the little bit you did above you get some great stuff.

Nice looking tables by using the table CSS class for your tables.

<table class="table">
  <tr>
    <th>Title</th>
    <th>Description</th>
  </tr>
  <tr>
    <td>This is the title</td>
    <td>This is the description</td>
  </tr>
</table>

This markup creates this:

Title Description
This is the title This is the description

If you want to add a nice striped layout to your tables, just add the tabled-striped class to your table:

<table class="table table-striped">
  ...
</table>

You’ll get this:

Title Description
Great looking tables Are awesome
Great looking front-ends Are exciting for people to use
Great looking sites Are something people come back to again and again

You also get some great looking buttons by simply using the btn class on anchor links:

<a href="http://google.com" class="btn" >Go to Google</a>

The above yields:

Go to Google

You can also add some classes like btn btn-primary, btn btn-success, or btn btn-danger will give you:

Go to DevBurner

Go to Apple

Go to Microsoft

There is so much more you can do now with the power of the Genesis and Bootstrap frameworks combined. I highly suggest for you to check out the Bootstrap framework documentation if you want to utilize some of the great front-end enhancements it can bring to your website.

Anonymous MSFT developer admits Linux is faster than Windows →

Well, if you’ve used Linux for any length of time and compared its speed to that of Windows, this was a no brainer. What’s damaging is that this Microsoft OS developer brings to light just why Linux is faster. Not only does it show that Microsoft is misguided and in trouble if they keep going down this road, but it alarms me that they don’t give a shit about their operating system.

You know, the operating system that millions of people pay for their businesses to run mission critical applications and mail servers on. The operating systems that Microsoft charges asinine amounts of money for.

I wish that Linux would become much more viable in the next few years, and that major software vendors start to switch to if. In other words; I’ll keep dreaming.

Integrating Netbot with Launch Center Pro

When App.net was announced and Alpha was released, I was a tad apprehensive of getting involved. After Mr. Vardy talked me into it, I chocked up the $100, bought a developer account, and began to use the service.

I have fell in and out of using Alpha over the last few months, mostly because of the lack of a great iPhone and iPad client (that’s where I do most of my Twittering). Now that Tapbots have released Netbot (basically a clone of the look and feel of Tweetbot) for App.net, I’m all in.

And with Launch Center Pro being one of my favorite ways to do almost anything on my iPhone, I decided to share with you all of the nice URL shortcuts you can setup to make your App.net on iPhone experience a tremendous one.

The shortcuts

Note: If you have multiple accounts in Netbot you must fill in the ‘screenname’ variable with the account you want to use. If not, remove the ‘screenname’ variable and keep triple slashes ‘tweetbot:///’. Either way, you are good to go.

  • View your timeline: netbot://<screenname>/timeline
  • View your mentions (if you have search pages or other pages up, this won’t work for some reason in Netbot): netbot://<screenname>/mentions
  • Pull up a search screen in Netbot: netbot://<screenname>/search
  • Pull up a prompt in LCP and when submitted, search Netbot: netbot://<screenname>/search?query=[input]
  • Pull up a prompt in LCP and when submitted, search Netbot with clipboard contents: netbot://<screenname>/search?query=[clipboard]
  • Open a specific user’s profile (you can also use the [prompt] or [clipboard] variables here: netbot://<screenname>/user_profile/<profilename>
  • Open a new post screen in Netbot: netbot://<screenname>/post
  • Pull up a prompt and post it’s contents to Netbot: netbot://<screenname>/post?text=[prompt]
  • Post your clipboard text to Netbot: netbot://<screenname>/post?text=[clipboard]

As Netbot develops, I’m sure we will have more and more URL shortcuts to choose from. Here is a plain text version of all of these for easy copying on your iDevice ;) Enjoy!

 

Why I’m a Buffer Lover

I’m not much of a “service” user when the service is built on top of another service. I tend to find something like that useful for a little while, but then quickly go back to my old ways of using something. The only two services on top of services that I have enjoyed for any length of time are AwayFind (I highly recommend it if you want to get out of your email inbox all day) and my new found favorite sharing tool Buffer.

I love me some Buffer

I have been using Buffer now for the past 2 weeks and I have to say that I have fallen for it. Buffer is a service that allows you to schedule your Tweets, LinkedIn posts, App.net posts, etc. It’s simple, clean, has some great tools built around it (like a Chrome and Safari extension, email to Buffer, and bookmarklet) and allows me to be social and share cool things on three platforms with less effort.

I don’t like “planning” my Tweets or posts to Linkedin or App.net, but Buffer makes it enjoyable and something that isn’t annoying at all. In fact, There are three main things that makes me love Buffer so much.

  1. It helps me not to be annoying

    One thing that I noticed about the way that I tend to share on Twitter and the like, is that I go for a mad dash through Reeder at a set time during the day. If I see something I like in my RSS, I then post it instantly (usually with some sort of snarky comment).

    Instead of doing and berating my social networks with too much stuff, I can slow my pace down and have Buffer buffer for me. It plans out my shares over a matter of hours and makes me way less annoying. Nice.

  2. It allows me to buffer myself against myself

    Sometimes get trigger happy with sharing things and upon reflection, realize that I didn’t really want to share that thing. Or, better yet, I misspell something. Rather than push that out into my stream Buffer allows me to queue things up and then I can go back and review them to see if they are even relevant, important, or are spelled right.

    If I find that was I was going to share isn’t that important/cool/funny/neat, then I can delete. Ahh, saving my lame self from my lame self.

  3. It allows me to see analytics that matter

    Some analytics sites are way too much. What else would I possibly care about other than how many people clicked a link I sent out, who favorited it, or my “potential reach”. I’m pretty sure that nothing else really matters at all.

    Buffer does a great job of just showing me the little stats that I care about and nothing else. It keeps me out of analysis paralysis and allows me to simply take a quick look and be done. Sharing shouldn’t be a third job.

I will keep using Buffer and probably will have to buy access so I can get unlimited spots in my buffer. Or, you could click on this link here and try out Buffer and get me some free spaces. Now that’s shameless.

But seriously, Buffer has quickly changed the way that I share information via Twitter, LinkedIn, and App.net making things easier, more fun, relevant, and exciting. I love it and I am hooked.

What if You Get Hacked Hard?

Late last week during my twice-a-day skim of Techmeme I came across Matt Honan’s horrible tale of having his entire digital and cloud-backed life wiped out. His iPhone, iPad, and Mac were remotely wiped after the hacker got access to his Gmail as well as his Twitter account was taken over and then Gizmodo’s was taken over because of the links to the account. It took him days to get everything back to normal after working with Apple and other companies support.

What I still found to be perplexing is that here is a guy that is into technology but he didn’t have a decent backup of anything. Not even an image of his operating system. From the Wired story:

“Had I been regularly backing up the data on my MacBook, I wouldn’t have had to worry about losing more than a year’s worth of photos, covering the entire lifespan of my daughter, or documents and e-mails that I had stored in no other location.

Those security lapses are my fault, and I deeply, deeply regret them.”

Security hole? Yeah, but not everything

I do think that companies like Apple, Amazon, Google, and Microsoft have to think differently about security as more and more users are forced by them to use the cloud. The recent news about Apple and Amazon clogging security holes is encouraging. But, that isn’t all that is needed here. We as technologists and users need to be much more responsible when it comes to our data, that is, if we want to keep it around.

What to do

I suppose the headline is a tad misleading. Sorry, about that. Being “hacked hard” like Mr. Honan sure does suck, but he wasn’t prepared like you will be after following a couple of rules.

  1. Don’t use the same password and email combination for any online service.

    If you do you could spark a chain reaction due to someone getting access to your email. Avoid this at all costs.

  2. Use strong passwords managed by a password manager.

    1Password and LastPass are your friends. Always use them to generate new passwords. If you can get away with it, use a strong phrase password like xkcd recommends. A good rule is to use this type of phrase based password for your password manager’s master password.

  3. No, seriously you have to use strong passwords for everything

    Stop reading until you have gotten yourself a decent password manager.

  4. Don’t trust online services with super important data

    I use Dropbox like a fiend, but if there is something super important to me, it’s stored locally and backed up. I back up my Dropbox too. More on that now.

  5. Create a set-it-and-forget-it backup plan.

    Services like Carbonite and CrashPlan are great for backing up your data offsite. They are around $50 a year for a single computer with unlimited data. Purchase that now and you will not regret it.

    Backing up your files is great and everything, but what about your actual operating system? Use a tool like Paragon Hard Disk Manager for Windows and SuperDuper for Mac. They both create bootable images of your hard drives so when your drives crash or get wiped by someone you can restore them to whenever they were backed up.

So, yes, Amazon’s and Apple’s policies definitely were the big player here in allowing Mr. Honan to get hacked; they too easily gave his information away. But there is another part to the story; we have to be more responsible with our own data and how it is backed up and secured. Because of bad company policies about our data, we have to take its integrity and security much more seriously. A good place to start is using strong, unique, always changing passwords and backing our files and operating systems.

Some Apps to Help You Love Music Again

It seems that every few months I repeat the same type of cycle when it comes to music:

  1. Find a one or a few bands that I really like.
  2. Listen to their music over and over again.
  3. Don’t listen to much else.

It’s sort of annoying because when I was “younger” I was always into new music and new bands. I was in a semi-touring metal/punk band for about 6 years starting in high school. Music was always in the background of my life and I could almost put a song or band to any memory that I had. Music was very important to me.

I love being able to find new bands and new music for different activities in my life (working out, relaxing, reminiscing, programming, brainstorming, etc.) and these apps have been helping me out over the last few weeks. Oh, yeah, these are mostly iPhone apps :)

  1. Songza

    Songza (iTunes, Google play) is great for being able to put music to a situation or mood. The idea is that you can go through a playlist based on the time of day. For instance, if it’s early in the morning when you launch the app, Songza will give you choices like “Waking Up”, “Working Out”, or “Morning Commute”. From there you can choose a category (my favorite for commuting is “Cure for Road Rage: Indie”).

    Another neat feature is being able to explore music by Culture or even Moods. What’s great about Songza is that it has music that can paint your day. Using Songza I have discovered or rediscovered some artists during my day which is great.

  2. Discovr Music

    Discovr Music is an interconnected web of bands and performers. Type in a name of a group or artist then let the crowd sourced app show you a bunch of related music. From there you play that band’s top songs, play songs from similar artists, add the band to your favorites, and even open that band in Rdio (don’t know about Mog or others).

    This app is perfect for finding “like” music of stuff that you already enjoy. It’s $4.99 but the utility you get from the app is well worth it. Discovr also has the same type of apps for app and movie selections.

  3. Band of the Day

    Although Band of the Day mostly features pop and indie music, I have found a handful of decent bands that I still listen to. The greates part about Band of the Day isn’t necessarily the music choice, it’s the overall design and usability of the app. The thing is gorgeous and gives you a bunch of information about bands that you probably would never hear of otherwise.

Some other mentions are Pandora (iTunes, Google play), Rdio (iTunes, Google play), Mog (iTunes, Google play), SoundHound (iTunes, Google play), but the three above have taken my music discovery to the next level. Instead of scouring the internet for “bands that are like ‘x’”, I’m happy that I can use some technology to figure this stuff out.

5 Questions to Ask Before Adopting New Technologies and Tools

As technologists and geeks we love shiny new toys. Anything that is small, fast, sleek, and new we have to know what it is and what it could possibly do for our lives. Coming from a productivity standpoint, we would like to think that anything new and brilliant could help us gain in our overall efficiency and effectiveness. The reality of it is that most tools and new technologies, although neat and fun to use, tend to make us less productive in the long run.

This is mostly due to us fiddling around with tools that don’t necessarily fit our workflow and trying to force ourselves or the tools to help us work. This is a fool’s errand and one that we as technologists should try to avoid. There is a “right tool for the job”, and once we find that tool, we should spend our time working and using it rather than working to try to use something else. Before we change some technology item in our toolset, let’s ask ourselves these questions to ensure that we are doing it for the right reasons.

  1. Is my current technology being used to its full potential?
    If we use a piece of technology to get some sort of work done and we are considering a different one to do some of the same work, we should evaluate our current tool and see if we are using it to its full potential. Maybe there is a feature or workaround that we haven’t explored yet with the current tool that we can add to our workflow to save us time and “changing costs” of switching to a new one.
  2. Do I need something new to fill a void in my toolset?
    After we make sure that our current tools are being used to their potential, it’s possible that we may need a new tool or technology because there is a void in our toolset. If a new tool does something that we don’ currently have covered in our workflow, then it may be worth considering adopting. This is only because we currently don’t use or have any tool that is like it.
  3. Do I really need another tool for “X”?
    How many text editors does a man need? We should take a look at how many tools we already use for a current task. If we are using more then one, it’s highly unlikely that we need another tool.

    “But I have different moods and need different tools for my different moods…” Well, well, aren’t you an artist? Having more tools to do one thing often leads to using no tools to do no things. Try to stick with a few and end it there.

  4. How much work do I have on my plate?

    Adopting a new technology can take a bunch of time and experience to get productive and effective with it. If you are on a massive deadline to program something or want to get your book done, then switching your IDE or text editor may not be the best thing to do at the moment. We should take a look at how much work with deadlines is in front of us and adopt new technologies based on the time we have.

  5. What are other’s saying?
    Take a look at what other early adopters are saying about certain technologies and tools. They can give us some insight and help us get over some of the hurdles of taking on new technologies by ourselves. The key to this is that we shouldn’t search out what everyone is saying about something. That’s not productive.

    We can see what some of the people we trust online are saying and go from there. Word of mouth only word of mouth; it can’t replace our actual usage of a tool.

We should be using our technologies effectively, not effectively looking for new technologies to solve problems that are already solved. There is nothing wrong with trying out new things. To do that we could set up a weekly time where we try out new stuff, but we have to make sure that our technology changes aren’t interfering with our real work.

Programming Isn’t Important Anymore

On the latest .NET Rocks! podcast (yeah, I’m a Windows user too!), the topic was about the “newish” Visual Studio tool Lightswitch. Lightswitch allows a user to quickly create a business application with a rich set of design tools. A user can create their own database schema as well as import data from existing databases. They can create screens, screen flow, and then push it out to end users. Basically, Lightswitch allows you to create a solution to a problem with very little code (often times no code at all).

“No, coding! Well, some developer you are. To be a developer you have to code.”

Well, not so much. I think that it is more important to solve problems quickly then it is to code.

Programming for the sake of programming

During my day job I work on Windows and do a lot of development work in C# using Visual Studio. I feel that the C# language, .NET, and Visual Studio are highly polished and help me be productive when it comes to creating applications. But there is something that can come up with the best frameworks and languages out there; too much code. Developers and engineers get into “solve this problem” mode and then come up with a solution that is highly engineered and as close to perfect as possible.

But, really, the customer or end user of the solution that these engineers are creating just want one simple thing; an answer to their problem. Something else that they want about 99% of the time is that answer to be here today. As a technologist, we need to deliver answers to problems, not code.

Enter abstraction

A few months ago I got really excited about the new FileMaker suite for Mac and Windows. You could quickly create highly polished and usable, multi-user applications for the desktop and then push them out to an iPhone or iPad. This was an eye opener for me. It showed me that I didn’t have to code something to solve a problem; that I could spend 80% of my time implementing a solution and the other 20% tweaking it and supporting it. That was huge.

The idea of abstracting out technical backend code and flow of an application to software that can handle it is nothing short of a miracle for technologists. It allows us to think technically and solve problems rather than battle with code and oddities of languages. It allows us to concentrate more on how to solve the problem than the technology itself which helps us get more done. It allows us to deliver a product and answer faster and more accurately. All of this makes happy end users and customers.

You don’t have to code

Just because you can program in C, doesn’t mean you have to. If you want to be able to get more done and solve real problems for people, then coding more isn’t your answer. Using technology tools that enable you to solve problems faster is.

Now, don’t get me wrong, coding is great and I love to do it. But, as technologists we should never be reinventing the wheel. We should know how the wheel works and how to use it. Then we can use it to create and solve something else. So, rather than spin your wheels on a problem that has already been solved, use technology to solve something new.

What WordPress Needs (For me)

I have thought of every possible reason why I can’t seem to write regularly. It always has something to do with my tools of choice or that I “don’t have any ideas.”

It’s got to be my WordPress theme; definitely the wrong font or too much whitespace. It’s the topic, that’s it. No one cares about productivity, technology, and creativity. Oh, no, that’s right, it’s WordPress. I need a different CMS, one that is better and fits me more as a human being.

No matter what the excuse I tried to come up with, they were all pretty lame. But, those excuses at least led me to give Squarespace a try to see if it really was WordPress that was the problem.

For what it’s worth, WordPress has a lot going for it. It has a developer community that is vast and always growing, plugins and extenstions that can do pretty much anything for your site, great theme and framework creation companies like StudioPress and Woo Themes, plus it’s free and open source. Anyone can by some cheap hosting and get their very own WordPress site up and running.

Even though I found that Squarespace isn’t the thing for me, at least not yet, I did come up with some things that I think would make WordPress the “cool kid in town” again, at least for me.

Markdown support built in

There are some plugins that do this, although not extremely well. They all seem quirky and have oddities that I don’t want to deal with. What we need is Byword / Marked quality Markdown support built directly into the post and page pages. We just need a little MD tab next to the Visual and HTML tabs. Not too much to ask for.

Of course, I could suck it up and use a text editor like Byword or anything else on OS X and use Marked to create my HTML (or if you are on Windows, the fabulous MarkdownPad) for WordPress. But these are some extra steps that I would like to get rid of. Before I

Better mobile support

In my humble opinion, the WordPress mobile application is not that usuable. If you don’t know HTML it can be a pain to use. I have also found that pushing drafts back to my server or publishing seems to fail on occasion. If you are tryign to create posts that don’t require too much formatting or you’d like to post a quick picture or video, the app for iOS is good enough.

WordPress does implement XML-RPC, so it is possible to create a nice iOS or Android application that you can use to sign in to your WordPress installation and post. WordPress needs a Squarespace quality iOS/Android application to make posting while on the go easier and more fun. That may be a nice market to server (hint, hint).

For now, those two things would make WordPress more fun and efficient for me to use. And more fun and efficient is a good thing when you are trying to come up with any reason at all to not write.

It Ain’t Easy Being a Creator in the Post-PC Era

In case you missed it, a company from sunny Cupertino, CA announced a new product yesterday. The new iPad is said to amaze us and push consumers further into the post-PC era.

The post-PC era sounds all fine and good for the consumers out there sucking up content, replying to emails, and looking at photos, but what about creators? Are they left out of the post-PC era, or can they (we) too use post-PC devices and ideas to create content, products, and things that change our world?

For the creators

I remember when the first iPad came out. Many tech pundits and media said that the device what a “consumption-only” device because of its lack of a physical keyboard, camera, etc. No one could really create anything on this thing. Then we saw

Creators need tools that can react to input and changes immediately[1. Thanks to Mr. Schechter for the link], showing them what they are in the process of creating. Creators need tools that are ubiquitous and easy to use. To think that someone can’t possibly create something because they aren’t “doing it the hard way” is starting to be an annoying remnant of curmudgeons that are showing that they are afraid of the future.

The new tools like iPhoto, iMovie, and the iWorks suite show us that we can use thin, light, and “limited” devices to create. We are slowly seeing that we won’t need bloated devices, 8GB of RAM, and spec crazy devices to create with.

The fact is that creators want tools they don’t have to think about and that get the job done. If it is in the form of dictating to an iPad, using a Bluetooth 4.0 pressure-sensitive stylus, or just a plain old wireless keyboard then that is awesome. If technology is reducing the friction of creation by giving us easier and more beautiful tools to use, then that is the new way to create.

What about programmers and technologists?

Programming on the iPad (or any tablet/post-PC device) is a bit of a bear and something that hasn’t been fully paid attention to yet. Other than remotely connecting to another PC, Mac, or Linux box and using your device as a dumb terminal, there isn’t really any way to compile and create software directly on the device. Other than programming, tasks like creating documentation, project plans, flow charts, business proposals, etc. But this is mostly “administration” type of work, not technological creation.

As of now, technologists and programmers are still tied to their Macs and PCs until there is a good way to incorporate all of their powerful tools on a post-PC era type of device. Sure, we can use remote facilities of our devices to program, compile, and even push code out for consumers to use, but there is not yet a way to do all of this natively.

In due time.

Being a creator now

It’s not easy to be a full-time, post-PC era creator. But neither is being a creator, developer, or technologist in general.

This is a new time and place and we are still feeling it out. It’s still the early days and as of now, it appears much easier to be a consumer. The tools will definitely get better as we the creators demand them and create them for each other. So, don’t give up your MacBooks and PCs just yet; the post-PC era isn’t fully realized for technological creation.