Useful Atom Packages for Python

Atom is one of recommended file editor for developers and it’s free.

This is the list of useful Atom Packages:

script
autocomplete-python
file-icons
minimap
python-autopep8
linter-flake8

 

You also need to install autopep8 and flake8 on your computer:

pip install autopep8

pip install flake8

Enjoy! 🙂

Linux Tips

Modify File Date

touch -m -a -t 201510110100.01 test.csv

[Ubuntu] Remove all files that older than 2 days in specific folder

find /destination/folder/ -name ‘*’ -mtime +2 -delete

[Sun OS] Remove all files in specific folder

find /destination/folder/ -name * -exec rm {} \;

Service Configuration Error Messages on Cisco Routers

Occasionally, during bootup of Cisco hardware through Cisco IOS software, error messages similar to these are displayed:

  • %Error opening tftp://255.255.255.255/network-confg (Socket error)

  • %Error opening tftp://255.255.255.255/cisconet.cfg (Socket error)

  • %Error opening tftp://255.255.255.255/3620-confg (Socket error)

  • %Error opening tftp://255.255.255.255/3620.cfg (Socket error)

These error messages are related to the default service configuration option built into Cisco IOS software, which attempts to access the service configuration files from a network Trivial File Transfer Protocol (TFTP) server.

Solution

In order to disable this feature, issue the no service config global command.

Router#config terminal
Enter configuration commands, one per line.  

Router(config)#no service config

Router(config)#exit

Router#copy running-config startup-config

These error messages no longer appear at the next bootup of the router.

How to Study

image How to Study, another book by Ron Fry. I bought this book at a bookstore in my town two days ago. This book was tempting my eyes when I passed its shelf. Suddenly I remembered when I was a freshman and confirmed my pace to struggle for my bachelor degree. Eight years ago I stayed at dorm with my seven new friends. They are very diligent especially in reading many thick weight lecture books. I used to amaze to their willingness in reading those books. Their enthusiasm in learning stimulated my spirit to study more. They had their own special method in how to “chew” those books in a short time so they could be well prepared in facing the examinations. One of my friend, Anugrah Suryanto, comes from Central Java, filled his day in dorm by making notes and review lecture materials. The other one, Eko, who comes from East Java always pay a good attention in our class. Eko also had good marks even though he didn’t make many notes when he prepared his examination. I learned much from what they did. I learned about how to study smarter, not harder.

When I opened and read this book, my mind flew away to a few years ago when I learned how to study harder before I knew how to study smarter. This book refresh my mind about doing smarter than harder. This book explains about

  1. How to start out right
  2. How to organize your studying
  3. How to read and remember
  4. How to organize your time
  5. How to excel in class
  6. How to conduct your research
  7. How to write terrific papers
  8. How to study for tests

Doing smarter is pointing to how to utilize your resources (time, energy, spirit, etc) efficiently and effectively. A smarter way can give you a better result with the appropriate resources. That’s why most people believe that a good preparation can earn maximum result. Thanks to God that I’ve been given a chance to continue my study after three years working. I’m going to continue my study this September. I hope it can increase my competence as a professional in telecommunication field. Read the book and I believe it is valuable for you.