This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [niteria@cloud]~$ wget "http://ws.audioscrobbler.com/2.0/?method=user.gettopalbums&user=niteria&api_key=b25b959554ed76058ac220b7b2e0a026&period=7day" -O - | |
| --2011-10-21 17:40:21-- http://ws.audioscrobbler.com/2.0/?method=user.gettopalbums&user=niteria&api_key=b25b959554ed76058ac220b7b2e0a026&period=7day | |
| Translacja ws.audioscrobbler.com... 195.24.233.55 | |
| Łączenie się z ws.audioscrobbler.com|195.24.233.55|:80... połączono. | |
| Żądanie HTTP wysłano, oczekiwanie na odpowiedź... 200 OK | |
| Długość: nieznana [text/xml] | |
| Zapis do: `STDOUT' | |
| [<=> ] 0 --.-K/s <?xml version="1.0" encoding="utf-8"?> | |
| <lfm status="ok"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.io.File | |
| /** A wrapper around file, allowing iteration either on direct children | |
| or on directory tree */ | |
| class RichFile(file: File) { | |
| def children = new Iterable[File] { | |
| def elements = | |
| if (file.isDirectory) file.listFiles.elements else Iterator.empty; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| repo for a more modern version of qt (4.7) | |
| http://atrpms.net/documentation/install/ | |
| http://packages.atrpms.net/dist/el5/qt4/ | |
| cat /etc/yum.repos.d/atrpms.repo | |
| [atrpms] | |
| name=ATrpms manual | |
| baseurl=http://dl.atrpms.net/el5-$basearch/atrpms/testing/ | |
| gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| echo 50 | |
| for i in `seq 1 10`; do echo '1'; sleep 1; done |
NewerOlder