Pavarr
Members-
Content Count
8 -
Joined
-
Last visited
About Pavarr
-
Rank
Newbie
Contact Methods
-
Website URL
http://pavarr.int.pl/
-
Used Gentoo for some time, about half a year, and now moved to openSuse, and it's pretty cool. I've got Slackware stuffed into my mobile mp3 player, and use it sometimes, mostly on "away missions" ( ) when the Windows are getting their downs and outs on somebody's computer - but I must admit, it's not my favourite distro.
-
It works pretty similar - it's got a slot for the relay cable on side. You just plug the relay cable into the slot and into USB, and transfer songs Sadly, when there is Linux (reiserfs) on it, it won't work as a player But you're right, it's fun to say, "hey guys, I've got a Linux in my pocket" When I was creating this topic, I wasn't actually thinking about how small can Tux be, but into what (unusual) devices it can be stuffed into - mp3 players, like iPODs seem to be a logical choice @Shadow: I've got my computer with both Win2k and Linux on it, and use both equally - and yes, there are good things to Linux, I bet that more to Windows
-
First of all, we have to store our Google news in variable: $googlenews = file("http://news.google.com/news/en/us/world.html"); Then, we get ourselves a table, containing news' link with title, popularity on Google News, how old is the news, and where it has been found by Google: $popularity = 0; // table indexfor($i = 46; $i < count($googlenews); $i++){ // real news start at line 46$all = explode("<font size=",$googlenews[$i]); // it makes it easier to retrieve headersfor($j = 0; $j < count($all); $j++){$act = $all[$j]; // actual current chunk// a bit of cleaning up$act = str_replace("</tr>","",$act);$act = str_replace("</td>","",$act);$act = str_replace("</table>","",$act);$act = str_replace("</b>","",$act);$act = str_replace("</font>","",$act);$act = str_replace("<nobr>","",$act);$act = str_replace(" ","",$act);$act = str_replace("<br>","",$act);// enough cleaningif(stristr($act, "-1>") && stristr($act, "<font color=#6f6f6f>")){ // checking for markers of _real_ news $where_time = str_replace("-1><font color=#6f6f6f><b>","",$act); // getting where and time as one string $gdzie_czas = str_replace("</nobr>","",$gdzie_czas); // another cleaning routine $where_time_arr = explode("- ",$where_time); // dividing to time and source $popularity++; // getting current table index $where = $where_time_arr[0]; $time = $where_time_arr[1]; // we know now where news was found, let's get news title & link $news = explode('<td valign=top>',$all[$j-1]); // right things be right :) $true_news = $news[1]; $news_array[$jak_dawno] = $where.'|'.$time.'|'.$true_news; // table input}}} Now, that we have got the array with pure information, we can do virtually everything with it, for example: foreach($news_array as $value){ $values_arr = explode("|",$value); $where = $values_arr[0]; $time = $values_arr[1]; $news = $values_arr[2]; echo "$news - found in $where $time<br/>";} We can also search it for keywords, or do with it something like that. I have to add, I haven't yet developed a simple and always-working way to exclude the link from the news title - sometimes there is unknown bug and there are residual chars form link :/ But even without it, it's fully functional.
-
Really? That's too bad, because Google's approaches are always in "Beta" stage... If I were you I wouldn't be all so happy and good-thinking...In my opinion, someday Google will fall, because they are trying too hard on too many fronts. However that will be a dark day, when GMail is no longer operating.Damn it. I've broken my good mood.
-
For me, Google is still the best search engine ever made, when it comes to spyware or trojans you just have to use Firefox and some antivirus with connection scanning option.And other Google services? I don't imagine passing geographics' exam without Google Maps, neither a world without Google Groups, nor e-mail without GMail...Whoa. Am I addicted to Google?
-
My Home Page Is Awful. I Need Help
Pavarr replied to Destiny1405241510's topic in Websites and Web Designing
Well, if he doesn't want to use CMS, don't force him... I personally enjoy writing sites from scratch, and in such way was my homepage (that I want to host with Xisto ) done - and it didn't turn out that bad, see for yourself... However, if someone doesn't know how to use HTML or XHTML pretty good, then maybe CMS isn't all that bad. XOOPS' nice, so is jPortal - but it's in Polish :/ and I personally don't like PHPNuke at all. Will you finally give us address of your site? -
Well, never tried Maple Story (yup, heard about it, but never managed to try) - however, if you want to play some not crowded free MMORPG, I'd recommend dofus - you never get a timeout there
-
I know there are distributions of Linux that fit onto one single FDD. But they are specially designed to do so. Have you managed to stuff your ordinary-size Linux into something that was never meant to serve under ReiserFS? I did. It all started with Philips MP3 player HDD065 (uncertain of model, never mind), like this one: It's got about 2 GB of disc space, pretty much. I took my copy of openSUSE 10.0, cut it up a bit so it was about 700 mb big, used 100 mb swap and praying to lord I ran an installation. And after restarting my PC, my family thought I finally got freaked as hell, 'cause I jumped up yelling "it did it! it did it!" in front of screen with openSUSE 10.0 start-up screen on it... Of course, Linux is now long-gone from my MP3 player - all in all, it's meant to be a player not a HDD - but I'll never forget it. And did YOU ever try to stuff your Linux into something really small?