Thursday 20 December 2012

How to find or list ruby gems available from remote source

Wondering what gems are available for you to get, or need to find one, or think you have the name incorrect?

Lets say you are not sure what the correct name for the sqlite gem is.. all you need to do is type the following in your terminal:

gem search --remote sqli

press enter

and the terminal will list all gems containing the letters "sqli" in them.. (it will act as if it had a wildcard at each end of the string *sqli*)

enjoy

Sunday 2 December 2012

show tree view explorer in sublime text

it is an easy one, but almost impossible to find if you dont know..

to get a tree explorer in sublime, all you need to do, is drag whatever dir you want to appear in the explorer straight in to the sublime editor window.. that is it!