Acquainted with BASH Scripting

by woodmanadmin

It is undeniable that over time, the popularity of Linux is increasing every day. Linux Kernel project which was originally just a fun project by Linux apparently transformed into a project that became the basis for the evolution of the digital world today.

We can see that more and more digital devices are therein using Linux in it. Changes were made in all areas so that Linux can be used by all users, both from the ground level up to the experts though.

One thing that remains a hallmark of Linux is the existence of a shell that is never lost on any Linux distro. Shell is a command-line interpreter on duty to translate the commands entered by the user directly to the system through the help of a terminal or console as a zoom interface (such as Command Prompt on the Windows platform). Although today most of the Linux distributions already to offering graphical display, the shell is still regarded as one of the strengths of Linux shell bridge where users can interact with the system in order to be more flexible. Many things can be done on a shell because we are dealing directly with the system, coupled with the many variants of the shell that offers a variety of features in it, such as csh, sh, bash, ksh, tcsh, ash, zsh, etc.

One of the most common type of shell used is BASH (Bourne-Again Shell) which was created by Bryan Fox in 1988. Shell is a replacement of the Bourne Shell (sh) existing first and is still used in some Linux distributions. Currently BASH shell has become a de facto standard for almost all Linux distributions because it is considered the most feature-rich and has a fairly high degree of portability. For comparison between variants shell can be seen on the Wikipedia website

To be able to understand the Linux system with better and also improve your productivity and take advantage of the flexibility offered by Linux, so it’s good we are trying to learn programming BASH script. PCplus using Slackware Linux distro, but this tutorial can be applied to all Linux distributions for use BASH version 4.2 and above. You can use any text editor because basically BASH script is plain text file. You can also try it on a Windows platform with the help of Cygwin,

open the editor:

1. The first step in creating a shell script is telling the system what shell you want to use, because it could be available in a Linux distribution over the shell variant. Because we want to use bash, then write this line in the first row of each bash shell script that will be created

This code is called the shebang and a special instruction that will determine what the interpreter is going to be used to process a shell script. For example, for a script that utilizes Perl interpreter, it will contain information

2. Because the shell script is basically able to execute commands on the shell, then we can run shell commands from a shell script. For example, we want to display today’s date along with the name that we use username to login. Use the code on the listing-1 as an example. Before you can run the script, give it execute permissions on the file with the command chmod + x’s listing 1.sh (adjust the file name you gave) then run the command.

Date command displays the current date information while whoami will menapilkan your user information to login.

3. What if we want to display the text coupled with a shell command? Use the echo function to display a message to the screen shown in listing-2. Echo function accepts parameters in the form of a text message that will be displayed kelayar. You might ask, why the date and user information are on different lines with text displayed? This is due essentially echo function will display a message and then change the next line. To be able to display an information to the right of the text is displayed, use the-n parameter on the function like echo in the listing-3.

4. You can try some of the commands contained in the location / bin and / usr / bin. If not sure of the usefulness of a command, run the command man <nama-perintah> on the console or terminal, for example, man ls and manual information about the ls command will be displayed. Each command has a variation of different parameters with each other, so there are times when we have to read the manual to know every option available.


Halcyon Software Announces Record and Playback V11

by woodmanadmin

Read the rest of this entry »


Thanko Quad-core Android SmartTV 2, PC Portable LCD TV to Change Android Devices Being Great

by woodmanadmin

Want to feel the sensation of the Android experience to a jolly? If so, the latest portable PCs known as Thanko Quad-core Android SmartTV 2 this might be an alternative solution.

With features and capabilities that it has, you can use Android SmartTV Thanko Quad-core 2 is to convert non-Adroid devices such as LCD TV into an Android device.

PC portable measuring 122x175x121mm and weighs 250g is complemented by a 1.6GHz Quad Core CPU, operating system Android 4.2 Jelly Bean, and a built-in 2GB memory. And thanks to the existence of two existing USB terminal, you can use it with a keyboard, mouse, portable HDD and so on.

While about prices in Japan itself, Thanko Quad-core Android SmartTV 2 priced around ¥ 14,800 or the equivalent of 1.5 million dollars per unit.


Folder Access Windows 8 on Linux

by woodmanadmin

Two editions ago we have discussed how to access Ubuntu from Windows 8. The technique does not necessarily mean that you can access the folder dibagipakaikan Windows 8 on Linux. Well, that ye may be able to access the folders of Windows 8, you should try this tutorial.

Step 1:
Configuration Workgroup Computers in the same

How:

T04-435-Windows8-gb11

 

1. Make the same Workgroup. Go to the Start screen, type “System”, click Settings, and then click the System icon on the left side. Click the “Change Settings” on computers using the Windows 8 operating system.

 

T04-435-Windows8-gb12

 

 

2. In the System Properties window go to the Computer Name tab and see the workgroup name there. Comparing with the existing workgroup name information in Linux. If the same, you can jump straight to step 4. If different, follow the first 3 steps.

 

 

T04-435-Windows8-gb12

 

3. Click the “Change” is in the Computer Name tab. After that, in the Computer Name Changes window, click the Workgroup menu in the box if the Member in the column below, the contents of the same name with a Linux workgroup. Press “OK” to save changes. When prompted, restart the PC in order to connect with the new workgroup.

 

 

Step 2:
Configuring Windows PC to be shared
T04-435-Windows8-gb20Bagipakaikan files as usual. Start Windows Explorer, and browse the folder name you want dibagipakaikan. Right-click the folder, select “Share with> Homegroup (view)” to provide read-only access or “Share with> Homegroup (view and edit)” to provide read and write access.

 

Step 3:

Access Folders from Linux
In this example we will use Ubuntu as an example. To access the folder via the Ubuntu dibagipakaikan, there are two ways that can be used. You can access the network via a network connection directly to the browser or Windows PC. This she steps details.

Option A: Access via the Network Browser

T04-435-Windows8-gb31

 

 

1. Click the Places menu> Network on your desktop.

 

 

 

T04-435-Windows8-gb32

 

 

2. When Network File Browser window appears, double-click the Windows Network icon on the list.

 

 

 

T04-435-Windows8-gb33

 

3. List of networks will appear next computer operating system Windows detected by Linux. Double-click the line with the name of the workgroup that you created in step 1.

 

4. Finally, double-click the name of your computer operating system Windows 8. Earlier dibagipakaikan folder will appear and can be accessed as usual.

 

Option B: Direct Connection to Windows

T04-435-Windows8-gb41

 

 

1. From the desktop, click the “Places> Connect to Server”.

 

 

 

T04-435-Windows8-gb42

 

 

2. Will munncul Connect to server window on the screen. You are asked to fill in a few questions about the membagipakaikan file server.

 

 

T04-435-Windows8-gb43

 

 

3. To get the right information, turn to your Windows PC. After that, right-click the folder that dibagipakaikan, click “Properties” and click the “Sharing” tab. Record the name of the folder sharing and its Network Path.

 

 

T04-435-Windows8-gb44

 

4. Now, turning back to Linux. Enter the following information in the Connect to Server window:
• Service type: Windows share;
• Server: WINDOWS-PC (filled with computer name);
• Share: / Users / name / Desktop (the path of the folder in bagipakaikan. Signs backslash (\) is replaced with a slash (/));
• Folder: shared (folder name dibagipakaikan).

 

5. Give a check mark in front of the option “Add Bookmark” and give the Bookmark name to any name that allows you to remember the name of the folder and file locations dibagipakaikan.

T04-435-Windows8-gb45

 

6. Click “Connect”. Window that contains folders dibagipakaikan in Windows 8 will appear automatically. At other times, you’ll be able to access the same folder quickly by simply clicking on the Places menu bookmarking it.


Facebook speeds PHP by crafting a PHP virtual machine

by woodmanadmin

Social networking giant Facebook has taken another step at making the PHP Web programming language run more quickly. The company has developed a PHP Virtual Machine that it says can execute the language as much as nine times as quickly as running PHP natively on large systems.

“Our goal is to make PHP run really, really quickly,” said Joel Pobar, a Facebook engineering manager. Facebook has been using the virtual machine, called the HipHop Virtual Machine (HHVM), across all of its servers since earlier this year.

Pobar discussed the virtual machine at the O’Reilly Open Source Conference (OSCON) being held this week in Portland, Oregon.

Shares its development tools

HHVM is not Facebook’s first foray into customizing PHP for faster use. PHP is aninterpreted language, meaning that the source code is executed by the processor directly. Generally speaking, programs written in interpreted languages such as PHP tend not to run as quickly as languages, such as C or C++, that have been compiled beforehand into machine language byte code. Facebook has remained loyal to PHP because it is widely understood by many of the Web programmers who work for the company.

To keep up with the insatiable user demand, however, Facebook originally devised a compiler, called HipHop, that would translate PHP code into C++, so it then it could be compiled ahead of time for faster performance.

While Facebook enjoyed considerable performance gains of this first version of HipHop for several years, it sought other ways to speed the delivery of the dynamically created Web pages to its billion or so users. “Our performance strategy for that was going to tap out,” Pobar admitted.

HHVM is the next step for Facebook. Under development for about three years, HHVM actually works on the same principle as the Java Virtual Machine (JVM). HHVM has a just-in-time (JIT) compiler that converts the human readable source code into machine-readable byte code when it is needed. (The previous HipHop, renamed HPHPc, has now been retired within Facebook.)

This JIT approach allows the virtual machine to “make smarter decisions at runtime,” Pobar said. For instance, if a call is made to the MySQL database to read a row of data, the HHVM can, on the fly, figure out what type of data it is, such as an integer or a string. It then can generate or call code on the fly that would be best suited for handling this particular type of data.

With the old HipHop, “the best it can do is analyze the entire Facebook codebase, reason about it and then specialize code based on its reasoning. But it can’t get all of the reasoning right. There are parts of the code base that you can not simply infer about or reason about,” Pobar said.

Virtual system speedier

Pobar estimated that HHVM is about twice as fast as HPHPc was, and about nine times as fast as running straight PHP.

Facebook has posted the code for HHVM on GitHub, with the hopes that others will use it to speed their PHP websites as well.

HHVM is optimized for handling very large, and heavily used, PHP codebases. Pobar reckoned that using HHVM for standard sized websites, such as one hosting a WordPress blog, would gain only about a fivefold performance improvement.

“If you take some PHP and run it in on HipHop, the CPU execution time [may] not be the limiting factor for performance. Chances are [the system is] spending too much time talking to the database or spending too time talking to [the] memcache” caching layer, Pobar said.


Yahoo Sports Launches New Fantasy App With Mobile Drafting

by woodmanadmin

Yahoo announced that it has launched its new 2013 Fantasy Sports app today, which brings a new design, and new features to the experience.

One of the big new improvements is that it now features mobile drafting, which many will find tremendously helpful. It’s a lot of pressure to be at a computer during draft time.

 

“Managers can now sign up, draft a team and win their league championship from their iOS and Android device thanks to new technology incorporated by Bignoggins Production, Loki Studios and the Yahoo! Sports mobile team,” a spokesperson for Yahoo tells WebProNews. “The app also now features mock drafting, to help fans prepare and get an edge on the competition.”

Yahoo announced its acquisition of Bignoggins just a few weeks ago. They haven’t wasted any time.

“And starting with football, for the first time ever, all of Yahoo! Sports Fantasy games will live under one mobile roof – the Yahoo! Sports Fantasy app – including basketball, hockey and baseball,” the spokesperson adds.

According to Yahoo, the new app is faster than previous experiences. It also has free notifications.

The app is available for iOS and Android.


Lawyer Plugin for WordPress Promises Legal Resources and Nationwide Attorney Network

by woodmanadmin

After two years of development, Lawyer Plugin (www.lawyerplugin.com) launched their first public version of what promises to be an essential plugin for any lawyer running a WordPress website.

Lawyer Plugin is the first plugin of its kind: it gives law firms access to hundreds of local resources which are automatically added, updated, and synced with Lawyer Plugin’s central servers every 24 hours.

The registration takes care of all settings automatically. For example, a bankruptcy lawyer in Tampa, Florida, creates his profile with his law firm’s name, address, city, state, and practice area(s). The plugin automatically pulls bankruptcy- and Florida-related resources onto the resource page which is created by the plugin. With that, the firm becomes part of the peer-to-peer legal directory which is then displayed on the websites of every plugin user.

Block Competition

When creating the plugin, the peer-to-peer directory presented a major challenge. A law firm does not want to display competing law firms on their website. To solve this problem, Lawyer Plugin has been designed to filter competitors and only displays non-competing listings on each user’s website.

Here is how the filter works:

Smith & Smith bankruptcy lawyers in Tampa, Florida, install Lawyer Plugin.

Lisa Johnson & Associates, elder law attorneys in Asheville, North Carolina, also installs Lawyer Plugin.

Bradley Baker & James bankruptcy lawyers in Tampa Florida installs Lawyer Plugin.

Foz & Oz Attorneys at Law, bankruptcy lawyers in Los Angeles, California, installs Lawyer Plugin, too.

On the Smith & Smith resources page, Lawyer Plugin will display the listing for Lisa Johnson & Associates, because that firm does not compete in Smith & Smith’s local market. It will also display the listing for bankruptcy attorneys Foz & Oz. Even though they are bankruptcy lawyers, Foz & Oz are in Los Angeles, and therefore not competing with the Tampa, Florida practice.

However, Bradley Baker & James will not be included on Smith & Smith’s website, and Smith & Smith will not be included on Bradley Baker & James website. Lisa Johnson & Associates will display listings for all three of the above firms, because none of them compete with her practice.

A Fun Brand for a Serious Industry

Lawyer Plugin breaks out of the stuffy legal mold. On Lawyerplugin.com, users will not find any bookshelves, gavels, or court house columns. Instead, they are offered an outlet for venting with a “Hate Mail” form and noting in their legal disclaimer that the plugin has not displayed any “violent behavior,” but cautions that the “adolescent years are right around the corner.”

Last year, Lawyer Plugin posted teasers on its Facebook and Twitter profiles as beta testing began. The question was asked: “How awesome will Lawyer Plugin be?” The answers —

Coffee will drink Lawyer Plugin to wake up.

You will never need a flu shot. The flu will need a Lawyer Plugin shot.

The earth will no longer rotate around the sun. The sun will be too busy rotating around Lawyer Plugin.

And it was even predicted that Christmas will begin celebrating Lawyer Plugin.

The Lawyer Plugin’s financial backers plan to keep the plugin free. Lawyer Plugin will continue to receive funding indefinitely as add-ons are developed, and a paid, professional version of Lawyer Plugin is also in the works.

Lawyer Plugin is free and out in the court of public opinion. The developers are thirsty for user feedback and additional ideas for features.


AMD & Nvidia Driver Update Available for Windows 8.1

by woodmanadmin

CALIFORNIA – Microsoft preparing update hardware drivers Advanced Micro Devices (AMD) and Nvidia for Windows 8.1. Thus, users need not worry if will upgrade the latest version of the operating system.

Reported Hardware.info, Monday (01/07/2013), both companies are based in the United States announced the optimized drivers for Windows 8.1 Nvidia stressed that the company intends to have a reliable certified WHQL drivers available for one day.

AMD just published a list of new features, including revealing designated driver for the graphics processing unit (GPU) FirePro. While Nvidia, is reportedly not mention updated drivers for the graphics card with the Quadro series.

In addition to the graphic card’s drivers, original hardware vendor giant Santa Clara (Nvidia) also reveals updated device drivers for notebook GPUs. Nvidia also write a list of downloads or update Nvidia drivers are suitable for ‘Windows 8.1 Preview 62-bits’. Writing ’62-bits’ appears to be a typing error.

AMD calls several new features, including the option to play the video on the ‘refresh rate’ 48 Hz. In addition, the company is headquartered in Sunnyvale also brings hardware acceleration in video conferencing application Skype and Lync.

The information circulated previously revealed, Windows 8.1 will present a free phone features. Windows 8.1 Preview is reportedly updating Internet Explorer 11 (IE11), which will bring some interesting improvements.

Reportedly, IE11 will present the option ‘Click to Call’ which allows users to dial phone numbers directly from the browser. “Click to Call is a new feature in IE11. If you want to make phone calls by simply click the name mereka.Anda can choose to call Default Programs of IE11 or Skype, “said Microsoft.


Monitor Asus MX279H

by woodmanadmin

Tempting appearance u6-436-AsusAsus MX279H is one variant of the monitor into the first ranks of Designo MX Series.Hal that steal the show are performances that are the focus of this series.

Rely on the screen with a thin bezel, this LCD monitor performed beautifully accented with metal bar which also serves as the setting panel on the bottom right side. Circular buffer is designed as though the actual form of metal plastic.

The buttons are there on the Asus MX279H, although there are physical, but it just needs to be touched. True, Asus chose to use the touch buttons on the LCD monitor with a diagonal screen size of 27 ˝ this. The arrangement itself is quite comprehensive, ranging from the standard setting brightness, contrast, until saturation. There is also the selection of presets like Scenery, Theater, Game, Night View, and in which each of these presets you can still set it again.

In terms of connectivity, this Asus monitor provides two HDMI ports, a single D-Sub 15pin port, and two audio ports (Headphone Out and Line In). Asus nullify the decision and choose the DVI connector HDMI connector types may recall this now more popular and is found in many devices. Interesting features contained in this MX279H Asus Asus SonicMaster is in charge of presenting the best sound for the class of integrated speakers on the monitor.

At PCplus testing for the audio quality, speaker Bang and Olufsen ICEpower sound produces above average speaker monitor in general. The audio system can not replace a desktop audio system, especially if you expect thumping bass. Power output or volume is enough to fill the room. So for everyday use such as watching streaming video or simply listen to soft music, the sound produced by Asus PCplus MX279H sufficient.

Asus uses AH-IPS panel type on MX279H to provide a good quality display. Panel is fairly dark frame design make it blend with the screen so that the state of death, this LCD monitor looks completely frameless. Facilitate the availability of several presets that you do not want to mess around with these settings and it. In general appearance was good, with the brightness and contrast level is fairly good. However, PCplus found that the saturation level of the monitor is a bit high, so as to obtain the best view, PCplus suggest to keep it set.


Instagram Surpasses Pede Will Facebook As the World’s Largest

by woodmanadmin

Instagram skyrocketed in popularity as more and share photos via a mobile application. As a start-up which is very expensive purchased by Facebook apparently did not make Instagram lose ambition. Instagram sure will be bigger than Facebook.

Facebook now has 1.1 billion users worldwide making it the largest social networking Worldwide. But they have a problem with the new user to hook a young age began to look at other services. In terms of feeling confident that Instagram can grow large if it is capable of growth right now.

“By definition, if Instagram continues to grow in this position then yes, it would be even greater,” said Kevin Systrom in an interview with Fast Company. “Instagram will be the largest in the world.”

In contrast to the explicitly Kevin so confident, Instagram founder fellow replied diplomatically. “I do not know, but it’s a good question. Basically there is no limit to the number so maybe one day we will match?” Mike Krieger said.

Instagram is currently still far less than Facebook, but the number of users has exceeded Twitter. While the video recording feature that was recently launched is also more popular than Twitter’s Vine has attended first.