IT

List only files (no folders)

Quick note how to list files without directories.

Windows:
dir /a:-d

Linux:
ls -l | grep ^-

Second command should work also in Mac OS X from terminal, but will have to check it just to be sure.

You must be logical when speaking to programmers

I’m reading Hackers: Heroes of the Computer Revolution by Steven Levy now (great book) and found this funny fragment.
*Marge Saunders would drive to the Safeway every Saturday morning in the Volkswagen and upon her return ask her husband, “Would you like to help me bring in the groceries?” Bob Saunders would reply, “No.” Stunned, Marge would drag in the groceries herself. After the same thing occurred a few times, she exploded, hurling curses at him and demanding to know why he said no to her question. “That’s a stupid question to ask,” he said. “Of course I won’t like to help you bring in the groceries. If you ask me if I’ll help you bring them in, that’s another matter.”

Remote Desktop Gateway

Remote Desktop Gateway is a role of Windows Server that allows you to connect with hosts in your network through its encrypted gateway. I’m quite impressed by this service and decided to write a little HowTo, so it would be easier for others to deploy it. I’ve actually hit two birds with one rock, because I’ve written it using xml and php, so it was opportunity to learn something useful. Final effect can be seen here. As you’ll notice thanks to xml and simple php form you can choose between English and Polish version of text.

CC Everybody

Again thanks to Techcrunch I’ve learned about cool new Internet service - CC Everybody. It’s a blogging/forum service where you can start or reply to a post/thread by sending email to designated email address. You can even cc your personal @cceverybody.com address when you’re exchanging emails with your friends and entire conversation would appear on website. It’s quite cool, I’m thinking about using it to exchange funny pictures with my friends and family. I don’t know about storing email conversation there as everybody can see it, but maybe some discussions on general topics, why not. It’s still in beta, but Techcrunch offers 500 invitations, so if you’ll be fast you should be able to join. One thing that is annoying, as for me, is the fact that when you’ll send email to your designated @cceverybody.com address from the account you’ve supplied when registering, you still have to approve it on site before it would be published. Maybe it’s meant to provide you with more security, as you’ll have another chance to check if you really want to post this content. But I find it really unfriendly.

Deep hide:)

Today I’ve read article on Polish security portal Niebezpiecznik.pl about a guy who was searching for information about his debtor and accidentally found a file with list of over 1000 debtors of PKO BP (Polish bank), more here (unfortunately only in Polish). First he was accused that he obtained this file illegally by breaking into bank’s network, but police found no evidence for that and file was indeed indexed by search engines. So after charges have been dropped bank’s spokesman informed general public that this file was, as he called it, “deep hide” and was indexed just after 4 years. Nice explanation. I believe this “deep hide” was some complicated folder structure like teenagers are using to hide porn from the eye of their parents, example below:
C:\Program Files\Microsoft Office\Office12\Document Parts\1033*hot_teenage_girls*

Microsoft KIN

Microsoft announced new KIN phones. You can see them below. Take a look at the one on the left and let me say WTF?

Game players are horny bastards:)

I’ve read about new service provided by GameCrush which is opportunity to play online with real girl, so you can chat with her while enjoying your favorite title (only on Xbox360 right now), more here. You even can choose between “flirty” and “dirty” mode when playing with beauty, interesting. I’ve decide to check it out, but failed. There is so big interest in it that I’ve got this page instead:

Everything is dangerous

Looks like really every program can be harm to your computer these days. I’m reading US CERT reports regularly and yesterday I’ve read this one. Long story short software included with the Energizer DUO USB battery charger contains a backdoor that allows unauthorized remote system access. It’s very serious as attacker can gain complete access to machine (however with privileges of currently logged user, so if you’re not using admin account all the time it’s not so serious, but how many Windows users do that). Software leaves possibility of attack on TCP port 7777 and after gaining access such activities are possible: ability to list directories, send and receive files, and execute programs. Read more in the original report. Who would even suppose that software which shows you progress of charging your batteries can bring such vulnerability? This happens when developers don’t pay attention to security, would it ever change? Ehh.

First fail of Windows 7

I’m using Windows 7 on my desktop for some time now, I’ve upgraded from Vista. Yesterday I’ve shutdown the system normally, without any problems. Today after start and logging into I’ve noticed that wallpaper is changed and then message appeared that I was logged into a temporary profile and have no access to my files. WTF?! I’ve logged off and started my Mac to catch up with few things meanwhile. Log off process was on for about 15 minutes, so I’ve finally gave up and turned off machine then turned it on again. Selected to start Windows normally in after crash dialog and voila my profile has been launched without problem, I have all my files and settings. Windows is strangest system, really. Next time somebody would ask me why I prefer Mac OS I’ll point him to this post. Just hope that it was single instance of this issue, will make a new backup though, just in case.

Even downtime can be funny

I’m using Grooveshark as my Internet radio service now. I found it way more useful than Last.fm or Pandora, and it works in Europe without US VPN. You can even share your tracks as a links on Facebook and other sites. But this is not the point of this post. Today, for the first time since I’ve started using it, Grooveshark is experiencing downtime. But they’re doing it with smile. Check out the screenshot from their website!