Pretty YouTube Embeds with PrettyEmbed.js

PrettyEmbed.js

Prettier embeds for your YouTubes

PrettyEmbed.js is a jQuery plugin for making YouTube embeds look much better. It’s on GitHub, and a demo can be seen here on CodePen.

PrettyEmbed.js works with FitVid.js, but it’s not required, and comes with options like high-res preview images and advanced customization of embed options.

You can see some of the advanced customization options in the CodePen demo below. Just click the “JS” tab to see the JavaScript.

See the Pen PrettyEmbed.js Demo by Mike Zarandona (@mike-zarandona) on CodePen.

How-To: Reset WordPress Database to Default Settings

wpdb-reset

Easily Reset Your WordPress Database

WordPress Database Reset is a WordPress plugin I recently came across that will at some point prove very, very useful to me.

It’s not often that I need to reset a production WordPress database to it’s default settings, but this plugin will make the task a whole lot easier. Chris Berthe, the author, describes the plugin like this:

WordPress Database Reset is a secure and easy way to reinitialize your WordPress database back to its default settings without actually having to reinstall WordPress yourself.

I can see this being crazy useful for WordPress plugin and theme developers. We frequently need a fresh database to work with, so I’ll be adopting this plugin in my WordPress plugin and theme development workflow from here on.

WordPress Database Reset requires WordPress 3.0+ and can be installed just like any other WordPress plugin. It’s in the WordPress Plugin directory, and can also be found on GitHub.

If you’re a WordPress theme or plugin developer, you should definitely check it out.

Copy.com Referrals Give Crazy Amounts of Free Cloud Storage Space

copy_bonuses

Lots of free cloud storage, 5GB for every referral :)

I use Copy a lot. I still maintain a Dropbox account for sharing files with friends who still use it, which is most of them honestly. But, I have such a crazy amount of free storage at Copy that I use it for absolutely everything.

All of my photos and video go there from my Nexus 4. On top of that, when my Nexus 4 gets full, I’ll just archive it to Copy, so I essentially have two of every photo and video in Copy. Dropbox holds just one copy of all videos and photos, I only have about 20GB of storage there, so that stuff eventually gets brought down to a local drive. Which I should probably just bring it local right off the bat and just skip Dropbox all together for that stuff. But I digress…

I’m currently using about 19GB out of 185GB available to me. It’s all due to this post I made back in August of 2013. It resulted in a bunch of referral signups, which gave me an additional 5GB each. I started out with 15GB of storage.

If you’re a blogger and want some decent amounts of free cloud storage, check out Copy. Drop your referral link in relevant posts and you’ll slowly start building up referrals and gaining additional storage.

Copy has clients for Android, iOS, Linux, Windows, MacOS, and probably others. Just visit their download page. I’ve been very impressed with Copy and have been using them for nearly a year. They’re run by Barracuda Networks.

I dig Copy’s Fair Storage concept, which they explain like this:

We believe in a simple concept of fairness. Everyone paying for the same data they are sharing doesn’t work for us. We think that’s like going to dinner together and everyone having to pay the entire bill. People sharing content should equally divide the amount of storage being used. With Copy, you can split the bill. So a 12 GB folder shared between 3 people only counts as 4 GB per person.

Unless I’m missing something, that sounds as lot better than what Dropbox does. With Dropbox, if someone shares a 4GB folder with me, that’s 4GB taken away from my available storage, plus the other persons. So both of us ending up getting the 4GB taken from our accounts. Fucked, but that’s a topic for another post.

I still think you should check out Copy. I seriously recommend it, and that’s after I’ve been using it constantly for nearly the last year. I’ve a couple minor gripes about the Linux client, but I can deal with them.

Affiliate links are rampant throughout this post. If you don’t want to help me out, here’s a non-affiliate link for Copy, and here’s a non-affiliate link for Dropbox. Pretty sure you get extra space if you sign up from an affiliate link though, so, your call. Here’s the affiliate Copy signup link and the affiliate Dropbox signup link. :)

More Responsive Tables

RWD-Table-Patternspng

Responsive Tables for Twitter Bootstrap, but not necessarily. From @nadangergeo & @filamentgroup!

I made a post the other day about the responsive table plugins provided by TableSaw. They’re nice, but if you’re using Twitter Bootstrap (like I and many, many others do), RWD-Table Patterns may suit you better. There’s a demo here.

It’s mobile first, and is made with Twitter Bootstrap, although you can remove Bootstrap in your own fork if you wish. Usage instructions can be found at the demo page, and at the the GitHub repository.

A list of features:

Made for Twitter Bootstrap

Designed to be used with Bootstrap 3. If you don’t want to use bootstrap, just fork the repo and customize it to your needs!

Mobile first & PE

Built with mobile first and progressive enhancement in mind. Also built with love and with the help of a fair amount of coffee.

Graceful JS fallback

In browsers without JavaScript, the tables will still be scrollable. I.e. there’s still some responsiveness.

Easy to use

You only need to add one JS-file, one CSS-file and some minimal setup to make the tables responsive. Dependencies: jQuery and Twitter Bootstrap 3.

If you’re really in need of responsive tables, this could be another option for you, so it’s at least worth knowing about and checking out.

New Sublime Text Themes: am​Coder and Minimal Sublime Text

amCoder

So many themes and color schemes

These aren’t exactly new, but I’ve been around the Sublime Text theme scene for a while and I’d never seen these two. So, here you go!

amCoder

amCoder describes itself as a “Hyperminimal UI Theme for Sublime Text 2/3 with Love of Monokai.” It’s based on Spacegray, and is optimized for Monokai.

amCoder can be installed via Package Control and can also be found on GitHub. Here’s a screenshot of the amCoder Sublime Text theme:
amCoder

Minimal Sublime Text

Minimal Sublime Text is a flat version of the default Sublime Text theme. That’s probably why I like it so much.

It also comes with a dark sidebar version and can be installed via Package Control. Imagine that. :) Minimal Sublime Text is available on Github as well. A screenshot of Minimal Sublime Text is below:
minimal

Here’s some other recent posts about Sublime Text themes:

  1. Brogrammer Theme
  2. Predawn
  3. Spacefunk
  4. Flatland
  5. A bunch of others