python -m py_compile toto.py
Friday, August 29, 2014
perl -c equivalent in python
You actually need to compile the file like in:
Wednesday, August 6, 2014
Mavericks: mount network drive at startup
- Go to System Preferences > Users & Groups
- Push "Login Items" tabbed button
- Drag the network drive from desktop into the "Login Items" list (e.g. Public here)
Friday, August 1, 2014
CentOS: yum hangs on "Loading mirror speeds from cached hostfile"
> sudo yum install cpan
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
...
Disable this behavior with:
> vi /etc/yum/pluginconf.d/fastestmirror.conf
enable=0
Subscribe to:
Posts (Atom)