Saturday, December 31, 2011

iOS programming



From MacUser.co.uk January 2012 issue.

Friday, December 30, 2011

A programmer's friend :)


Tuesday, December 27, 2011

man hier

Type man hier on your terminal and you will get information about the layout of the filesystems.

Monday, December 26, 2011

It sounds simple...



Creators of TCPDUMP, WinPcap, and Wireshark share their awesome story

Saturday, December 24, 2011

Καλά Χριστούγεννα!


Friday, December 23, 2011

Joomla 2.5 beta1 released

Learn more about it here.



"What happens to Joomla 1.7?

Joomla 2.5 is the direct upgrade for Joomla 1.7. Joomla 1.7 will be supported for critical security issues only for a period of one month after the release of Joomla 2.5. After that time, only Joomla 1.5 and Joomla 2.5 will be  supported by the Joomla project. Note that Joomla version 2.5 is a long-term-support (LTS) release and will be supported for at least 18 months."

Wednesday, December 21, 2011

Firefox 9.0


Tuesday, December 20, 2011

VirtueMart 2.0.0 takes off!

More about it here.


(it was about time...)

Friday, December 16, 2011

More Free Time...



(from MacFormat.co.uk Christmas 2011 issue)

Wednesday, December 14, 2011

TextMate 2.0 Alpha

You may already know that my favorite editor is TextMate from Macromates.


Version 2.0 is coming (it is in alpha state). More about it here.

Tuesday, December 13, 2011

iTunes 10.5.2


Monday, December 5, 2011

Joomla! 2.5 is coming

Read this for more.

Tuesday, November 29, 2011

People who are willing...


Monday, November 28, 2011

Explain simply


Cyberduck 4.2


Thursday, November 17, 2011

Xcode 4.2.1


Tuesday, November 15, 2011

MacTech November 2011 articles!

Title: Typesetting a book on a Mac using LaTeX
Subtitle: How I used LaTeX to typeset a book


TitleFind Your Current iPhone Location
SubtitleFour ways to find your location with your iPhone

Thursday, November 10, 2011

MacPorts Python 2.7


--->  Activating python27 @2.7.2_2


To make python 2.7 the default 
(i.e. the version you get when you run 'python'), please run:
    sudo port select --set python python27


--->  Cleaning python27

iOS 5.0.1


Thursday, November 3, 2011

A players hire A+ players

"Actually, Steve believed that A players hire A players—that is people who are as good as they are.
I refined this slightly—my theory is that A players hire people even better than themselves.
It’s clear, though, that B players hire C players so they can feel superior to them, and C players hire D players. If you start hiring B players, expect what Steve called “the bozo explosion” to happen in your organization."

Read more: http://blog.guykawasaki.com/2011/10/what-i-learned-from-steve-jobs.html#ixzz1cgIwNKUa

Monday, October 24, 2011

Joomla! 1.7.2 available

"The Joomla Project is pleased to announce the immediate availability of Joomla 1.7.2. This is a security release."


You can find more about it here.

Saturday, October 22, 2011

Working on...



Thursday, October 20, 2011

Creativity


Wednesday, October 19, 2011

MacTech September 2011 article

Title: WireShark and DHCP
Subtitle: How WireShark solved a DHCP conflict


co-authored with Dimitris Tsoukalos

Thursday, October 13, 2011

R.I.P. Dennis Ritchie


Wednesday, October 12, 2011

Lion 10.7.2 available

As always, I will download the combo update :)

Monday, October 10, 2011

iTunes 10.5 beta


Thursday, October 6, 2011

Limited time


Stay hungry. Stay foolish.


Stay hungry.


Stay foolish.

Wednesday, October 5, 2011

www.lprotopapas.gr

The last few days I was busy creating a new web site with Dimitris Tsoukalos.
The site is the following:
www.lprotopapas.gr




Please, feel free to send any comments you may have.

Tuesday, October 4, 2011

iOS 5 :)


Apple store is down!



Larry Wall


Tuesday, September 27, 2011

Let's talk iPhone :)


Joomla! 1.7.1 released

Joomla! 1.7.1 released.


More about it at joomla.org.

Monday, September 26, 2011

Working on...

I was pretty busy the last few days and I will also be busy for the next few weeks doing the following:
  • Installing VirtueMart on a Joomla! site
  • Writing articles for MacTech
  • Waiting for iOS 5 :)
  • Creating two more Joomla! sites
  • Waiting for iPhone 5?
  • Installing WordPress on Lion
More tk

Thursday, September 22, 2011

How to restart apache on Lion


Check if apache is already running:
mtsouk$ ps -ax | grep -i http
   38 ??         0:01.79 /usr/sbin/httpd -D FOREGROUND -D WEBSHARING_ON
   99 ??         0:00.02 /usr/sbin/httpd -D FOREGROUND -D WEBSHARING_ON
93322 ??         0:00.00 /usr/sbin/httpd -D FOREGROUND -D WEBSHARING_ON
93337 ttys000    0:00.00 grep -i http


Stop apache:
$ sudo launchctl unload -w /System/Library/LaunchDaemons/org.apache.httpd.plist


Check that apache is not running:
$ ps -ax | grep -i http93343 ttys000    0:00.00 grep -i http


Restart apache:
$ sudo launchctl load -w /System/Library/LaunchDaemons/org.apache.httpd.plist


Check that it is running:
$ ps -ax | grep -i http
93346 ??         0:00.25 /usr/sbin/httpd -D FOREGROUND -D WEBSHARING_ON
93348 ??         0:00.00 /usr/sbin/httpd -D FOREGROUND -D WEBSHARING_ON
93350 ttys000    0:00.00 grep -i http
mtsouk$

How to use PHP on Lion

Edit the /etc/apache2/httpd.conf file 
and uncomment the following line:

LoadModule php5_module libexec/apache2/libphp5.so

Restart apache and you are done!

Monday, September 19, 2011

What focus means


Saturday, September 10, 2011

TruthTarget.gr

The last few days, Dimitris Tsoukalos and I were creating a web site called TruthTarget.gr.
We would like to hear your opinion about the site.


Note: The site uses the Greek language.

Friday, September 9, 2011

Lion Security Update 2011-005


Saturday, September 3, 2011

Create a Gmail POP3 account

When creating a Gmail account using the Mail application that comes with Mac OS X 10.7 (a.k.a. Lion), it only allows you to create an IMAP account.

If you do not want that, hold the option button down until ‘Create’ turns into ‘Continue’ and you are done!

Friday, September 2, 2011

Running Lion

Earlier today, my iMac started running Lion.
It was pretty tricky to do the clean install I wanted. I had to install Snow Leopard without any apps, update to Mac OS X 10.6.8 and then upgrade to Lion.


Everything looks fine until now. I am now installing MacPorts software. The two things left are SuperDuper! and LaTeX. I also have to find which version of MySQL I will install as Lion does not come with MySQL.

Thursday, September 1, 2011

Installing Lion 10.7.1

After a little delay, I am now installing Lion 10.7.1 using clean install.


More tk :)

Tuesday, August 30, 2011

SMARTReporter 2.7.0


Monday, August 29, 2011

MacPorts clean up

The following command erases all the temporary files that are generated during the build of an application: 
sudo port clean --all installed


The following command cleans up (removes) the old and unused versions:
sudo port -f uninstall inactive

Wednesday, August 17, 2011

Lion 10.7.1 available

You can find more information about Mac OS X 10.7.1 here.

Tuesday, August 16, 2011

Lion FAQ

  • Have I already installed Lion?
No.
  • Why?
Because I have some work to do.
  • What kind of work?
I have to write articles (using MS Word) about WireShark, LaTeX and Octave and I do not want to have compatibility issues.
  • Will I install it?
Yes, possibly at the end of August or at the beginning of September 2011.
  • Anything else?
I do not find something in Lion that I desperately need, Snow Leopard is just fine for what I do (iOS programming, photography and writing articles). Nevertheless, I want to have the latest version of Mac OS X for programming reasons. I would also like to install the 10.7.2 version of Lion but I do not know when it will be available. This time I will do a clean install - install everything from scratch as I want a clean system.

Sunday, August 14, 2011

Intel CPUs


From IEEE Computer, August 2011.

Monday, August 8, 2011

New Skype version


Friday, August 5, 2011

Just build something

Found it in MacTech magazine, May 2011.
by Justin Williams

Tuesday, August 2, 2011

My July 2011 MacTech article

Title: Using AppleScript and Perl for Automation
Subtitle: Saving Facebook pages as WebArchives in an automated way

Monday, July 25, 2011

iOS 4.3.5



About Michael Jordan


Wednesday, July 20, 2011

Many updates


June 2011 MacTech article

Title: Examining 3 Important Nmap Scans with WireShark
Subtitle: Using WireShark to explain Nmap traffic


Co-author: Dimitris Tsoukalos.

Friday, July 15, 2011

iOS 4.3.4 is available


iPhone 5 book!

Found it here.

Friday, July 1, 2011

Lion GM is available

Apple made the GM of Lion available to developers...
Hopefully Lion will be available to the rest of us next week.

Wednesday, June 29, 2011

Java 10.6 Update 5


Friday, June 24, 2011

Had to re-install 10.6.8 combo

I usually like to install combo updates on my iMac.
After downloading 10.6.8 combo the screen of my iMac went black and I had to turn it off (using the power button).


After that, although it looked like everything was fine, I successfully re-installed 10.6.8.

10.6.8 is available

I prefer the combo update.

Wednesday, June 15, 2011

Tuesday, June 7, 2011

iTunes 10.3

As it does not show on my "Software Update...", I am downloading it from Apple's web site.

Monday, June 6, 2011

iCloud


 
Works across iOS devices and Macs & PCs too.

Saturday, June 4, 2011

Choose carefully

read it here.

Thursday, June 2, 2011

Per-WWDC photo


Tuesday, May 31, 2011

WWDC 2011...

WWDC 2011 will be about:

  • iCloud
  • iOS 5
  • Lion (Mac OS X 10.7)
Steve Jobs will be there!

Monday, May 30, 2011

iPhone is case-sensitive

I had a strange issue today while programming my iPhone. Although the application was running find on iOS Simulator, it crashed on my iPhone 4.


The iPhone was generating the following error:
2:53 unknown Pickers[15251] : *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSURL initFileURLWithPath:]: nil string parameter'


The problem was a wrongly typed file name. The "wrong" command was:
NSString *path = [[NSBundle mainBundle] pathForResource:@"Crunch" ofType:@"wav"];


and I had to change it to (notice the small __c__)
NSString *path = [[NSBundle mainBundle] pathForResource:@"crunch" ofType:@"wav"];


The funny thing was that both of them were working on the iOS Simulator but only the second one on my iPhone! So, iPhone is case-sensitive.

Saturday, May 28, 2011

Tab bar items

As I was reading a book on iPhone 3 development, I thought that it would be useful to point out the new way (in Xcode 4) of creating tab bar items.




In Xcode 3, this job was done from the Attributes inspector of the Tab Bar Controller.
You should now drag a Tab Bar Item from the library to a Tab Bar Controller.

Wednesday, May 25, 2011

Tips for success


Found it at MacUser.co.uk.

Tuesday, May 24, 2011

My May 2011 MacTech article

Title: The SQLite DB and iOS
Subtitle: How to use SQLite on your iPhone and iPad

My April 2011 MacTech article

Title: Sending Cisco logs to Syslog on your Mac
Subtitle: How to set up both your Cisco router and your Mac in order to store Cisco log files