Monday, July 30, 2012
Mountain Lion: Page Outs
Posted by WidgetBook at 13:18 0 comments
Labels: Dashboard, Mountain Lion, tip
Saturday, July 28, 2012
Wireshark and Mountain Lion
$ wireshark
(process:28125): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
(wireshark:28125): Gtk-WARNING **: cannot open display:
The Wireshark Macports version does not work on Mountain Lion so I downloaded WireShark from http://www.wireshark.org/download.html.
The problem was X11. The solution can be found at: http://xquartz.macosforge.org/landing/.
(process:28125): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
(wireshark:28125): Gtk-WARNING **: cannot open display:
The Wireshark Macports version does not work on Mountain Lion so I downloaded WireShark from http://www.wireshark.org/download.html.
The problem was X11. The solution can be found at: http://xquartz.macosforge.org/landing/.
Posted by WidgetBook at 10:20 0 comments
Labels: Mountain Lion, WireShark
Friday, July 27, 2012
Installing (MacPorts) MySQL on Mountain Lion
$ sudo port install mysql55 mysql55-server
The following command makes MySQL use a "normal" MySQL configuration file because the default is not good at all:
$ sudo cp -av /opt/local/share/mysql55/support-files/my-small.cnf /opt/local/etc/mysql55/my.cnf
$ sudo /opt/local/share/mysql55/support-files/mysql.server start
$ sudo -u _mysql /opt/local/lib/mysql55/bin/mysql_install_db
$ sudo /opt/local/lib/mysql55/bin/mysql_secure_installation
And you are done!
The following command makes MySQL use a "normal" MySQL configuration file because the default is not good at all:
$ sudo cp -av /opt/local/share/mysql55/support-files/my-small.cnf /opt/local/etc/mysql55/my.cnf
$ sudo /opt/local/share/mysql55/support-files/mysql.server start
$ sudo -u _mysql /opt/local/lib/mysql55/bin/mysql_install_db
$ sudo /opt/local/lib/mysql55/bin/mysql_secure_installation
And you are done!
Posted by WidgetBook at 09:30 0 comments
Labels: MacPorts, Mountain Lion, Software
Thursday, July 26, 2012
Wednesday, July 25, 2012
Before leaving Lion
I will wait for the following things to completely go to Mountain Lion:
MacPorts compatibilityLaTeX compatibilityFinish a MacTech article I am writing :)Check if my HP OfficeJet 8500 printer is supported
All of them are very important to me and I want to make sure that they will be fine.
I think of doing a clean install.
Posted by WidgetBook at 21:49 0 comments
Labels: Lion, Mountain Lion
Tuesday, July 24, 2012
Mountain Lion officially released!
Mountain Lion will be officially released on Wednesday 25 July 2012!
I may try to do a clean installation – it takes more time but generally I think it is better.
I may try to do a clean installation – it takes more time but generally I think it is better.
Posted by WidgetBook at 23:52 0 comments
Labels: Mountain Lion
Monday, July 23, 2012
Saturday, July 21, 2012
Why I like my Cisco
I really like my Cisco 877W ADSL router. Although its setup is relatively difficult, its capabilities are a huge time saver.
In order to reboot it, I just execute the following command:
$ ssh cisco reload
Password:
Proceed with reload? [confirm]y
Connection to cisco closed by remote host.
If I had a cheaper ADSL router with a Web interface, it would take much longer!
In order to reboot it, I just execute the following command:
$ ssh cisco reload
Password:
Proceed with reload? [confirm]y
Connection to cisco closed by remote host.
If I had a cheaper ADSL router with a Web interface, it would take much longer!
Posted by WidgetBook at 20:47 0 comments
Labels: cisco
Saturday, July 14, 2012
SetFile command
If for some reason you cannot see a HD as an icon on your Desktop, run the following command (replace the <Drive Name> with the actual name):
$ SetFile -a v /Volumes/<Drive Name>/
$ SetFile -a v /Volumes/<Drive Name>/
Posted by WidgetBook at 21:12 0 comments
Tuesday, July 10, 2012
Steve Jobs on programming
"I think everyone should learn how to program a computer, because it teaches you how to think. I view computer science as a liberal art, something everyone should learn to do."
Steve Jobs
Posted by WidgetBook at 09:46 0 comments
Labels: Blog
Thursday, July 5, 2012
Wednesday, July 4, 2012
A simple dd test (SSD vs HD)
This is a simple and not scientific benchmark, using the dd UNIX command, that will give you an idea of how faster an SSD than a usual hard disk is.
1TB SATA hard disk
$ dd if=/dev/zero of=bigfile1 bs=10000000 count=512
512+0 records in
512+0 records out
5120000000 bytes transferred in 59.423885 secs (86160640
bytes/sec)
256Gb SATA SSD
$ dd if=/dev/zero of=bigfile1 bs=10000000 count=512
512+0 records in
512+0 records out
5120000000 bytes transferred in 22.594125 secs (226607583
bytes/sec)
The results are impressive!
Posted by WidgetBook at 00:05 0 comments
Subscribe to:
Posts (Atom)