суббота, 16 апреля 2016 г.

Pelican notes

Extensions
  • If Typogrify library is installed, typographical enhancements may be enabled in the settings file
  • pygments for syntax highlightning
  • Pelican also supports Markdown Extensions, which might have to be installed separately if they are not included in the default Markdown package and can be configured and loaded via the MD_EXTENSIONS setting
  • pelican-plugins repository contains more additional plugin
Metadata
Note that, aside from the title, none of this article metadata is mandatory: if the date is not specified and DEFAULT_DATE is set to 'fs', Pelican will rely on the file’s “mtime” timestamp, and the category can be determined by the directory in which the file resides. A file located at python/foobar/myfoobar.rst will have a category of foobar. If you would like to organize your files in other ways where the name of the subfolder would not be a good category name, you can set the setting USE_FOLDER_AS_CATEGORY to False.

Caching
When experimenting with different settings (especially the metadata ones) caching may interfere and the changes may not be visible. In such cases disable caching with LOAD_CONTENT_CACHE = False or use the --ignore-cache command-line switch.

 

пятница, 15 апреля 2016 г.

Prepare for an interview

Study
  • horizontal vs vertical scaling
  • sql vs nosql
  • strace, gdb, profiling
  • python basics
  • multiprocessing & multithreading
  • python datastructures internals: dicts 
Tune self
  • дослушиваю до конца и задаваю вопрос
  • структурирую проблему и разрабатываю основу ее решения
  • думаю прежде, чем говорю
  • акцентирую внимание на особо важных вопросах
  • обсуждаю ход своих мыслей