This commit is contained in:
ThomazL 2014-03-12 20:59:48 +08:00
commit 75c0da5e33
9 changed files with 368 additions and 184 deletions

View File

@ -0,0 +1,53 @@
Daily Ubuntu Tips HPLIP 3.14.3 Released Upgrade In Ubuntu
================================================================================
HP Linux Imaging and printing (HPLIP) is an open-source package sponsored by HP to deliver full feature HP printer drivers to the Linux community.
Installing this package which come default in Ubuntu allows full HP printer support in Ubuntu and other Linux distributions for thousands of HP printers. Support for more printers is being added regularly, which currently stands at over [2,300 HP printers][1].
This version, 3.14.3 adds support for even more printers, including support for HP DeskJet Ink Advantage 4640 e-All-in-One Printer series, HP LaserJet Pro MFP M126nw, support for Debian 6.0.9, 7.3, 7.4 and Fedora 20.
Besides adding support for new printers and distributions, some outstanding issues were also fixed in this release. Some of the fixes are; functionality alignment issues with HP OfficeJet 6100, issue that prevented a second fax queue in interactive more, and a missing No 6 3/4 Envelop media size for HP OfficeJet 7619 Series.
For more about this release, please check out its release page at [http://sourceforge.net/p/hplip/news/2014/03/hplip-3143-public-release-/][2]
Below is a complete list of newly support HP printers:
- HP DeskJet Ink Advantage 4640 e-All-in-One Printer series
- HP DeskJet Ink Advantage 4645 e-All-in-One Printer
- HP DeskJet Ink Advantage 4646 e-All-in-One Printer
- HP DeskJet Ink Advantage 4648 e-All-in-One Printer
- HP LaserJet Pro MFP M125a
- HP LaserJet Pro MFP M125nw
- HP LaserJet Pro MFP M125rnw
- HP LaserJet Pro MFP M126a
- HP LaserJet Pro MFP M126nw
- HP LaserJet Pro MFP M127fp
To install / upgrade to this version, press **Ctrl Alt T** on your keyboard to open the terminal. When it opens, run the commands below to download the package.
wget http://prdownloads.sourceforge.net/hplip/hplip-3.14.3.run
Next, run the commands below to run the installation.
sh hplip-3.14.3.run
Follow the wizard to guide you when installing. Its pretty simple. For a complete step-by-step guide on installing it, please check this post out.
http://www.liberiangeek.net/2013/02/hp-linux-imaging-and-printer-hplip-version-3-13-2-releasedadds-support-for-more-printers/
After installing, you may have to restart your machine.
![](http://www.liberiangeek.net/wp-content/uploads/2014/03/hplipubuntu3143.png)
Enjoy!
--------------------------------------------------------------------------------
via: http://www.liberiangeek.net/2014/03/daily-ubuntu-tips-hplip-3-14-3-released-upgrade-in-ubuntu/
译者:[译者ID](https://github.com/译者ID) 校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
[1]:http://hplipopensource.com/hplip-web/supported_devices/index.html
[2]:http://sourceforge.net/p/hplip/news/2014/03/hplip-3143-public-release-/

View File

@ -0,0 +1,45 @@
罪过 罪过 翻译 by Luoxcat
First Look At Ubuntu 14.04 Default Wallpapers. Download Now!
================================================================================
Ubuntu 14.04 LTS, scheduled to [release on 17 April][1], has [revealed the default set of wallpapers][2] that would be included in the latest release. These wallpapers were chosen as best among numerous entries submitted in [Ubuntu 14.04 Wallpaper Contest][3]. There are in total 11 of them which is slightly less than expected.
### Ubuntu 14.04 default wallpapers: ###
![](http://itsfoss.com/wp-content/uploads/2014/03/Backyard-Mushrooms-Kurt-Zitzelman.jpg)
![](http://itsfoss.com/wp-content/uploads/2014/03/Beach-Renato-Giordanelli.jpg)
![](http://itsfoss.com/wp-content/uploads/2014/03/Berries-Tom-Kijas.jpg)
![](http://itsfoss.com/wp-content/uploads/2014/03/Foggy-Forest-Jake-Stewart.jpg)
![](http://itsfoss.com/wp-content/uploads/2014/03/Ibanez-Infinity-Jaco-Kok.jpg)
![](http://itsfoss.com/wp-content/uploads/2014/03/Jelly-Fish-RaDu-GaLaN.jpg)
![](http://itsfoss.com/wp-content/uploads/2014/03/Mono-Lake-Angela-Henderson.jpg)
![](http://itsfoss.com/wp-content/uploads/2014/03/Partitura-Vincijun.jpg)
![](http://itsfoss.com/wp-content/uploads/2014/03/Reflections-Trenton-Fox.jpg)
![](http://itsfoss.com/wp-content/uploads/2014/03/Sea-Fury-Ian-Worrall.jpg)
![](http://itsfoss.com/wp-content/uploads/2014/03/Water-web-Tom-Kijas.jpg)
- [Download all Ubuntu 14.04 wallpapers][4]
Mushrooms one looks quite soothing to me. Which one you liked the most?
--------------------------------------------------------------------------------
via: http://itsfoss.com/ubuntu-1404-default-wallpapers-download/
译者:[译者ID](https://github.com/译者ID) 校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
[1]:http://itsfoss.com/ubuntu-1404-release-schedule/
[2]:https://bugs.launchpad.net/ubuntu/+source/ubuntu-wallpapers/+bug/1275798
[3]:http://itsfoss.com/ubuntu-1404-wallpaper-contest-kicks/
[4]:https://bugs.launchpad.net/ubuntu/+source/ubuntu-wallpapers/+bug/1275798/+attachment/4018003/+files/Optimised%20images.tar.gz

View File

@ -1,57 +0,0 @@
好坑 乌龙茶占了
GitHub's New Atom Text Editor Is Open Source, Sort Of, Though Not Really
================================================================================
**GitHub has a new not-very-open open-source text editor, and nobody seems to care.**
Samuel Greenwald [claims][1] that "any IT leader who can't grasp an open source mindset is doomed to fail." While this may be true, people can be forgiven for not fully grokking open source, given the weird licensing gyrations that even the most open source savvy among us can go through.
Take GitHub, for example. GitHub just released its [Atom][2] text editor to much acclaim. While [some lauded Atom][3] as "completely open source," it's not. Not even close.
### Kind Of, Sort Of Open Source ###
Not that GitHub is dressing up Atom as open source. Not all of it, anyway. As GitHub co-founder Tom Preston-Werner specifies, only "Atom core" code will be closed source, while "all the existing MIT-licensed repos under the Atom org will remain so forever." The reasons are purely commercial, as he [notes][4]:
> Atom won't be closed source, but it won't be open source either. It will be somewhere in-between, making it easy for us to charge for Atom while still making the source available under a restrictive license so you can see how everything works. We haven't finalized exactly how this will work yet. We will have full details ready for the official launch.
Back in the early days of open source, we had a name for this. Actually, Microsoft did. It was called "Shared Source." [Launched in 2002][5], Shared Source was Microsoft's way of giving its community a way to look but not touch (or redistribute) Microsoft's code. It didn't go so well for Microsoft, as SAP's Big Data chief Vijay Vijayasankar reminds us, but GitHub might do better:
> [@dberkholz][6] I remember the OSI peeps criticized MS quite heavily that it is a marketing stunt . But GitHub might make it alright this time
> — Vijay Vijayasankar (@vijayasankarv) [February 27, 2014][7]
He might be right.
### The GitHub Generation Can't Be Bothered ###
Microsoft, after all, was the evil empire, smearing open source as a "cancer," among other things. GitHub? It's the foster parent for open source projects everywhere. [In 2013[8] GitHub topped 10 million repositories and 3 million new users, with frenetic weekly activity: 20,000 issues, 50,000 comments, and 250,000 pushes on repositories maintained by contributors all over the world.
GitHub is, in other words, ground zero for open source.
Perhaps because of this, GitHub is getting a free pass. In the [HackerNews commentary][9] on the move, [few seem to be too bothered][10] that GitHub isn't actually opening up Atom. As a community, open source has largely won out over free software: less dogmatic, more practical. We've come to the point that many in the so-called "GitHub generation" [don't even bother to assign a license to their software at all][11].
Is this a good thing?
It's hard to say, and even harder to argue with GitHub's approach given that it doesn't seem to be hurting anyone and potentially helps many by giving the world a high-quality, low-cost text editor. The open-source community is increasingly libertarian: less likely to prescribe licensing and more concerned with good code and good products.
It's why GitHub, Atlassian and Amazon Web Services, which all rely on proprietary software or services to make money, can be so phenomenally popular with open-source developers.
Have we finally grown up?
--------------------------------------------------------------------------------
via: http://readwrite.com/2014/02/28/github-atom-text-editor#feed=/hack&awesm=~oxpErHVIIaxz3H
译者:[译者ID](https://github.com/译者ID) 校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
[1]:http://www.cioinsight.com/blogs/open-source-has-changed-everything.html#sthash.ESY4Kc3r.u8rX81Ow.dpuf
[2]:https://github.com/atom
[3]:http://thenextweb.com/apps/2014/02/26/github-releases-text-editor-coders-named-atom/#!xHNqf
[4]:http://discuss.atom.io/t/why-is-atom-closed-source/82/8
[5]:http://www.geek.com/news/microsoft-rep-clarifies-shared-source-initiative-550824/
[6]:https://twitter.com/dberkholz
[7]:https://twitter.com/vijayasankarv/statuses/438882094429642752
[8]:http://octoverse.github.com/
[9]:https://news.ycombinator.com/item?id=7302941
[10]:https://news.ycombinator.com/item?id=7310017
[11]:http://readwrite.com/2013/05/15/open-source-is-old-school-says-the-github-generation#awesm=~ox6tkvcaUwiEF0

View File

@ -0,0 +1,30 @@
Google embraces open source for 10th year of Summer of Code
================================================================================
For many, open source is believed to be the future. If you aren't familiar, in basic terms, open source is software that is accompanied by free to distribute source code. By having the source code, users can see the guts of the program they are using. This is in contrast to closed source software, like most of Microsoft's, where the code is hidden to retain intellectual property and make a profit.
![](http://betanews.com/wp-content/uploads/2014/03/open-source-300x270.jpeg)
Neither school of thought is wrong -- you can't fault a company for trying to make money by going closed source. Bill Gates would not have become the richest man in the world if Microsoft's software portfolio was open. However, not everyone lives for money. Open source allows even the poorest people to potentially access quality software at no charge. Today, Google announces it is looking for college students to work on open source projects for its 10th year of Summer of Code.
What exactly is Summer of Code? Google gives the following description:
> Google Summer of Code is a global program that offers post-secondary student developers ages 18 and older stipends to write code for various open source software projects. We have worked with open source, free software, and technology-related groups to identify and fund projects over a three month period. Since its inception in 2005, the program has brought together over 7,500 successful student participants and over 7,000 mentors from over 100 countries worldwide to produce over 50 million lines of code. Through Google Summer of Code, accepted student applicants are paired with a mentor or mentors from the participating projects, thus gaining exposure to real-world software development scenarios and the opportunity for employment in areas related to their academic pursuits. In turn, the participating projects are able to more easily identify and bring in new developers. Best of all, more source code is created and released for the use and benefit of all.
"If you're a university student looking to earn real-world experience this summer, we hope youll consider coding for a cool open source project with Google Summer of Code. We're celebrating the 10th year of the program in 2014, and wed love to see more student applicants than ever before. In 2013 we accepted almost 1,200 students and were planning to accept 10 percent more this year", [says][1] Carol Smith, Google Open Source team.
Smith further says, "you can submit proposals on our website starting now through Friday, March 21 at 12:00pm PDT. Get started by reviewing the ideas pages of the 190 open source projects in this year's program, and decide which projects you're interested in. There are a limited number of spots, and writing a great project proposal is essential to being selected to the program -- so be sure to check out the [Student Manual][2] for advice".
Google has been using Linux in both Android and Chromebooks, so it is nice to see the search-giant giving back to the open source community. This gives college students an opportunity to make a name for themselves by creating or working on an epic piece of open source software. Even if the software doesn't light the world on fire, at least they tried and learned something.
Are you a college student? Will you sign up? Tell me in the comments.
--------------------------------------------------------------------------------
via: http://betanews.com/2014/03/10/google-embraces-open-source-for-10th-year-of-summer-of-code/
译者:[译者ID](https://github.com/译者ID) 校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
[1]:http://googleblog.blogspot.com/2014/03/get-with-program-open-source-coding.html
[2]:http://en.flossmanuals.net/GSoCStudentGuide/

View File

@ -1,51 +0,0 @@
Interesting facts about Raspberry Pi
================================================================================
Raspberry Pi celebrated its second birthday last week. Since its debut on February 29, 2012, Raspberry Pi has ushered in a whole new generation of tiny, inexpensive, single-board computers. Numerous Raspberry Pi based DIY project ideas are popping up over the web, and there are many use cases of Raspberry Pi as low-cost learning media in the developing world. Celebrating its second birthday, I am going to share in this post several **interesting facts about Raspberry Pi**.
![](http://farm3.staticflickr.com/2207/12961865855_b022bf59dd_z.jpg)
1. [100,000 Raspberry Pi boards][1] were sold on the first day of launch, and more than [2.5 million units][2] of them have been sold so far worldwide.
2. Initial batches of Raspberry Pi boards were made in Taiwan and China, but now all Raspberry Pi boards being sold are [manufactured in the UK][3].
3. Raspberry Pi is overclockable (by entering so-called [turbo mode][4]). You can change [overclocking/overvolting options][5] either at run-time with raspi-config tool, or at boot-time by editing boot-time parameters in /boot/config.txt. Changing overclocking/overvolting options does not void your warranty.
4. Raspberry Pi does not come with MPEG-2 decoder. Adding a blanket license for MPEG-2/VC-1 codecs to Raspberry Pi would [increase its board price by 10%][6]. Instead, you can [purchase MPEG-2/VC-1 license keys][7] only if you need to. Purchased licenses are tied to individual Raspberry Pi boards.
5. You [cannot run Windows 8][8] on Raspberry Pi (ARMv6) as Windows 8 requires an ARMv7 or higher processor. Likewise, you cannot run Ubuntu on Raspberry Pi as Ubuntu only supports [ARMv7 or higher][9].
6. [Origin][10] of the name Rapberry Pi: "Raspberry" originates from the fruit-based naming tradition for microcomputers in old days. "Pi" refers to "Python" because Python was one of the first programs ported to run on Raspberry Pi.
7. Raspberry in the [Raspberry Pi logo][11] is actually 3D [Buckminsterfullerene][12] (or bucky-ball) which has a total of 32 faces. 11 of them are visible in the logo. Co-incidentally, Raspberry Pi has a 32-bit ARM11 processor on board.
8. Methematica, a popular computational software program commercially available, [comes bundled for free][13] on Rapsberry Pi.
9. (thanks to garry grant) The biggest Kickstarter project which is based on Raspberry Pi is [Kano][14], where the goal is to delivery a computer/coding kit which can help people of all ages make a computer themselves. The project has garnered $1,522,160 from 13,387 backers.
10. According to [Rastrack.co.uk][15], the country where RaspberryPi is the most popular is UK.
That is all. If you know any interesting fact about Raspberry Pi, feel free to chime in.
--------------------------------------------------------------------------------
via: http://xmodulo.com/2014/03/interesting-facts-raspberry-pi.html
译者:[译者ID](https://github.com/译者ID) 校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
[1]:http://www.zdnet.com/we-thought-wed-sell-1000-the-inside-story-of-the-raspberry-pi-7000009718/
[2]:http://www.raspberrypi.org/archives/6299
[3]:http://www.raspberrypi.org/archives/5016
[4]:http://www.raspberrypi.org/archives/2008
[5]:http://elinux.org/RPi_config.txt#Overclocking_options
[6]:http://www.raspberrypi.org/archives/1839
[7]:http://www.raspberrypi.com/
[8]:http://www.gamesindustry.biz/articles/digitalfoundry-inside-raspberry-pi
[9]:https://wiki.ubuntu.com/ARM
[10]:http://www.techspot.com/article/531-eben-upton-interview/
[11]:http://www.raspberrypi.org/archives/221
[12]:http://en.wikipedia.org/wiki/Buckminsterfullerene
[13]:http://blog.stephenwolfram.com/2013/11/putting-the-wolfram-language-and-mathematica-on-every-raspberry-pi/
[14]:https://www.kickstarter.com/projects/alexklein/kano-a-computer-anyone-can-make
[15]:http://www.rastrack.co.uk/

View File

@ -0,0 +1,39 @@
nSnake: Play The Classic Snake Game In Linux Terminal
================================================================================
You know what was the best thing about old Nokia handsets back in early 2000s? The [Snake Game][1]. I had wasted considerable time on this silly yet addictive game. While the good old Nokia phones are replaced by smartphones today and Snake game is replaced by other silly addictive games such as [Temple Run][2] etc Snake still has its own charm.
There are several Snake games available on Android, iOS and Web. And one such game is available in Linux terminal as well. Yes, you heard it right, Linux Terminal it is.
### nSnake: Classic Snake game in Linux Terminal ###
[nSnake][3] is the Linux terminal version of the classic game developed with ncurses by [Alexandre Dantas][4]. It is available for almost all Linux distributions but in this article we shall see how to install nSnake in Ubuntu and other similar distributions.
To install nSnake in Ubuntu and Linux Mint, open a terminal and use the following command:
sudo apt-get install nsnake
Once installed, you can use the following command to run the program:
nsnake
It will start the game in terminal which may look like the following screen. If you winder why my Ubuntu Terminal looks different than the usual purple one, I am using Numix theme which is one of the [best themes for Ubuntu][5].
![Play Snake game in Linux terminal with nSnake](http://itsfoss.com/wp-content/uploads/2014/03/nSnake_Linux_terminal_game.jpeg)
Playing nSnake is very easy. You can choose the speed of the game as well as whether to keep the borders or not from the start screen. Snake can be controlled using the arrow keys while you can use P to pause the game and Q to quit the game.
What you think of nSnake? Have you ever tried it before? What other terminal game you play? Do let share your views.
--------------------------------------------------------------------------------
via: http://itsfoss.com/nsnake-play-classic-snake-game-linux-terminal/
译者:[译者ID](https://github.com/译者ID) 校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
[1]:http://en.wikipedia.org/wiki/Snake_(video_game)
[2]:http://en.wikipedia.org/wiki/Temple_Run
[3]:http://alexdantas.net/projects/nsnake/
[4]:http://alexdantas.net/
[5]:http://itsfoss.com/best-themes-ubuntu-1310/

View File

@ -1,41 +1,41 @@
>>**Linchenguang翻译中**
Linux命令及Linux终端的20个趣事
20 Funny Commands of Linux or Linux is Fun in Terminal
================================================================================
**Linux** is fun! **Huhhh**. OK so you dont believe me. Mind me at the end of this article you will have to believe that **Linux** is actually a fun box.
玩**Linux** 乐趣无穷!**哈哈**。不相信。记住我的话,在文章结尾时你就会相信**Linux**确实好玩了。
![20 Linux Funny Commands](http://www.tecmint.com/wp-content/uploads/2013/05/Linux-Funny-Commands.png)
### 1. Command: sl (Steam Locomotive) ###
### 1. 命令sl (蒸汽机车) ###
You might be aware of command ls the list command and use it frequently to view the contents of a folder but because of miss-typing sometimes you would result in sl, how about getting a little fun in terminal and not “command not found“.
你可能了解 ls 命令,并经常使用它来查看文件夹的内容。但是,有些时候你可能会拼写成 sl ,这时我们应该如何获得一些乐趣而不是看见“command not found”呢
#### Install sl ####
#### 安装 sl ####
root@tecmint:~# apt-get install sl (In Debian like OS)
root@tecmint:~# yum -y install sl (In Red Hat like OS)
#### Output ####
#### 输出 ####
root@tecmint:~# sl
![sl command](http://www.tecmint.com/wp-content/uploads/2013/05/sl.png)
This command works even when you type **LS** and not **ls**.
当你敲入的是‘**LS**‘而不是’**ls**‘时,这个命令也会运行。
### 2. Command: telnet ###
### 2. 命令:telnet ###
**No! No!!** it is not as much complex as it seems. You would be familiar with **telnet**. Telnet is a text-oriented bidirectional network protocol over network. Here is nothing to be installed. What you should have is a Linux box and a working Internet.
**非也!非也!!**这可不像它平常那样复杂。你可能很熟悉**telnet**。Telnet 是一个文本化的双向网络协议。这里不需要安装什么东西。你需要的就是一个Linux系统和一个正常的网络。
root@tecmint:~# telnet towel.blinkenlights.nl
![telnet command](http://www.tecmint.com/wp-content/uploads/2013/05/telnet.png)
#### 3. Command: fortune ####
#### 3. 命令:fortune ####
what about getting your random fortune, sometimes funny in terminal.
试试你未知的运气,终端里有时也有好玩的。
#### Install fortune ####
#### 安装 fortune ####
root@tecmint:~# apt-get install fortune (for aptitude based system)
root@tecmint:~# yum install fortune (for yum based system)
@ -47,9 +47,9 @@ what about getting your random fortune, sometimes funny in terminal.
You worry too much about your job. Stop it. You are not paid enough to worry.
Your love life will be... interesting.
### 4. Command: rev (Reverse) ###
### 4. 命令rev翻转###
It **reverse** every string given to it, is not it funny.
它会把传递给它的的每个字符串都反过来,是不是很好玩。
root@tecmint:~# rev
@ -59,9 +59,9 @@ It **reverse** every string given to it, is not it funny.
xuniL eb ot nrob
born to be Linux
### 5. Command: factor ###
### 5. 命令:factor ###
Time for some **Mathematics**, this command output all the possible factors of a given number.
该谈点儿关于**Mathematics**的了,这个命令输出给定数字的所有因子。
root@tecmint:~# factor
@ -77,9 +77,9 @@ Time for some **Mathematics**, this command output all the possible factors of a
5442134
5442134: 2 2721067
### 6. Command: script ###
### 6.命令:script ###
OK fine this is not a command and a script but it is nice.
好的,这不是什么命令,而是一个脚本,一个很有趣的脚本。
root@tecmint:~# for i in {1..12}; do for j in $(seq 1 $i); do echo -ne $i×$j=$((i*j))\\t;done; echo;done
@ -96,16 +96,16 @@ OK fine this is not a command and a script but it is nice.
11×1=11 11×2=22 11×3=33 11×4=44 11×5=55 11×6=66 11×7=77 11×8=88 11×9=99 11×10=110 11×11=121
12×1=12 12×2=24 12×3=36 12×4=48 12×5=60 12×6=72 12×7=84 12×8=96 12×9=108 12×10=120 12×11=132 12×12=144
### 7. Command: Cowsay ###
### 7.命令:Cowsay ###
An **ASCII** cow in terminal that will say what ever you want.
一个在终端用**ASCII**码组成的小牛,这个小牛会说出你想要它说的话。
#### Install Cowsay ####
### 安装Cowsay ###
root@tecmint:~# apt-get install cowsay (for Debian based OS)
root@tecmint:~# yum install cowsay (for Red Hat based OS)
#### Output ####
### 输出 ###
root@tecmint:~# cowsay I Love nix
@ -118,7 +118,8 @@ An **ASCII** cow in terminal that will say what ever you want.
||----w |
|| ||
How about pipelineing **fortune command**, described above with cowsay?
如果用管道将‘**fortune command**命令重定向到cowsay会怎样呢
root@tecmint:~# fortune | cowsay
@ -137,25 +138,25 @@ root@tecmint:~# fortune | cowsay
||----w |
|| ||
**Note: |** is called pipeline instruction and it is used where the output of one command needs to be the input of another command. In the above example the output of **fortune** command acts as an input of **cowsay** command. This pipeline instruction is frequently used in scripting and programming.
**xcowsay** is a graphical program which response similar to **cowsay** but in a graphical manner, hence it is **X** of cowsay.
**提示:‘|**是管道命令符。通常它是将一个命令的输出作为下一个命令的输入。在上面的例子中‘**fortune**’的输出作为‘**cowsay**’命令的输出。管道命令会经常用在脚本和程序编写中。
**xcowsay**是一个图形界面程序。它与**cowsay**类似只是以一种图形的方式来表达,可以说是**X**版本的cowsay。
apt-get insatll xcowsay
yum install xcowsay
#### Output ####
#### 输出 ####
root@tecmint:~# xcowsay I Love nix
![xcowsay command](http://www.tecmint.com/wp-content/uploads/2013/05/xcowsay.png)
**cowthink** is another command just run “cowthink Linux is sooo funny” and see the difference in output of cowsay and cowthink.
**cowthink**是另一个命令。运行“cowthink Linux is sooo funny ”看看它与cowsay的不同吧。
apt-get insatll cowthink
yum install cowthink
#### Output ####
#### 输出 ####
root@tecmint:~# cowthink ....Linux is sooo funny
_________________________
@ -167,9 +168,9 @@ root@tecmint:~# fortune | cowsay
||----w |
|| ||
### 8. Command: yes ###
### 8. 命令:yes ###
It is funny but useful as well, specially in scripts and for **System Administrators** where an automated predefined response can be passed to terminal or generated.
yes 是一个非常有趣又有用的命令,尤其对于脚本编写和系统管理员来说,它可以自动地生成预先定义的响应或者将其传到终端。
root@tecmint:~# yes I Love Linux
@ -186,18 +187,19 @@ It is funny but useful as well, specially in scripts and for **System Administra
I Love Linux
I Love Linux
**Note**: (Till you interrupt i.e **ctrl+c**).
**提示**: (直到你按下**ctrl+c**才停止)
### 9. Command: toilet ###
### 9. 命令: toilet ###
what? Are u kidding, huhh no! Definitely not, but for sure this command name itself is too funny, and I dont know from where this command gets its name.
#### Install toilet ####
什么?你在开玩笑吗! 当然没有,但肯定的是这个命令的名字太搞了,我也不知道这个命令的名字从何而来。
#### 安装toilet ####
root@tecmint:~# apt-get install toilet
root@tecmint:~# yum install toilet
#### Output ####
#### 输出 ####
root@tecmint:~# toilet tecmint
@ -207,106 +209,115 @@ what? Are u kidding, huhh no! Definitely not, but for sure this command name its
# #"""" # # # # # # # # # # # # # #
# "#mm" "#mm" # # # mm#mm # # "mm # "#mm" "#m#" # # #
It even offers some kind of color and fonts style.
这个命令甚至提供了一些颜色和字体格式。
root@tecmint:~# toilet -f mono12 -F metal Tecmint.com
![toilet command](http://www.tecmint.com/20-funny-commands-of-linux-or-linux-is-fun-in-terminal/toilet/)
**Note: Figlet** is another command that more or less provide such kind of effect in terminal.
**提示Figlet** 是另外一个与toilet产生的效果类似的命令。
### 10. Command: cmatrix ###
You might have seen Hollywood movie **matrix** and would be fascinated with power, **Neo** was provided with, to see anything and everything in matrix or you might think of an animation that looks alike **Hacker**s desktop.
### 10. 命令cmatrix ###
#### Install cmatrix ####
你可能看多好莱坞的电影‘**黑客帝国**’并陶醉于被赋予**Neo**的能看到在矩阵中任何事物的能力,或者你会想到一幅类似于‘**Hacker**’的桌面的生动画面。
#### 安装 cmatrix ####
root@tecmint:~# apt-get install cmatrix
root@tecmint:~# yum install cmatrix
#### Output ####
#### 输出 ####
root@tecmint:~# cmatrix
![cmatrix command](http://www.tecmint.com/wp-content/uploads/2013/05/cmatrix.png)
### 11. Command: oneko ###
### 11. 命令: oneko ###
OK so you believe that mouse pointer of Linux is the same silly black/white pointer where no animation lies then I fear you could be wrong. “**oneko**“ is a package that will attach a “**Jerry**“ with you mouse pointer and moves along with you pointer.
#### Install cmatrix ####
可能你坚信Linux的鼠标指针永远是同样的黑色或白色一点儿也不生动那你就错了。“**oneko**”是一个会让一个“**Jerry**”你的鼠标指针附着到你鼠标上的一个软件包。
#### 安装 oneko ####
root@tecmint:~# apt-get install oneko
root@tecmint:~# yum install oneko
#### Output ####
#### 输出 ####
root@tecmint:~# oneko
![oneko command](http://www.tecmint.com/wp-content/uploads/2013/05/oneko.png)
**Note**: Once you close the terminal from which **oneko** was run, **jerry** will disappear, nor will start at start-up. You can add the application to start up and continue enjoying.
### 12. Fork Bomb ###
**提示**:关闭运行着**oneko**的终端时,**Jerry**也会随之消失,重新启动终端时也不会再出项。你可以将这个程序添加到启动选项中然后继续使用它。
This is a very nasty piece of code. Run this at **your own risk**. This actually is a fork bomb which exponentially multiplies itself till all the system resource is utilized and the system hangs. (To check the power of above code you should try it once, but all at your own risk, close and save all other programs and file before running **fork bomb**).
### 12. Fork炸弹 ###
这是一段非常欠抽的代码。运行这个命令的后果自己负责。这个命令其实是一个fork炸弹它会以指数倍的自乘直到所有的系统资源都被利用了或者系统挂起想要见识这个命令的威力你可以试一次这个命令但是后果自负记得在运行它之前关掉并保存其它所有程序和文件
root@tecmint:~# :(){ :|:& }:
### 13. Command: while ###
### 13. 命令while ###
The below “while” command is a script which provides you with colored date and file till you interrupt (ctrl + c). Just copy and paste the below code in terminal.
下面的”while“命令是一个脚本这个脚本可以为你提供彩色的日期和文件直到你按下中断键ctrl+c。复制粘贴这个命令到你的终端。
root@tecmint:~# while true; do echo "$(date '+%D %T' | toilet -f term -F border --gay)"; sleep 1; done
![Linux while command](http://www.tecmint.com/wp-content/uploads/2013/05/while.png)
**Note**: The above script when modified with following command, will gives similar output but with a little difference, check it in your terminal.
**提示**:以上脚本通过下面的修改也会产生类似的输出但是还是有点不同的,在你的终端试试吧。
root@tecmint:~# while true; do clear; echo "$(date '+%D %T' | toilet -f term -F border --gay)"; sleep 1; done
### 14. Command: espeak ###
### 14. 命令: espeak ###
Just Turn the Knob of your multimedia speaker to full before pasting this command in your terminal and let us know how you felt listening the gods voice.
将你的多媒体音箱的音量调到最大,然后在将这个命令复制到你的终端,来看看你听到上帝的声音时的反应吧。
#### Install espeak ####
#### 安装 espeak ####
root@tecmint:~# apt-get install espeak
root@tecmint:~# yum install espeak
#### Output ####
#### 输出 ####
root@tecmint:~# espeak "Tecmint is a very good website dedicated to Foss Community"
### 15. Command: aafire ###
### 15. 命令: aafire ###
How about fire in your terminal. Just type “**aafire**” in the terminal, without quotes and see the magic. Press any key to interrupt the program.
在你的终端放一把火如何。把这个“**aafire**”敲到你的终端,不需要什么引号看看这神奇的一幕吧。按下任意键中指该程序。
#### Install aafire ####
#### 安装 aafire ####
root@tecmint:~# apt-get install libaa-bin
#### Output ####
#### 输出 ####
root@tecmint:~# aafire
![](http://www.tecmint.com/wp-content/uploads/2013/05/aafire.png)
### 16. Command: bb ###
### 16. 命令: bb ###
First install “**apt-get insatll bb**” and then, type “**bb**” in terminal and see what happens.
首先安装“**apt-get install bb**”,然后敲入“**bb**”看看会发生什么吧。
root@tecmint:~# bb
![bb command](http://www.tecmint.com/wp-content/uploads/2013/05/bb.png)
### 17. Command: url ###
### 17. 命令: url ###
Wont it be an awesome feeling for you if you can update you **twitter status** from command line in front of your friend and they seems impressed. OK just replace **username, password** and **your status message** with yours **username, password** and “**your status message**“.
如果在你的朋友面前用命令行来改变你的 **twitter status** 会不会很酷呢。用你的**用户名密码**和**你想要的状态**分别替换**username, password** 和“**your status message**“就可以了。
### 18. ASCIIquarium ###
How it will be to get an **aquarium** in terminal.
想要在终端弄一个水族馆该,怎么办?
root@tecmint:~# apt-get install libcurses-perl
root@tecmint:~# cd /tmp
@ -316,9 +327,9 @@ How it will be to get an **aquarium** in terminal.
root@tecmint:~# perl Makefile.PL && make && make test
root@tecmint:~# make install
#### Install ASCIIquarium ####
#### 安装 ASCIIquarium ####
Now Download and Install **ASCIIquarium**.
下载并安装**ASCIIquarium**。
root@tecmint:~# cd /tmp
root@tecmint:~# wget http://www.robobunny.com/projects/asciiquarium/asciiquarium.tar.gz
@ -327,15 +338,19 @@ Now Download and Install **ASCIIquarium**.
root@tecmint:~# cp asciiquarium /usr/local/bin
root@tecmint:~# chmod 0755 /usr/local/bin/asciiquarium
And finally run “**asciiquarium**” or “**/usr/local/bin/asciiquarium**“ in terminal without quotes and be a part of magic that will be taking place in front of your eyes.
最后在终端运行“**asciiquarium**”或者“**/usr/local/bin/asciiquarium**”,记得不要加引号,神奇的一幕将在你眼前展现。
root@tecmint:~# asciiquarium
![aquarium command](http://www.tecmint.com/wp-content/uploads/2013/05/ascliquarium.png)
### 19. Command: funny manpages ###
### 19. 命令: funny manpages ###
首先安装“**apt-get install funnymanpages**”然后运行下面命令的man手册。其中一些
First install “**apt-get install funny-manpages**” and then run man pages for the commands below. Some of them may be **18+**, run at your own risk, they all are too funny.
baby
celibacy
@ -362,7 +377,7 @@ First install “**apt-get install funny-manpages**” and then run man pages fo
### 20. Linux Tweaks ###
It is time for you to have some one liner **tweaks**.
该到了做一些调整的时候了
root@tecmint:~# world
@ -400,16 +415,18 @@ It is time for you to have some one liner **tweaks**.
server@localhost:/srv$ \(-
bash: (-: command not found
Linux is sexy: **who | grep -i blonde | date; cd ~; unzip; touch; strip; finger; mount; gasp; yes; uptime; umount; sleep** (If you know what i mean)
There are certain other but these dont work on all the system and hence not included in this article. Some of them are man **dog , filter, banner**, etc.
Linux总是sexy**who | grep -i blonde | date; cd ~; unzip; touch; strip; finger; mount; gasp; yes; uptime; umount; sleep**(如果你知道我的意思)
Have fun, you can say me thanks later :) yup your comment is highly appreciated which encourages us write more. Tell us which command you liked the most. Stay tuned i will be back soon with another article worth reading.
还有一些其它的命令,只是这些命令并不能在所有的系统上运行,所以本文没有涉及到。比如说**dog , filter, banner**
使用愉快,你可以稍后再对我说谢谢:)您的评价是我们前进的不竭动力。告诉我们你最喜欢的命令。继续关注,不久我会有另一篇值得阅读的文章。
--------------------------------------------------------------------------------
via: http://www.tecmint.com/20-funny-commands-of-linux-or-linux-is-fun-in-terminal/
译者:[译者ID](https://github.com/译者ID) 校对:[校对者ID](https://github.com/校对者ID)
译者:[Linchenguang](https://github.com/Linchenguang) 校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出

View File

@ -0,0 +1,56 @@
GitHub的Atom文本编辑器算得上是开源的但并不完全是
================================================================================
**GitHub有一个新的并算不上完全开源的文本编辑器当然没人在意这个。**
Samuel Greenwald [要求][1]认为“任何IT领袖如果无法把握一个开源的心态那注定会失败的。”这也许是真的人们可以原谅不完全的开源考虑到许可的怪异即使是最开源的在精明的我们中间可以通过。
对于GitHub例如。 GitHub刚刚发布的[Atom][2]文本编辑器获得了很多的赞叹。虽然[一些赞美Atom][3]为“完全开源,”但它不是。还差得远。
### 开源的种类和排序 ###
这并不是说GitHub把Atom伪装为开源。不是所有的吧反正。作为GitHub的联合创始人Tom Preston-Werner规定只有“Atom core”代码将被封闭源代码而“所有现有下的Atom其余代码将永远遵守MIT-licensed。”原因是纯粹的商业他[解释][4]
> Atom将不会封闭源代码但它也不会开源。它将介于两者之间因此很容易让我们对Atom进行贡献同时仍然在根据限制性许可使用的来源这样你可以看到一切正常。我们还没有最终决定究竟如何进行工作呢。我们将在充分的细节准备后正式启动。
早在开源的初期,我们并不是使用这个名字。事实上,微软做到了。它被称为“共享源代码”。 [于2002年推出][5]共享源代码是给它一个社区的方式来看待但没有触及或重新分配微软的代码微软的方式。对微软来说它没有这么好作为SAP的大数据主管Vijay Vijayasankar提醒我们但GitHub上可能会做的更好
> [@dberkholz][6]我记得在OSI偷看批评MS相当严重这是一个营销噱头。但GitHub上可能会使好吗这个时候
> — Vijay Vijayasankar (@vijayasankarv) [2014年2月27日][7]
他也许是对的。
### GitHub的生成不能被打扰 ###
微软毕竟是邪恶帝国,涂抹开源为“毒瘤”,等等。 GitHub这是无处不在的开源项目的养父母。 [2013年][8] GitHub上突破千万代码库和300万新用户狂热的每周活动20,000问题50,000评论和250,000推由世界各地的贡献者保证代码库进展。
GitHub的是换句话说地面零开源。
也许正因为如此GitHub的是得到一个免费通行证。在[HackerNews评论][9]上,[少数似乎太在意][10]认为GitHub上没有真正开源Atom。作为一个社区开源已经在很大程度上战胜了免费软件少教条更实用。我们已经走到如此地步许多所谓的“GitHub的一代”[甚至懒得将许可证分配给他们的软件在所有][11]。
这是好事吗?
这很难说甚至难以争辩给出GitHub上的做法它似乎并没有伤害任何人并有可能通过给世界一个高品质低成本的文本编辑器来帮助很多人。开源社区是越来越自由意志论者不太可能规定许可和更关心的是良好的代码和良好的产品。
这就是为什么GitHub上Atlassian的和Amazon的Web服务都依赖于专有软件或服务来赚钱也可以如此惊人受开源开发者的欢迎。
你了解了吗?
--------------------------------------------------------------------------------
via: http://readwrite.com/2014/02/28/github-atom-text-editor#feed=/hack&awesm=~oxpErHVIIaxz3H
译者:[乌龙茶](https://github.com/yechunxiao19) 校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
[1]:http://www.cioinsight.com/blogs/open-source-has-changed-everything.html#sthash.ESY4Kc3r.u8rX81Ow.dpuf
[2]:https://github.com/atom
[3]:http://thenextweb.com/apps/2014/02/26/github-releases-text-editor-coders-named-atom/#!xHNqf
[4]:http://discuss.atom.io/t/why-is-atom-closed-source/82/8
[5]:http://www.geek.com/news/microsoft-rep-clarifies-shared-source-initiative-550824/
[6]:https://twitter.com/dberkholz
[7]:https://twitter.com/vijayasankarv/statuses/438882094429642752
[8]:http://octoverse.github.com/
[9]:https://news.ycombinator.com/item?id=7302941
[10]:https://news.ycombinator.com/item?id=7310017
[11]:http://readwrite.com/2013/05/15/open-source-is-old-school-says-the-github-generation#awesm=~ox6tkvcaUwiEF0

View File

@ -0,0 +1,52 @@
树莓派有趣的事实
================================================================================
树莓派上周庆祝了它的第二个生日。自从在2012.2.29初次登台以来树莓派已经引导了一代新的微型便宜的独板电脑。大量基于树莓派的DIY项目想法通过网络涌现并且在开发世界中有许多使用案例将树莓派作为低成本学习媒介。为了庆祝它的第二个生日我会在这篇文章中分享几个**树莓派有趣的事实**
![](http://farm3.staticflickr.com/2207/12961865855_b022bf59dd_z.jpg)
1. [100,000 块树莓派板子][1] 在发行首日售出, 并且现在已有超过 [250万块板子][2] 在世界范围内售出.
2. 首批树莓派在中国台湾制造, 但是现在所有在售的板子在 [英国制造][3].
3. 树莓派可以超频 (通过进入所谓的 [turbo 模式][4]). 你可以修改 [overclocking/overvolting options][5] 或者在运行时使用raspi-config工具, 或者在启动时修改启动参数/boot/config.txt. 改变 overclocking/overvolting 选项不会影响你的保修.
4. 树莓派不带MPEG-2解码器。 增加一个MPEG-2/VC-1编码授权会[增加10%的板子价格][6]. 因此, 你可以在你需要的时候再 [购买 MPEG-2/VC-1 序列号][7]。购买的序列号与你的树莓派绑定在一起。
5. 你 [不可以树莓派上(ARMv6)运行Windows 8][8],因为 Windows 8 要求ARMv7或者更高级的处理器。同样地, 你不可以在树莓派上运行Ubuntu因为Ubuntu只支持 [ARMv7 后者更高][9].
6. 树莓派(Raspberry Pi)[原始][10]的名字是: "树莓"(Raspberry),这起源于以前对于微处理器以水果命名的传统. "派"(Pi)指的是 "Python" 因为Python是第一个移植到树莓派的程序.
7. [树莓派logo][11]中的树莓实际上是一个3D [富勒烯][12] (或者巴克球)它一共有32面. logo中的11面是可见的. 无独有偶, 树莓派有一颗32位的ARM11处理器.
8. Methematica, 一款商业的流行的计算软件, 现在已经在树莓派上[免费捆绑了][13].
9. (感谢加里•格兰特) Kickstarter上最大的基于树莓派的项目是 [Kano][14],它的目的是发行一个计算机/编码工具箱来帮助各年龄段的人制造一套他们自己的电脑。项目已经从13,387名支持者中获得$1,522,160。
10. 根据 [Rastrack.co.uk][15], 树莓派最流行的国家是英国.
That is all. If you know any interesting fact about Raspberry Pi, feel free to chime in.
就是这些。如果你有任何关于树莓派有趣的事实,欢迎随时插话
--------------------------------------------------------------------------------
via: http://xmodulo.com/2014/03/interesting-facts-raspberry-pi.html
译者:[geekpi](https://github.com/geekpi) 校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
[1]:http://www.zdnet.com/we-thought-wed-sell-1000-the-inside-story-of-the-raspberry-pi-7000009718/
[2]:http://www.raspberrypi.org/archives/6299
[3]:http://www.raspberrypi.org/archives/5016
[4]:http://www.raspberrypi.org/archives/2008
[5]:http://elinux.org/RPi_config.txt#Overclocking_options
[6]:http://www.raspberrypi.org/archives/1839
[7]:http://www.raspberrypi.com/
[8]:http://www.gamesindustry.biz/articles/digitalfoundry-inside-raspberry-pi
[9]:https://wiki.ubuntu.com/ARM
[10]:http://www.techspot.com/article/531-eben-upton-interview/
[11]:http://www.raspberrypi.org/archives/221
[12]:http://en.wikipedia.org/wiki/Buckminsterfullerene
[13]:http://blog.stephenwolfram.com/2013/11/putting-the-wolfram-language-and-mathematica-on-every-raspberry-pi/
[14]:https://www.kickstarter.com/projects/alexklein/kano-a-computer-anyone-can-make
[15]:http://www.rastrack.co.uk/