• Skip to primary navigation
  • Skip to content
  • Skip to primary sidebar

Creative CG

Web Design/Development Inspiration, Tips, Tutorials and Resources

  • About Us
  • Web Design Services

CreativeCG

Remove Duplicate Lines Using Sublime Text 3

October 20, 2014 by CreativeCG

Here’s a simple way to remove duplicate lines of data within Sublime Text 3. This is a common practice with creating look up tables and needing to narrow down the few unique data lines from a large batch of data. Bear in mind that this will only be useful with a single column of data. Multiple columns will not operate correctly.

  1. Select the data set where duplicates exist (or is expected to exist). If a selection doesn’t exist it’ll run through the entire file.
  2. Select Edit => Permute Lines => Unique
  3. Sublime Text will remove the duplicate lines from the data selection

And for the shortcut for this is a custom combination to be added to your user keymap:


{ "keys": ["f8"], "command": "permute_lines", "args": {"operation": "unique"} }

Filed Under: General Tagged With: Development, editor, shortcut, Sublime Text 3, unique records

Dynamically Add / Remove CSS Class with jQuery

April 23, 2013 by CreativeCG

jQuery JavaScript FrameworkjQuery has built in functions designed to add and remove a CSS class or multiple CSS classes from selected elements (selectors).

.addClass() – Adds the specified class(es) to each of the set of matched elements.
The function simply adds the class, appending it to any which may already be assigned to the elements.

$("p").addClass('newClass');

More than one class may be added at a time to the set of matched elements. Each parameter must separated by a space.

$("p").addClass("newClass1 newClass2");

It is important to note that these classes will not replace existing classes. If you wish to replace the existing style you can first use the .removeClass() function or use the .attr(“class”,”newClass”) function instead.

.removeClass() – Remove a single class, multiple classes, or all classes from each element in the set of matched elements.
If no class names are specified in the parameter, all classes will be removed.

$("p").removeClass();

If a class name is included as a parameter, then only that class will be removed from the set of matched elements.

$("p").removeClass("newClass");

Both these functions can be used together in the same line as well.

$("p").removeClass("newClass1 newClass2").addClass("newClass3");

This resulting code would remove newClass1 and newClass2 as well as add newClass3.

These functions can be used with any selected element where style is valid.

Filed Under: Javascript, jQuery, Web Design Tagged With: Development, HTML, javascript, jquery, Web Design

Elegant Themes: Beautiful & Free Social Media Icons

July 4, 2012 by CreativeCG

This set includes thirty-five 32×32 icons in PNG and PSD format. You can use these icons however you like. There are absolutely no restrictions. I hope that you resell and redistribute them in your themes and plugins. If you post these icons for free on your site, link back to the original post on Elegant Themes below!

This social media icon set includes icons for the following applications:
Facebook, RSS, Twitter, Dribbble, Pinterest, Instagram, Tumblr, Evernote, LinkedIn, Vimeo, Digg, DeviantArt, Bebo, Flickr, Posterous, Blogger, WordPress, Delicious, SoundCloud, Yahoo, eMail, StumbleUpon, YouTube, MySpace, Last.fm, DesignFloat, Orkut, Behance, Netvibes, Reddit, Forrst, Grooveshark, Path, Google Plus and Picasa.

Beautiful & Free Social Media Icons

Download these Beautiful & Free Social Media Icons or check out the large collection of WordPress Themes by Elegant Themes.

Filed Under: Featured, Freebies, Web Design, Wordpress, Wordpress Themes Tagged With: Elegant Themes, Freebies, Icon Set, Social Media, Web Design, Wordpress, WordPress Themes

WordPress Themes: Responsive Premium Theme Designs

June 27, 2012 by CreativeCG

With today’s growing internet market the need for quick web solutions is greater than ever.  As WordPress becomes the staple web software for a huge majority of websites, the theme development market has grown to leave behind the basics to provide HUGE potential with bigger and better theme capabilities.  It is our goal to help sift through this engorged theme market to help bring you the themes you want to use on your next web project.  The themes posted on this site are themes we believe will give you the best bang for your buck.

We will continue to bring a list of themes on a regular basis the will lighten your workload and improve your WordPress development.  We aim to help take the development curve to a lower level thus allowing you to raise your content and monetization efforts.

We hope you enjoy the list provided. Have a theme you think needs to be added post in the comments and we’ll take a look.

Guesthouse – Hotel & Sport Center 2in1 Premium Theme

Guesthouse - Hotel & Sport Center 2in1 Premium Theme

Gonzo – Clean, Responsive WP Magazine

Gonzo - Clean, Responsive WP Magazine

Eclipse – Responsive WordPress Theme

Eclipse - Responsive WordPress Theme

Adapt – a Responsive WordPress Theme

Adapt, a Responsive WordPress Theme

Next – Responsive WP Magazine

Next Responsive WP Magazine

SwagMag – WordPress Magazine/Review Theme

SwagMag - WordPress Magazine/Review Theme

Oh – Responsive Portfolio WP Theme

Oh Responsive Portfolio WP Theme

Nemesis – Clean Design For Creative Designer

Nemesis Clean Design For Creative Designer

Modernize – Flexibility of WordPress

Modernize - Flexibility of WordPress

Method – a Responsive Business Theme for WordPress

Method, a Responsive Business Theme for WordPress

Maxx – Responsive Creative WordPress Theme

Maxx - Responsive Creative WordPress Theme

Marriage – Responsive Wedding WordPress Theme

Marriage - Responsive Wedding WordPress Theme

Made – Responsive Review/Magazine Theme

Made - Responsive Review/Magazine Theme

Filed Under: Featured, Web Design, Wordpress, Wordpress Themes Tagged With: Premium Theme, Responsive, Theme Design, WordPress Themes

WordPress + Facebook + Twitter = Social

August 18, 2011 by CreativeCG

Trying to integrate WordPress blogs with Facebook and Twitter has been a bit of a nusiance.  Creating Applications and OAuth issues just have bogged down many attempts to make this endeavor successful.  Most bloggers now share and tweet about their posts and thus receive comments on each site.  The people at  Crowd Favorite and MailChimp have created a plugin for WordPress called Social.

 

Social is a lightweight plugin for WordPress that handles a lot of the heavy lifting of making your blog seamlessly integrate with Facebook and Twitter. Through the use of a proxy application, you can associate your Twitter and Facebook accounts with your blog and its users. Once you publish a new post, you can then choose to automatically broadcast a message to any accounts authenticated with the overall blog or your current logged-in user.

Through Social, you can aggregate the various mentions, retweets, @replies, comments and responses and republish them as WordPress comments. Social polls Twitter and Facebook periodically for new comments about your posts, and adds them as comments when it finds a URL reference.

CreativeCG has the plugin running and it’s been quite successful so far.  Recent version release of 1.0.1 has introduced some fixes to allow the aggregation cron job to run on more server setups. For more technical details on the plugin head over to the website of Alex King of Crowd Favorite, the development mastermind behind Social, and check out his blog post on the plugin.

Download Social for WordPress

Filed Under: Blogging, Featured, Wordpress Tagged With: Blogging, Crowd Favorite, Facebook, MailChimp, plugins, Social, Twitter, Wordpress

  • Page 1
  • Page 2
  • Next Page »

Primary Sidebar

Facebook Twitter Google+ Pin It Share GitHub RSS

Affiliates

Web Hosting 125x125 125x125 Thesis Theme for WordPress:  Options Galore and a Helpful Support Community Genesis Theme Framework for WordPress by StudioPress Dynamik Website Builder The easiest way to create a photography website. Create your site at Weebly.com!

Categories

  • Blogging
  • Featured
  • Freebies
  • Game Dev
  • General
  • Javascript
  • jQuery
  • Web Design
  • Wordpress
  • Wordpress Themes

Copyright © 2021 · Metro Pro on Genesis Framework · WordPress · Log in