Apr 30, 2014

What You Can Do With Gists on Github?

Github is the popular website among software developers for sharing code. The site hosts over 12 million open-source projects — including games, books and even fonts — making Github the largest code repository on the Internet.

Github offers another useful service called Gist that developers often use to dump their code snippets but Gists aren’t just for geeks and coders — they offer something for everybody. If you have ever heard of web apps like Pastebin or Pastie, Gist are similar but more polished, they are free of advertising and loaded with more features.

Gist – They aren’t just for Geeks!

Here are some areas where you can utilize the Gist service. And you don’t have to be a geek for this.

1. Write Text Anonymously

You don’t have to create an account at Github to use Gists. Just go to gist.github.com, write any block of text in the space provided and create a Gist. You can choose to have a secret Gist that will not be visible to search engines but only to those who know the URL of that secret Gist.

2. Track Changes like a Wiki

When you edit the content of a Gist that has already been published, the previous versions of the Gist are also preserved. You can hit the Revisions tab to track edits made over time and there’s a built-in diff engine that will visually highlight the changes between any two versions of a gist. This can also be used for comparing text files.

Compare File Difference

3. Publish Gists in Rich Text

While gists only accept plain text, you can use the Markdown format to publish your text in rich HTML format. You can add lists, images (hosted externally) and even Tables that are not supported in the original Markdown specification. When you are done writing the text in Markdown, remember to save the file with a .md extension.

markdown gist

4. Gist as a Writing Platform

While there exist plenty of writing engines — from Blogger to Medium to Tumblr — you can also Github’s Gist service to quickly publish your writings on the web. Create a Gist either in plain text or markdown format and then use roughdraft.io to publish that Gist as a standalone web page. It’s like integrating Readability with your Gists. And you can use emoji (smileys) too!

5. Host Single Page Websites on Gist

Bl.ocks is one of the most interesting applications built for Gists. You can write your HTML, CSS and JavaScript code in plain text, save the Gist as index.html and then use bl.ocks.org to serve the rendered version of that HTML web page as it should appear in the browser. For instance, here’s a live version of an HTML file that is hosted on gist.github.com.

There are bandwidth constraints obviously but bl.ock.org is still an excellent tool for hosting your HTML through Gists. The other alternative is Google Drive.

6. Maintain a Task List

You can use Gists to keep track of pending tasks (see example). The tasks are written in a special syntax in plain text but they are rendered as a list of check boxes.

- [x] Pick the flowers
- [ ] Call John 9303032332
- [x] Cancel cable subscription
- [ ] Book the flight tickets

You can check or uncheck the items and the source text will update automatically. If your Gist is public, anyone can see your to-do lists but only the gist owner can change the status of individual tasks.

7. Gist as a Web Clipper

The GistBox add-on for Google Chrome lets you save text snippets from web pages as public or private gists. You can even add labels, or #hashtags, to your gists making discovery easier.

8. Embed Gists in Web Pages

You can embed any Gist in your web pages with a line of JavaScript code. The embedded Gists maintain all the formatting and syntax highlighting and visitors to your website can easily clone (or fork) your Gist into their own Github accounts. There’s also a plugin and shortcode for embedding Gists in WordPress blogs.

<script src="http://ift.tt/1o3bYDJ;

9. Measure the Traffic

You can use Google Analytics to measure the traffic to your Gists. Since Github does not allow JavaScript code to run inside plain text Gists, we can use the GA Beacon to log visits in real-time to Gists.

Add this line to your Gists, save in Markdown format and it will add a transparent tracking image to your Gists.


10. Manage Gists from the Desktop

Gisto is free desktop application that lets you manage your Gists outside the browser. You can search Gists, edit the content of gists, view revisions over time and also share Gists. The app is available for Mac OSX, Windows and Linux. The other alternative is GistBox which is a web app.

This story, What You Can Do With Gists on Github?, was originally published at Digital Inspiration on 30/04/2014 under Internet

via Digital Inspiration Technology Blog http://ift.tt/1pOi67x

Apr 29, 2014

Humanity Colors Icon Pack Updated: 9 Different Colors For Humanity Icon Theme

The guys behind the RAVEfinity project have released an updated Humanity Colors icon theme for Ubuntu 14.04 (and older), which work great with Ambiance and Radiance Colors GTK themes.

The Humanity Colors icon theme pack includes the default Ubuntu icon theme - Humanity -, in 9 different colors: blue, brown, graphite, green, orange (different from the default Humanity orange), pink, purple, red and yellow, all available for both dark and light panels.

The icon theme pack should work with Unity, GNOME (Shell), Xfce, LXDE, Openbox and probably other DEs/shells too.

Here are a few screenshots with the updated Humanity Colors icon pack (and Ambiance Colors) in Ubuntu 14.04:

Install Humanity Colors in Ubuntu

Ubuntu (and Linux Mint / Pinguy OS / etc.) users can install the Humanity Colors icon theme by using the RAVEfinity PPA. Add the PPA and install Humanity Colors by using the following commands:

sudo add-apt-repository ppa:ravefinity-project/ppa
sudo apt-get update
sudo apt-get install humanity-colors

To change the icon theme in Unity, you can use a tool such as Ubuntu Tweak or Unity Tweak Tool. For GNOME Shell, you can change the theme using GNOME Tweak Tool. Make sure to use Humanity-dark-COLORX for dark panels and Humanity-light-COLORX for light panels.

For matching GTK themes, see: Ambiance And Radiance Colors Theme Pack Available For Ubuntu 14.04

If you're not using Ubuntu, you can get the Humanity Colors icon theme from here:

via Web Upd8 - Ubuntu / Linux blog http://ift.tt/1kjPFHw

Firefox 29 Available For Download, Includes New Australis UI, Other Important Changes

Mozilla didn't officially release it yet, but Firefox 29 (stable) is already available for download. The new version includes a new user interface known as Australis, along with many other changes.

The first thing you'll notice when using the latest Firefox 29 with its new Australis UI is that it uses curved tabs and there's a clear distinction between foreground and background tabs.

There's also a new menu and a new customization function which "allows you to prioritize features in the menu, toolbar, and tab bar by simply dragging them to the desired position":

But that's not all: the addon bar was removed (it's content was moved to the navigation bar), the bookmarks icon was merged with the bookmarks button and was moved to the right of the search bar, the forward button only appears when there's somewhere to go forward to and the Firefox menu was moved on the right, at the end of the toolbar, as you can see in the screenshots above.

Other changes include:

  • An interactive onboarding tour to guide users through new interface changes;

  • The ability to set up Firefox Sync by creating a Firefox account;

  • Gamepad API finalized and enabled;

  • Clicking on a W3C Web Notification will switch to the originating tab;

  • navigator.plugins is no longer enumerable, for user privacy;

  • 'box-sizing' (dropping the -moz- prefix) implemented;

  • Console object available in Web Workers;

  • Promises enabled by default;

  • SharedWorker enabled by default;

  • <input type="number"> implemented and enabled;

  • <input type="color"> implemented and enabled;

  • Enabled ECMAScript Internationalization API.

New interactive tour (click HERE to access it)

Creating a new Firefox account (for sync)

For more information, see the Firefox 29 release notes.

Download Firefox 29

Ubuntu users: Firefox 29 will be available sometime in the next few days in the official Ubuntu repositories, for all supported Ubuntu versions. If you don't want to wait (it's advised to wait for the official update!), you can upgrade to the latest Firefox 29 by using the Ubuntu Mozilla Security Team PPA:

sudo add-apt-repository ppa:ubuntu-mozilla-security/ppa
sudo apt-get update
sudo apt-get upgrade

Or, to install Firefox instead of upgrading (if Firefox isn't installed on your system), skip the last command above and use the command below instead:

sudo apt-get install firefox

via Web Upd8 - Ubuntu / Linux blog http://ift.tt/1nC5zC8

Apr 28, 2014

Indicator Netspeed Displays Network Speed On The Unity Panel

Indicator Netspeed is a simple Ubuntu AppIndicator which displays the network speed on the Unity panel.

The indicator displays the total current network traffic on the panel and from its menu, you can check out the current download or upload speed as individual values.

Indicator Netspeed doesn't detect the currently used network interface and by default it selects wlan0. So the first time you run it, select the network interface you're using from the indicator menu!

By default, the Netspeed Indicator is placed as the first indicator on the left, but if you want to change its position, you can do this by using Dconf Editor (firstly, install dconf-tools: "sudo apt-get install dconf-tools"), by going to apps > indicators > netspeed and changing the "ordering-index" value.

Install Indicator Netspeed in Ubuntu

Because it wasn't available in a PPA, I packaged Indicator Netspeed and uploaded it to the main WebUpd8 PPA. To add the PPA and install Indicator Netspeed in Ubuntu, use the following commands:

sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install indicator-netspeed

If you don't want to add the PPA, you can download the deb from HERE and install it manually.

Once installed, log out and log back in - Indicator Netspeed should start automatically after you log in.

Report any bugs you may find @ GitHub.

via Web Upd8 - Ubuntu / Linux blog http://ift.tt/QUQGwT