v WebsiteSupport: Open Source
Showing posts with label Open Source. Show all posts
Showing posts with label Open Source. Show all posts

February 28, 2012

Free And Open Source Alternatives To Flash For Linux


A dedicated Flash player is not the only way to view Flash content. Here are two of the major open source alternatives that offer Flash access to Linux users.


 If you prefer to stay away from Windows and support the open source Linux platform then Adobe's Flash might create troubles for you now. With Adobe announcing plans to discontinue its standalone Flash Player for Linux, its updated versions will be available to Linux users only through Google's Chrome browser.


It would also be interesting to note how much longer Flash will be important to Adobe as HTML5 grows. Till then, do not lose heart! A dedicated Flash player is not the only way to view Flash content. A report by PCWorld lists down two of the major open source alternatives that offer Flash access to Linux users. 



Gnash:
It is a free and open source Flash movie player based on GameSWF. The best part of this tool is that it is available both as a standalone player and as a browser plug-in for Firefox and all other Gecko-based browsers. The latest version Gnash 0.8.10 can be downloaded from GNU.org site. According to its developers, Gnash flawlessly plays videos from popular video sites such as YouTube, Vimeo and others.

Lightspark:
Apart from Gnash, another free and open source alternative is Lightspark. It is a Flash player and doubles up as browser plug-in too. According to its developers, it "supports YoutTube well enough for daily use". The latest release of Lightspark, 0.5.4.1, was just launched at the beginning of February. It can be downloaded free of cost from the Launchpad site.


June 16, 2011

HOW TO: Get Started With the COMPASS CSS Framework



Anybody who’s built a website of any size knows how quickly CSS can get out of hand. Style sheets can grow bloated and lengthy, making it difficult to find things, introducing redundancy and producing an end product that makes code maintenance tedious. Let’s face it — CSS is not very well-designed.
Over the years, a number of solutions have cropped up that attempt to deal with these problems. One of the most popular is the CSS framework, COMPASS.
Below, we’ll give you a quick introduction to how COMPASS works, and some tips on how to make it work for you.

What is COMPASS?


COMPASS is an open source CSS authoring framework written in Ruby that attempts to fix a lot of the shortcomings of CSS. It also streamlines development by providing a number of utilities and tools to make writing your CSS files easier and faster.
Those features include:
  • Support for variables and mixins.
  • SASS-style nesting of CSS rules.
  • Helper functions for images, fonts, colors and more, including mathematical calculations.
  • Flexible tools for ensuring cross-browser compatibility and graceful fallback states.
  • Integration of a Blueprint module, including several default styles for rapid prototyping and styling commonly used elements.
With all that and dozens more tidbits to offer, COMPASS provides a robust authoring environment for CSS creation that automatically monitors your code as you write it, compiling it down to pure CSS for use on your site. So while the COMPASS gem is needed for authoring, your website needs no special software or libraries to display CSS written in COMPASS.

How Does COMPASS Work?


Now that we’ve gone over what COMPASS is and discussed a few of its features, let’s take a look at some of them in action. In this, we’ll use a few variables and a custom mixin, as well as an image helper and nesting to show how COMPASS makes it easy to reuse content throughout your CSS files.

$dark-accent:   #333;
$light-accent:  #eee;

@mixin default_fonts {
    font-family:    helvetica;
    font-size:      10pt;
    color:          $dark-accent;
}

#info_box {
    width:      400px;
    height:     300px;
    padding:    10pt;
    border:     1px solid $dark-accent;
    background: $light-accent;
    @include    default_fonts;

    input[type=button] {
        background:  image-url('button.png') top left repeat-x;
        color:       #fff;
        font-weight: bold;
        border:      none;
    }
}

Here you see that we’ve set up a couple of variables (dark and light accent) which we use in the mixin, in addition to the CSS rules for our info box.
Next, the mixin itself contains the rules for our default fonts. After that comes an example of how nesting works. The rules for our input button, in this example, only apply to those found within the info box.
Finally, the image URL helper here is used to generate the output for the background image, so we don’t have to type the full image path each time (path information is defined in a small config file that sits in the root directory of your project).
Now let’s take a look at the COMPASS-compiled output:

/* line 10, ../sass/demo.scss */
#info_box {
  width: 400px;
  height: 300px;
  padding: 10pt;
  border: 1px solid #333333;
  background: #eeeeee;
  font-family: helvetica;
  font-size: 10pt;
  color: #333333;
}
/* line 18, ../sass/demo.scss */
#info_box input[type=button] {
  background: url('/images/button.png') top left repeat-x;
  color: #fff;
  font-weight: bold;
  border: none;
}

As you can see, the mixins become included, variables substituted, image URLs generated, and inheritance is determined via the nesting. When generating the CSS, COMPASS also includes comments that clearly show us where each element is defined in its corresponding CSS file. If there’s an error at the time of generation, COMPASS will drop a helpful stack trace right into the CSS file where the error occurs.
At first glance, the original COMPASS code may look more verbose than the generated CSS output, but when you consider that those variables and mixins can be used throughout your entire project, you begin to see the advantages. COMPASS all but eliminates the need for adding presentational classes (e.g. “align-right” or “big-text”) without making you constantly repeat yourself. In addition, it’s feasible to completely change a color scheme for an entire project simply by updating a few variables and perhaps changing an image path or two.
This is only a small example of the power and flexibility COMPASS offers, but you can begin to see its amazing potential.

Where to Go From Here


If you’d like to learn more about COMPASS, you can check them out at compass-style.org. Thedocumentation is particularly well done.
Keep in mind that COMPASS uses SASS and Blueprint, so you may want to read up on those as well.
You’ll also need a working installation of Ruby and RubyGems to install and use COMPASS.
Finally, we recommend taking a look at the Setup & Install Guide on the COMPASS website.
source: http://mashable.com
source:



June 02, 2011

GIMP Keyboard ShortCuts


GIMP: GNU Image Manipulation Program is one of the powerful Open Source Image Editing Software. It is a freely distributed program for such tasks as photo retouching, image composition and image authoring. It has many capabilities. It can be used as a simple paint program, an expert quality photo retouching program, an online batch processing system, a mass production image renderer, an image format converter, etc.


GIMP is expandable and extensible. It is designed to be augmented with plug-ins and extensions to do just about anything. The advanced scripting interface allows everything from the simplest task to the most complex image manipulation procedures to be easily scripted.

GIMP is written and developed under X11 on UNIX platforms. But basically the same code also runs on MS Windows and Mac OS X.


Keyboard shortcuts can be a great time saver when working within GIMP.  Rather than navigating through the menu structure to find what you are looking for, if you learn some of  the common shortcuts it will increase your productivity greatly.

File Menu - ShortcutsFunction
Ctrl + NNew Image
Shift+Ctrl+VCreate a new Image from Clipboard
Ctrl + OOpen Image
Ctrl+Alt+OOpen as Layers
Ctrl+SSave Image
Shift+Ctrl+SSave As
Ctrl+PPrint
Ctrl+WClose
Shift+Ctrl+WClose All
Ctrl+QQuit
  
Edit Menu - ShortcutsFunction
Ctrl+ZUndo
Ctrl+YRedo
Ctrl+XCut
Ctrl+CCopy
Shift+Ctrl+CCopy Visible
Ctrl+VPaste
Shift+Ctrl+VPast as New Image
DeleteClear
Ctrl+,Fill with FG Color
Ctrl+.Fill with BG Color
Ctrl+;Fill with Pattern
  
Select Menu - ShortcutsFunction
Ctrl+ASelect All
Shift+Ctrl+ASelect None
Ctrl+IInvert Selection
Shift+Ctrl+LCreate a Floating Selection
Shift+OSelect by Color
Shift+VSelect from Path
Shift+QToggle Quick Mask
  
View Menu - ShortcutsFunction
Ctrl+EShrink Wrap - Reduce image window to size of image
F11Toggle Fullscreen View
Ctrl+TShow Selection
Shift+Ctrl+TShow Guides
Shift+Ctrl+RShow Rulers
  
Image Menu - ShortcutsFunction
Ctrl+DDuplicate Image
Ctrl+MMerge Visible Layers
Alt+ReturnDisplay Image Properties
  
Layer Menu - ShortcutsFunction
Shift+Ctrl+NNew Layer
Shift+Ctrl+DDuplicate Layer
Ctrl+HAnchor Layer
Page UpSelect Previous Layer
Page DownSelect Next Layer
HomeSelect Top Layer
EndSelect Bottom Layer
  
Tools Menu - ShortcutsFunction
Selection Tools 
RRectangle Select
EEllipse Select
FFree Select
UFuzzy Select
Shift+OSelect by Color
IIntelligent Scissors
  
Paint Tools 
Shift+BBucket Fill
LBlend
NPencil
PPaintbrush
Shift+EEraser
AAirbrush
KInk
CClone
HHeal
Shift+UBlur / Sharpen
SSmudge
Shift+DDodge / Burn
  
Transfrom Tools 
QAlign
MMove
Shift+CCrop
Shift+RRotate
Shift+TScale
Shift+SShear
Shift+PPerspective
Shift+FFlip
  
General 
BPaths
OColor Picker
ZZoom
Shift+MMeasure
TText
Ctrl+BToolbox
DDefault Colors (Sets foreground to black and background to white)
XSwap Colors
  
Filters Menu - ShortcutsFunction
Ctrl+FRepeat Last
Shift+Ctrl+FRe-Show Last
  
Windows Menu - ShortcutsFunction
Dockable Dialogs 
Ctrl+LLayers
Shift+Ctrl+BBrushes
Shift+Ctrl+PPatterns
Ctrl+GGradients
  
Ctrl+BToolbox
  
Help Menu - ShortcutsFunction
F1Help
Shift+F1Context Sensitive Help

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | coupon codes

HTML Hit Counter