Wednesday, April 29, 2015

Tomcat Server not starting with in 45 seconds in Eclipse

Setting timeout on the start or stop of the server

You can specify the length of time you can wait, before the workbench cancels the process to start or stop the server.
Tip: If you have a fast processing machine, you can try to set a short timeout interval. If you have a slow processing machine, you can try to set a long timeout interval.
To set the timeout for starting or stopping the server:
  1. In the Servers view, right-click the server you want to modify its timeout and select Open. The server editor opens.
  2. Under the Timeouts section, you have the following options:
    • Use the Start controls to specify the number of seconds allowed to elapse, before the workbench cancels the process to start the server.
    • Use the Stop controls to specify the number of seconds allowed to elapse, before the workbench prompts you for an action. The prompt requests from you to either click OK to end the server or click Cancel to continue waiting for the server to stop. See the below Results section, for the text of the prompt.

Friday, April 24, 2015

Linux Emulator: Test and Learn Linux Commands in Web Browser

If you want to learn Linux / Unix commands but don't want to install the OS, here is something interesting for you.
"PC Emulator" created by "Fabrice Bellard" allows you to test Linux commands in your favorite web browser. No need to install any Linux distribution, simply open the URL in a web browser and test desired Linux commands.
This PC emulator has been written in Javascript and the emulated hardware consists in following devices:
  • 32-bit (x86) compatible CPU
  • 8259 Programmable Interrupt Controller
  • 8254 Programmable Interrupt Timer
  • 16450 UART
  • Real Time Clock
  • IDE interface and hard disk
PC_Emulator_Run_Linux_Browser.png
PC emulator supports following browsers officially:
  • Mozilla Firefox
  • Google Chrome
  • Opera
  • Internet Explorer
You can run all popular and basic commands such as cat, cd, chmod, chown, chroot, date, echo, find, help, ls, rm, su, time, vi, etc.
To scroll back in the terminal, you can use Ctrl+Up, Ctrl+Down, Ctrl+PageUp and Ctrl+PageDown key combinations.
Start Testing Linux Commands in Web Browser

Source: http://www.askvg.com/pc-emulator-test-and-learn-linux-commands-in-web-browser/

Thursday, April 23, 2015

Unix Emulator in Windows

It is very useful to have a Unix emulator installed on your machine to serve as a tool for learning how to use Unix and getting used to its environment. Once you are familiar, you can go ahead and install a full version of Unix.
The best Unix emulator for your needs is Cygwin (pronounced ‘sig win’), which is a nearly complete Unix-like environment that can be run on Windows. Cygwin is made to work with all the officially released 32-bit x86 versions of Windows, except Windows CE. The Cygwin setup tool is available on their home page, http://www.cygwin.com/.
This emulator will come in handy if you are a developer wanting to compile and execute open source software under Windows. Cygwin, which is basically a POSIX emulation layer meant for the Windows platform, allows most Unix scripts to run and lets the developer build the source easily. In the end, it is porting which is made easy.
Cygwin has two parts:
  1. The cygwin1.dll, which behaves as a Unix API emulation layer.
  2. Several tools to provide the Unix look and feel.

Key Advantages of Cygwin

  1. Cygwin is a simpler and cheaper alternative to other tools like VMWare.
  2. Apart from having a mostly complete Unix API, Cygwin also includes the gcc, making C/C++ coding quicker and easier.
Source: http://www.tech-faq.com/where-to-get-a-unix-emulator.html

Google Calendar - 30 Tips, Tricks, Hacks and Add-Ons

Google Calendar was likely the second Google app you tried, right after Gmail, when you got your first Google account. With a history dating back to 2006, one that's overshadowed by Gmail and Google's other apps, it's easy to overlook Google Calendar's deep set of features.
Even though it appears to just be a basic calendar app at first glance, Google Calendar has the features you need to manage almost any calendar needs. In this article, you'll find 30 tips and tricks to customize the app and make it work for your needs. Whether you're wrangling an international business spanning multiple time zones, or just need a better way to track events with friends and family, here's how you can use Google Calendar to manage all that and more.


Change Your Calendar's Appearance

1. Color Code Your Calendars and Toggle Visibility

color coding google calendar
One of the best ways to spruce up your calendar is to add a touch of color. You can add color to your calendars with one of the 24 Google Calendar colors or mix your own. Varying their colors can help you to differentiate your calendars at a glance, making important events stand out. If a single color for each calendar isn't enough, you can also add colors to individual events on the Edit Event page.
You may not always need or want every calendar to be visible, especially if you've been added to several colleagues' calendars. To cut through the clutter, click the name of the calendar you wish to hide. Its name will remain in the list, but the events will no longer appear in the main calendar view. To bring the calendar back, just click its name in the list again.

2. Keep Abreast of the Week's Weather

weather in google calendar
If you've set your location in your Google Calendar settings, your calendar can display your weather for the next several days. In Settings–which you'll find clicking the cog in the upper right–select a setting for your weather information, either Celsius or Fahrenheit, and Google Calendar will create a customized weather calendar. Get an idea of the forecast with a quick look at the weather icons, or click an icon to get more details.

3. Personalize Your Calendar With a Background Image

google calendar background image
Some of Google Calendar's best settings are hidden inside Labs, the part of Google's apps where it puts experimental features. To find these features, select Labs after clicking the Settings cog, and there you'll find a number of extra features–including the Background Image feature.
Activate the Calendar Background Image feature in Labs, then go back to settings and you'll find the newly added Calendar Background setting. Add an image here, either by choosing an image from your albums or uploading a new image, and choose how your image will be displayed. Once you've saved your changes, return to your calendar to see your background image.

4. Focus With Agenda View

google calendar agenda view
Get a listing of your next several meetings and events by clicking Agenda in the upper right of your calendar. Depending on how many events you have upcoming, you may see just today or all of the events for the next several days.
The Agenda view is a simplified view that's quickly actionable. It gives you quick access to some details about each event, including when and where the event is and who created the event. Quickly add an event-specific color here, or click for more details or to edit the event.

5. View a Date Range

google calendar date range
Sometimes the default month, week, and day views aren't detailed enough, and you need to focus on a specific period of time. To spotlight a range of dates, click and drag on the dates you want to select in the mini calendar on the upper left. Concentrate on just a couple of weeks, or keep dragging to pull in dates from the preceding or following months. Move your selection by clicking any date outside the selection box; click one of the default views in the upper right to clear the selection.

6. Create a Work Week View

google calendar work week view
Professionals who only use Google Calendar for work may find they don't need to see a whole month at a time, or even a 7-day week. In Settings, you can set the default view to Week, and toggle Show Weekends off. When you've saved and returned to your calendar, you'll see only Monday-Friday for the current week displayed. This view may give you a better idea of what you have going on at work, with less clutter to distract you.

7. Hide Late Night and Early Morning Hours

google calendar hide hours
It's unlikely you're getting a lot done at 3 A.M., and if you are, it's likely due more to insomnia than any scheduled event. If you find you're not creating many meetings before 7 A.M. or after 6 P.M., Google Calendar can hide those hours–or any range of time you like–highlighting instead the hours when you've actually got something to do.
In Labs, enable Hide Morning and Night, then save your changes and open Google Calendar's Day View. You'll now see a slider on the left. Drag the slider up or down to hide a time range in the early morning, and find a matching slider at the bottom of your calendar day to hide late evening. Once you've abridged your calendar, you can expand mornings and nights by clicking the hidden time range.

8. Show Calendar Year View

google calendar year view
This is another Labs setting that sets you up to view your entire year at once. Year View displays the entire year in a grid, allowing you to navigate to a future date quickly. This is particularly useful if you need to know dates like the third Wednesday in June or which months have five Fridays.

9. Use an Alternate Calendar

alternate google calendars
If you follow another calendar system, like the Chinese or Hebrew calendar, you can add that information to your main calendar. In settings, look for Alternate Calendar. Choose your calendar and save to return to the main calendar. You'll notice that the date from your newly added calendar is displayed alongside the Google standard date.

Add Events and Calendars

10. Create an Event with Google Search

create google calendar event with google search
If you're not in the Google Calendar app, you can still add an event from a Google search page. You can even go straight to the address bar omnibox and skip the Google search page if your default search engine is already Google.
Just write a similar statement to what you would enter into the Quick Add box back in Google Calendar, like "Lunch with Wade at 11:30," but preface your event information with "make an appointment to." Enter that into Google search, and at the top of your search results will be a Create Event box with your event details. Click that button to add your event to Google Calendar.

11. Add Google Calendar Events with Your Voice

create google calendar events with your voice
Too busy even to type? Use Google's voice search to add a new event. If you have OK Google enabled in Chrome (you can enable it by visiting Chrome's Advanced Settings), all you have to do is say "OK Google" with a search page open and then speak your event information. Or, if you don't have OK Google enabled, just click the microphone in the Google Search box.
Now, just speak aloud the event details you'd otherwise type into a Quick Add window, and then add your event from Google's search results.

12. Create an Event with Quick Add

quick add google calendar event
While clicking Create in the upper left corner of Google Calendar may seem like the most obvious way to compose a new event, there are a couple of simpler ways to make it happen. Start with Quick Add, found by clicking the caret next to Create.
Click that caret, then start typing your event details in the new text box that appears to quickly create a new event. Focus on who, what, when, and where: Who the event is with, what are you doing, where is it happening, and–most importantly for your calendar–when is all of this going down. Google Calendar will create a new event, and you can edit it later if you need to add more details.
google calendar quick add
You can open up a similar Quick Add window by clicking on any date on your calendar. As before, focus on writing the important elements, such as time and place. You can even create a recurring event by adding a phrase like "every Friday" to your text.

13. Add Events From Other Apps

zapier add google calendar event
Your tasks, projects, events, and more often live in other apps. Even if you check your Google Calendar each day for the things you need to do, you still might be missing stuff. Zapier's Google Calendar integration can help out here. You can let any of your other apps—your event tools, notes apps, project management boards, and more—automatically add events to Google Calendar. Just select the app you need as the trigger, then use Google Calendar as the action. You can even use Gmail to add events based on your emails automatically.
Then, you can use Quick Add to add the event with just a line of text, as above, or use the detailed event settings to add everything you need. Here's some integrations to help you get started, or feel free to make your own Google Calendar integrations in Zapier with your own favorite apps.
Create Google Calendar event from Todoist taskUse this Zap
Add new Eventbrite events you create to a Google CalendarUse this Zap
Create Google Calendar events from new Google Form entriesUse this Zap
Turn Your Evernote Notes Into Google Calendar EventsUse this Zap
Save Asana Tasks to Google CalendarUse this Zap
Turn Trello cards into Google Calendar eventsUse this Zap

14. Create a Deadline With Tasks

create google calendar deadlines
To keep up with your todos inside Google Calendar, click the Tasks calendar on the calendar list on the left, and then you'll see a new sidebar on the right with a list of your tasks. Here you can type in todos, then click the arrow beside them to choose a date and add your todo to a list in Tasks. While Tasks doesn't require each task have a deadline, all task with a date attached will appear in your calendar.
Even if you don't keep your task list visible, you can still add a task by clicking anywhere on your calendar and selecting Task rather than Event at the top of the Quick Add window. Just be aware that any tasks you create this way will only be visible if your Tasks calendar is also visible.

15. RSVP to Events in Gmail

rsvp to google calendar events
If you get a ton of email event invites, it can be a chore opening all of those emails and responding to the requests. Gmail cuts down on the work, though, by allowing you to RSVP to an event right from your inbox. New invitations will have an RSVP dropdown; just click that and let the event organizer know if you'll be attending. All "yes" and "maybe" responses will automatically be added to your default calendar.

16. Add Events With Public Calendars

google calendar public calendars
I long ago decided it wasn't worth it to manually add every holiday to my calendar, but not knowing when Passover or Father's Day were going to land each year was a real problem. Luckily, Google Calendar has that covered with Interesting Calendars, a huge assortment of public calendars that cover just about any holiday and more.
Click the caret next to Other Calendars, select Browse Interesting Calendars, and then find the calendar for your country's holidays. Once you've subscribed, return to your calendar to find all the holidays added to your year. If it all becomes a bit too much and you need to hide your holiday calendar temporarily, toggle it off or on in the Other Calendars list.
google other calendars
You'll find that Interesting Calendars offers a lot more than just holidays. There are calendars for half a dozen major sports and teams all over the world. Find your team, and subscribe to be kept up to date on their match times and scores. If sports aren't your thing, there are a handful of other calendars, including moon phase, stardates, and more.

Schedule Events with Colleagues Around the World

17. Set Working Hours

set google calendar working hours
Users with paid Google Apps accounts (hint: if your Gmail address doesn't end in "@gmail.com", and you're using it at your company, you're probably using Google Apps) can go a step further and block off time when they are always unavailable. Find Working Hours in Settings and set the days and times you are available. Once saved, anyone who tries to schedule a meeting with you outside of your working hours will receive a notice that you're unavailable. Your contact can then choose another time during your working hours or disregard the warning and use the same meeting time.
Again, this is only available for Google Apps users, but there is a workaround for everyone else. Just create an event titled "Closed" or something similar for the hours you're unavailable, mark your availability as Busy on the Edit Event page, and set the event to repeat outside of your working hours. This is a cumbersome fix and may clutter your calendar, but if you've hidden early morning and late night hours as described above, you may never even see the event.

18. Stay on the Same Page With International Holiday Calendars

google calendar international holidays
Sure, it's great to know the date for Thanksgiving or whether the Fourth of July falls on a weekend, but it's also important to know when your international colleagues are going to be out of the office. If you coordinate with your company's China branch or collaborate often with a friend in England, it's a good idea to stay on top of their holidays, too. Just as you can add holidays for your country in Interesting Calendars, it's not a bad idea to add holiday calendars for other countries if closed foreign offices will affect your business.

19. Know What Time It Is Everywhere

google calendar international timezones
Wondering why your traveling colleague isn't answering emails or text, only to find it's midnight where she is? The Google Calendar World Clock, found in Labs, has you covered. The clock widget will appear to the right of your calendar, and you can choose which clocks to use in the World Clock settings.

20. Add a Timezone to Your Calendar

add timezones to your google calendar
You can adjust Google Calendar so that it's working in your time zone, but you can also add additional time zones to your calendar. This is especially useful if you live in one time zone but need to coordinate with a colleague in another time zone. An additional time zone won't affect how your own events and notifications work, but it will allow you to set a specific time zone for events like conference calls or video chats so that everyone invited knows when to be available.

Stay Organized and Improve Your Productivity

21. Keyboard Shortcuts

google calendar keyboard shortcuts
Google Calendar provides a number of keyboard shortcuts to make quick event creation and editing simple. Enable keyboard shortcuts in Settings, and click Learn More for a full list. You can jump among days, switch your calendar view, and more, all without taking your hands off of your keyboard. Be sure to check the list of keyboard shortcuts to find the ones you'll use the most.

22. Search Your Past and Future Events

search google calendar events
Use the search field at the top of your calendar to find any event in any calendar. Your search can be as specific or broad as you like, and Google will provide results from its other apps, including Drive and Gmail, beneath the calendar results.
specific google calendar search results
If you're not getting the results you need with the simple search, click the caret in the far right of the search field to start an advanced search. There are fields for the basics of an event–who, what, and where–and you can specify a date range to narrow your results further. You can even search a single calendar, making it a lot easier to track down that one event you're looking for.

23. Get Notified About Your Events

google calendar event notifications
Control your default event notifications in a calendar's settings by selecting the caret next to your calendar's title. Set pop-ups to appear or send yourself an email to remind yourself of an upcoming event. You can set multiple default notifications in each calendar, but you can also set up notifications from the edit event window in case a special occasion requires a little more notice.
Or, you can use Zapier to send you an alert in the app of your choice whenever you'd like: your email inbox, a team chat app like Slack, with a notifications tool like Twilio or Pushbullet, or anywhere else you want.
Send a Reminder SMS Before Google Calendar Events StartUse this Zap
Get a Google Calendar event reminder in Slack 10 minutes before it startsUse this Zap
Receive an email reminder 2 hours before a Google Calendar event startsUse this Zap

24. Stay Informed on the Go

google calendar SMS
Or, if you'd rather stay notified on the go, you can add your phone number to Google Calendar to let it send your SMS messages. In the Mobile Setup section of Google Calendar's settings, you can add your cell phone number—and you'll find that most countries and carriers are already supported. Once you've verified your number, you can then pick which notifications you'd like to receive via SMS or email—or both. That way, you can know what meetings are coming up next, even if you don't have a smartphone.
If you'd rather get your mobile notifications via an app, you can download the free Google Calendar apps for iOS or Android, and setup your mobile notification settings there.

25. Count Down to Your Next Meeting

countdown in google calendar
If you're still having trouble making it to your meetings on time, enable Next Meeting in Labs to create a countdown to your next event. The countdown appears to the right of the calendar and give you some details about the event in addition to how much time you've got to get there. If you find you're always losing track of time and your boss is beginning to notice your tardiness, this Labs widget can be a godsend.

26. Change Event Ownership

change google calendar event ownership
You can't always make it to an event you created and need to set a new point person. Transferring event ownership solves the issue, allowing you to set another person as an event owner.
To transfer ownership of an event, go to the Edit screen for the event, and select Change Owner from the Calendar menu. Simply transferring ownership of an event doesn't remove you from the list of attendees, though, so you can still attend even if you're no longer managing the event.

27. Enable Google Calendar Offline

enable google calendar offline
If your internet connection is inconsistent, it's essential that all of your online productivity tools work offline, too. Like the rest of Google's products, Google Calendar doesn't give you offline access by default, and leaves the choice up to you. If you're using Google Chrome, just click the cog in the top right of Google Calendar and select Offline from the menu to turn offline syncing on.
Only your default calendar will sync for now, and it may take a while for the process to complete. To sync your other calendars offline, go to Settings and choose the Offline tab. Select all of the calendars you wish to access offline. Check the status of offline syncing my clicking the Settings cog and choosing offline. You won't be able to turn off offline syncing once it's started, but as soon as the process has completed, you can disable offline access again.

Share Your Calendar

28. Share a Family Calendar

share google calendar with family
You may already have a family calendar hanging in your kitchen, marked up with important dates and football practice times, but it makes sense to keep a copy of all of those meetings and events where you can access it anywhere. A family calendar that only one person can see or edit isn't a lot of use, though, and that's where calendar sharing comes in.
To share a calendar, hover over the calendar's name in the left sidebar and click on the caret to access the Share This Calendar option. From there you can add people to your calendar by email address. There are a few different permission settings, including view only and event editing, so you can control who can do what with your calendar.

29. View a Colleague's Calendar

view friend google calendar
You can make your calendar available to a colleague just as you would to your family, but what if you want access to your colleague's calendar? Under Other Calendars, enter your colleague's email address. Google Calendar will send her an email asking for permission to access her calendar. If she agrees, her calendar will appear in your list. Don't worry, you can toggle its visibility on and off in you need to free up some calendar space.

30. Create a Publicly Accessible Calendar

create public google calendar
Communicate important dates and information to customers or clients with a public calendar. When creating a new calendar, there's a checkbox to make it public, but if you want to change the visibility of a previously private calendar, look in a calendar's sharing settings.
Now that your calendar is public, you need to make it accessible. In the Calendar Details tab of your calendar's settings, scroll to the bottom to find your calendar's address. Simply share this address or link it on your website to allow users to view it. Be careful with this one, though, because any public calendar is visible in Google searches. Only make a calendar public if you're sure it contains no personal information.

From tweaking the way your calendar looks to making sure that you see the most important events—and only those—these tips should help you get Google Calendar working the way you want. But we might have missed your favorite calendar tip. If so, be sure to share it in the comments below!

Source: https://zapier.com/blog/google-calendar-tips/

Google Calendar - 10 Awesome Features That You Should Try Out

Calendar Labs are also up to new tricks. It’s a new world of innovation just waiting to be explored.

Gmail To Calendar Event Add

The easiest new tool to get started with would have to be the Gmail-to-Calendar event add function. When you can use it, you’ll see it right beside your email on the right. All it does is look for sentences in the email which looks like a future appointment, then suggests you add it to your calendar straight away. Click on “Add” and you’re instantly in Google Calendar, the event is largely pre-filled and all you have to do is adjust and save. Neat!
new google calendar features

Find A Time

Google Calendar’s Find a Time is available whenever you’re adding an event to Calendar and in theory is very straightforward to use. However for it to work correctly, your attendees need to be sharing their calendar with you – and their primary Google Calendar needs to have all of their “busy” time noted on it.
I don’t know about you guys, but I’m spread out over quite a few calendars and I don’t generally share my calendar with friends. But, a quick re-arranging of calendars could make this feature very useable indeed.
new google calendar features

New Google Calendar Labs Features

Labs for Calendar have bumped out some great new features since I last checked, some of which are incredibly useful.  Things like Add Gadget by URL which is a neat way to add third party extensions. Smart Rescheduler, which has been around since March 2010, was so good it essentially has just been retired by “Find A Time”.

Event Flair

This is a quick and easy way to differentiate your events from one another. Enable the app, click on any event in calendar view and choose an icon to represent it. It automatically applies the icon to repeats of the task if you check the box.
google calendar tips

Auto-Decline Events

This is a very easy way to deflect all those office meeting requests without necessarily having to detail why you’re busy on a work calendar. Good for maintaining a little privacy.

Dim Future Repeating Events

This will make your calendar a teensy bit easier to look at once you’ve filled it up with every weekly event imaginable. It won’t dim full-day events or the next event in a repeating series, but if you look to the weeks ahead you’ll see repeat events are dimmed.
new google calendar features

Year View

This is a simple, handy way to view your whole year at once. Of course, you can’t see your events, but it is very good for viewing potential availability in the far future and being able to click straight through to a date in order to schedule the event.

Event Attachments

This is such a simple idea that I didn’t know I needed until I saw it. No more cutting and pasting details into the description – simply attach the appropriate Google document.
google calendar tips

Gentle Reminders

These are for anyone who has set up pop-up reminders for events, but can’t stand the way Google Calendar steals focus in the browser. This way, it pops up, but you won’t see it until you return to your Google Calendar tab. Much less annoying!
google calendar tips

One-To-One

This is a simple way to give some context to your calendar entries, filling in brief, vague titles with details of the other attendee. This stops you having to click through to see who your “meeting” is with.

google calendar features

Source: http://www.makeuseof.com/tag/awesome-google-calendar-features/

How to Create a 10 GB/s RAM Disk in Windows

After discussing how to create a RAM Disk in OS X during a recent episode of The TekRevue Podcast, several readers emailed us to ask about creating a RAM Disk in Windows. Thankfully, the process for Windows is just as easy as it is in OS X. But first, some background.

What is a RAM Disk?

RAM Disks are logical storage volumes created from a computer’s RAM. RAM is the ultrafast storage medium that a computer uses to temporarily store data while in use, dramatically speeding up the overall performance of a system. Because RAM is so fast, the logical drives we can create in RAM operate at several times the speed of even the fastest modern solid state and mechanical hard drives. This means that any task that is traditionally limited by the speed of a computer’s drive, such as muxing large video files or manipulating complex databases, can gain huge performance boosts when run from a RAM Disk. But it’s not quite that simple; there are some key caveats to consider.
First, RAM is volatile, or non-persistent, storage, which means that any data stored in RAM is lost when the RAM loses power. This contrasts with traditional solid state and mechanical hard drives, which are non-volatile, or persistent, means of storage. These storage methods retain the data written to them when the power is lost, such as when the computer shuts down or when there is a power outage. This means that anything you store in a RAM Disk will be lost when you reboot the computer, or if there’s an unexpected loss of power. Therefore, it’s important to make frequent backups of the contents of your RAM Disk, and to always keep in mind that the data on the disk could be lost at any time.
Second, compared to solid state and mechanical hard drives, RAM is relatively expensive and limited. Whereas hard drives can easily reach 4TB in capacity at a price of about $0.03 per gigabyte, the maximum amount of RAM supported by most consumer computers is usually 32 or 64GB, at a much steeper price of around $10 per gigabyte. These limitations, coupled with the fact that you can’t assign all of your system’s RAM to a RAM Disk (you need to leave some left over for the computer to use, after all), means that your logical RAM Disks will be relatively small, likely no larger than 8 to 16GB for most systems. If these limitations are acceptable, however, an incredibly fast drive awaits you.

How Big Should My RAM Disk Be?

As mentioned above, your computer needs RAM to function properly, so you’ll need to choose a RAM Disk size that balances your need for storage with the computer’s need for memory.
In general, it’s wise to leave at least 50 percent of your computer’s RAM free for the system to use. That means that if you have 16GB of total RAM, you’ll want to limit your RAM Disk to a maximum of 8GB. There are some exceptions to this rule, of course. If your planned tasks for the computer aren’t very RAM intensive, such as working with large sequential video and audio files, then you’re probably safe assigning a bit more RAM to the RAM Disk. Further, if you have a very large amount of RAM (say, for example, 64GB), you can make your RAM Disk quite a bit bigger than 32GB and still leave adequate amounts of RAM for your computer (a 52GB RAM Disk and 12GB reserved for system memory, for example).
As you’ll see next, the process of creating and destroying RAM Disks is quick and easy, so feel free to experiment with different sizes to find the balance that suits your workflow and hardware the best.

How to Create a RAM Disk in Windows

There are many software programs and utilities that can create a RAM Disk in Windows, but many of them are paid commercial apps or are missing key features. A powerful and free option we recommend is called ImDisk. Although ImDisk includes many features, such as the ability to mount and manage virtual disks, it also acts as a super simple interface for configuring and creating RAM Disks.
To get started, first download ImDisk and run the installer. By default, the installer will place three icons on your desktop. When it’s done, open the icon that says “RamDisk Configuration.”
ImDisk RAM Disk
ImDisk provides a handy GUI for configuring your RAM Disks. First, select a size for the disk; we’re using 8GB in our example. You can then choose the drive letter to which your RAM Disk will mount, and select which file system you’d like to use. As we mentioned earlier, RAM Disks are wiped out with a power loss or reboot, but you can configure one or more RAM Disks to be automatically created and mounted during the Windows boot process.
On the Advanced Tab, you can give the RAM Disk a drive name, change the cluster size (most users will be fine leaving this at the default setting), and also set up image files to preserve your RAM Disk data. With image files, users can specify a drive or folder that they always want to have in the RAM Disk, and ImDisk will copy that data to the RAM Disk each time it’s created after a reboot or power loss.
ImDisk RAM Disk
Once all of your variables are set, press OK to create the RAM Disk. This process should take just a few seconds, and you’ll see a Properties Window appear when it’s complete. You’ll now find your new logical drive in Windows Explorer, and you can begin to write data to it at incredible speeds. How incredible, you ask? Keep reading for our benchmarks.

RAM Disk Benchmarks

We not only wanted to measure the performance of the RAM Disk, we also wanted to compare it to more common storage technologies. For these tests, we’re comparing our 8GB RAM Disk to an internal SATA III Samsung 830 SSD and a RAID 5 array comprised of three 2TB Western Digital Black hard drives. Our test computer is a 3.5GHz i7 3770K system with 16GB of total memory running at 1866MHz. All tests were performed with the 64-bit edition of CrystalDiskMark running on Windows 8.1.
RAM Disk Benchmarks
Those who read our previous article on OS X RAM Disks won’t be surprised to see the results, but those new to the concept will be blown away by the performance of the RAM Disk, especially compared to the traditional storage drives. With peak sequential reads of 6.9 gigabytes per second, the RAM Disk is approximately 1,701 percent faster than our Samsung 830 SSD.
RAM Disk Benchmarks
Things get even better with write speeds. The RAM Disk tops 10 gigabytes per second in both sequential and large random operations. For those keeping score at home, that’s a 2,722 percent increase performance.
Once you’re done playing with the RAM Disk, you can delete it by heading back to the ImDisk application and pressing Unmount on the Basic tab. If you have data on the disk, ImDisk will offer to image it for you, so that you can quickly restore it the next time you mount a RAM Disk.

Conclusions

In short, the RAM Disk numbers are a complete game changer when it comes to drive speed, and with the right precautions and expectations, the introduction of a RAM Disk could revolutionize certain drive-dependent workflows.
With a super-simple setup and configuration thanks to the free ImDisk utility, almost anyone can enjoy experimenting with this awesome feature. Just make sure to remember the caveats and never store data on a RAM Disk that you can’t afford to lose.

Source: http://www.tekrevue.com/tip/create-10-gbs-ram-disk-windows/

Wednesday, April 22, 2015

7 Công Cụ Hay Dành Để Thực Hiện Devops

Hàn gắn sự chia cắt giữa các nhà phát triển và các hoạt động bằng các công nghệ nổi bật.


7 công cụ hay giúp thực hiện devops đúng
Trước đây, các nhà lập trình và các hoạt động thường hay mâu thuẫn với nhau. Việc tạo ra code thì chưa bao giờ được cập nhật đủ nhanh cho các nhà lập trình, các nhà quản lý có nhiệm vụ đảm bảo cho các server hoạt động một cách êm ả đã bực mình vì sự khẳng định vội vàng của các nhà lập trình về các quá trình theo đường tắt và chồng chất các yêu cầu xử lý.
Tuy nhiên, kể từ khi devops xuất hiện, thì các trận tuyến này đã không còn, nhờ có các công cụ mà đã nảy sinh khoảng cách, devops cung cấp các dịch vụ đa dạng từ quản lý cấu hình cho đến tính di chuyển được của các ứng dụng. Dưới đây là một vài công cụ nổi bật giúp thực hiện devops gây ấn tượng ngày nay.

Atlas
HashiCorp đã giới thiệu Atlas mới nhất, Atlas cung cấp tầm nhìn về cơ sở hạ tầng, bao gồm các server, các container, và các máy ảo, ngoài việc quản lý cấu hình và khám phá dịch vụ. Việc xây dựng dựa trên các dự án mã nguồn mở phổ biến của công ty như Vagrant, Packer, Serf, Consul, và Terraform, Atlas - mã nguồn đóng riêng làm cho devops có khả năng qua các dịch vụ đám mây đa dạng, bao gồm AWS, Google Compute Engine, Azure và OpenStack, và cung cấp một bảng điều khiển dành cho lập trình, triển khai và bảo trì các ứng dụng.
Người dùng không có công việc thường xuyên đang xem xét Atlas cho nền tảng gắn kết khách hàng của công ty. Franks là người nói về Lithium Technologies, đã nhập vào Atlas, ông đang quan sát Atlas để tích hợp và triển khai liên tục. Franks nói rằng: "Hiện nay có nhiều công cụ như Jenkins, Travis và Bamboo." "Dặm cuối cùng là phần triển khai, thì họ không xử lý."
Các cài đặt tại chỗ cho khách hàng của Atlas được mong chờ vào đầu năm nay.

Chef
Chef là một hệ thống và framework cơ sở hạ tầng đám mây mà tự động hóa việc xây dựng, triển khai và quản lý cơ sở hạ tầng qua các script ngắn, lặp lại được gọi là "recipes." Nhưng sức mạnh thật sự của Chef có lẽ nằm trong cách sử dụng các modun cấu hình nối được (hay còn gọi là cookbooks) của nó, có gần 2000 cookbooks có sẵn qua cộng đồng Chef. Gần đây Facebook của người dùng nổi bật đã có mã nguồn mở của một vài Chef cookbooks của riêng nó, quan sát một repo (nhà kho) của mã nguồn, chẳng hạn như Git và giữ server của Chef nội vùng ăn khớp.
Đại học Wharton School cũng là người dùng Chef. "Chef tự động hóa các nhiệm vụ phức tạp mà khác thời gian và nguồn - thì chuyên sâu, nhưng điều quan trọng hơn cả là nó cho phép chúng ta tập trung mọi nỗ lực của chúng ta vào sáng tạo và nâng cao chất lượng dịch vụ," ông Sanjay Modi, giám đốc kỹ thuật của trường cho biết. "Nó cũng mở ra cánh cửa để thêm sự cộng tác và hiệu quả hơn nữa trong tổ chức." Chef đã được sử dụng bởi Wharton để tự động hóa quản lý cấu hình cho các nguồn Amazon EC2, Linux nodes và máy ảo cục bộ

Docker
Docker mang lại tính khả chuyển cho các ứng dụng qua công nghệ Containerization của nó, do đó các ứng dụng hoạt động cho chính nó - các đơn vị được chứa đựng có thể được di chuyển trong toàn thể các nền tảng. Nó bao gồm Docker Engine, có thời gian chạy nhẹ và công cụ đóng gói, và Docker Hub là một dịch vụ đám mây dành cho ứng dụng trong việc chia sẻ và sự tự động hóa quy trình.
"Docker là một phần quan trọng của cơ sở hạ tầng dịch vụ quản lý và thử nghiệm thế hệ tiếp theo của Yelp," Sam Eaton, giám đốc bộ phận kỹ sư tại Yelp cho biết. "Việc tách riêng các phần phụ thuộc và quay các container mau lẹ đã cho phép chúng ta rút ngắn lại chu trình phát triển và tăng tốc độ thử nghiệm nhiều hơn bốn lần."

Puppet
Puppet Enterprise xuất phát từ Puppet Labs, cung cấp quy trình xử lý trung tâm dữ liệu bằng cấu hình tự động hóa và quản lý máy móc và phần mềm. Phiên bản mới nhất 3.7 đã được công bố, đề cao các ứng dụng của Puppet, các ứng dụng được xây dựng cho một mục đích nhất định cho sự tự động hóa IT, bao gồm Node Manager dành cho quản lý với một lượng lớn các hệ thống được thay đổi thường xuyên. Một phiên bản mã nguồn mở của Puppet cũng có sẵn.
Đại học Stanford sử dụng phiên bản mã nguồn mở của Puppet "để nối khoảng cách giữa phát triển phần mềm mà chúng ta cần tạo ra các loại dịch vụ thư viện số và sự quản lý hệ thống mà chúng ta cần giữ cho các dịch vụ đó hoạt động với hiệu quả cao và an toàn," Bess Sadler đến từ đại học Stanford cho biết. Các nhà lập trình đã bị thu hút vào sự quản lý hệ thống, trong khi các admin của hệ thống đã làm tăng thêm sự liên quan của mình vào phát triển phần mềm, làm cho các ứng dụng có khả năng phát triển nhanh hơn.

SaltStack
SaltStack cung cấp sự tự động hóa dữ liệu dành cho quản lý các hệ thống, xây dựng đám mây, dự liệu server, và cấu hình ứng dụng. Một công cụ tự động hóa cơ sở hạ tầng đám mây được điều khiển theo sự kiện, nó có thể tự động hóa các nhiệm vụ trong quy trình devops. Deseret Digital Media đã sử dụng SaltStack khoảng hai năm để tự động hóa môi trường của nó, đề cao xấp xỉ 200 máy ảo đang chạy một môi trường sản phẩm và dịch chuyển.
SaltStack "tạo ra các sự hoạt động nhiều hơn việc có thể tới gần được cho các nhà lập trình," Justin Carmony, giám đốc phát triển của Deseret Digital cho biết. Công ty có ba nhà điều khiển và 30 nhà lập trình; SaltStack để họ đóng góp vào sự hoạt động, chẳng hạn như dự liệu các server mới. "Theo truyền thống các sự hoạt động và các nhà lập trình luôn bất đồng với nhau." Carmony nói. SaltStack cung cấp một phương thức và một ngôn ngữ bình thường để quản lý các server, theo cách ấy để nối khoảng cách giữa hai bên.

ScriptRock GuardRail
GuardRail cung cấp theo dõi cấu hình, với sự quan sát liên tục trạng thái cấu hình máy. Nó có thể giúp người dùng đảm bảo môi trường sản phẩm của họ là đồng nhất với QA, kiểm tra và các môi trường lập trình. VersionOne, nhà tạo ra nền tảng quản lý dự án agile, đã bắt gặp các thử thách với sự kéo theo cấu hình và sự tự động hóa, do đó VersionOne đã chuyển sang GuardRail.
"Các nhà lập trình đang có các biểu tượng tắt để tạo ta sự tự động hóa dễ dàng hơn. Để mà có các bản build chạy trên các chương trình đại lý mới, thì họ đang thay đổi những gì đang hoạt động trước đây cho các bản build khác. Sự không ổn định của cơ sở hạ tầng đang làm suy yếu những gì có khả năng bằng nhiều bản build chương trình đại lý," Ian Buchanan, giám đốc sản phẩm của VersionOne. "Nhờ GuardRail, bây giờ chúng tôi có thể hiểu được cách mà bất kỳ build agent được thiết lập cấu hình để chúng tôi có thể có nhiều agent đáng tin cậy như chúng tôi muốn." VersionOne đã tăng thêm tầm nhìn vào việc kéo theo cấu hình và có thể dẫn chứng các kỳ vọng bằng tài liệu và cũng đã tạo ra được các thử nghiệm human-readable (người đọc cũng hiểu được), như vậy ngoại trừ sự tương đương của một tester trọn thời gian.

Splunk
Splunk là một công cụ dùng để tìm kiếm và sửa chữa các vấn đề theo thời gian thực qua chu kỳ đời sống của ứng dụng, nó cho phép các nhà lập trình hình dung dữ liệu từ các môi trường sản phẩm mà không phải truy cập máy sản xuất. Splunk giúp người dùng bao quát các quá trình devops, bao gồm sự triển khai và tích hợp liên tiếp.
User EnerNOC cung cấp phần mềm năng lượng thông minh dành cho các nhà điều hành mạng lưới điện và các lĩnh vực khác, User EnerNOC là người dùng của Splunk được khoảng năm năm. “Về cơ bản, Splunk đã thay đổi phương thức mà chúng ta điều hành hệ thống sản xuất,” James Nichol, kỹ sư trưởng tại EnerNOC nói. “Nó đã làm cho những người dùng kỹ thuật và phi kỹ thuật có khả năng đi sâu vào bản chất của một hệ thống rất phức tạp mà mặt khác sẽ không rõ ràng với họ. Chúng ta đã có các máy chủ ảo, các nhà quản lý phát triển, và quản lý chăm sóc khách hàng cài đặt các bảng điều khiển, hệ thống cảnh báo, và tìm tòi dữ liệu mà không thể không cần Splunk.”

Source: http://www.itjobs.com.vn/vi/article/7-cong-cu-hay-danh-de-thuc-hien-devops-399