VirtualTam's bookmarks
41 bookmarks found
-
Packages using struct field tags:
- https://golang.org/pkg/encoding/json/
- https://golang.org/pkg/encoding/xml/
- https://golang.org/pkg/reflect/
- https://github.com/golang/go/wiki/Well-known-struct-tags
Articles:
- https://blog.golang.org/json-and-go
- https://www.golang-book.com/books/intro/9#section1
- https://sosedoff.com/2016/07/16/golang-struct-tags.html
- https://gobyexample.com/json
Threads:
-
PyPDF2
2018-04-04 PyPDF2:
- https://pythonhosted.org/PyPDF2/
- https://pythonhosted.org/PyPDF2/PdfFileReader.html
- https://github.com/mstamy2/PyPDF2
Guides:
- http://www.binpress.com/tutorial/manipulating-pdfs-with-python/167
- https://automatetheboringstuff.com/chapter13/
- http://www.blog.pythonlibrary.org/2010/05/15/manipulating-pdfs-with-python-and-pypdf/
- http://www.blog.pythonlibrary.org/2012/07/11/pypdf2-the-new-fork-of-pypdf/
- https://medium.com/@menglishu09/get-bookmarks-from-pdf-using-pypdf2-4166ae8eb6f6
- http://blog.isnotworking.com/2006/08/extract-pdf-title-from-all-files-on.html
Threads:
- https://stackoverflow.com/questions/1918420/split-a-pdf-based-on-outline
- https://stackoverflow.com/questions/8329748/how-to-get-bookmarks-page-number
- https://stackoverflow.com/questions/2431426/extract-toc-of-pdf
- https://stackoverflow.com/questions/911672/extracting-titles-from-pdf-files
- https://stackoverflow.com/questions/10014572/python-open-pdf-file-to-specific-page-section
-
Validating Atom and RSS feeds
2018-04-02 Specifications:
- Atom:
- RSS 2.0:
- http://www.intertwingly.net/wiki/pie/Rss20AndAtom10Compared
W3C Validation services:
- https://validator.w3.org/feed/
- https://validator.w3.org/feed/docs/
- http://www.feedvalidator.org/
- https://github.com/rubys/feedvalidator
- https://lists.w3.org/Archives/Public/www-validator/
- https://groups.google.com/group/feedvalidator-users
Literature:
- https://feeder.co/knowledge-base/rss-feed-creation/how-to-validate-a-rss-feed/
- http://www.rss-specifications.com/feed-validators.htm
Threads:
-
-
-
- https://stackoverflow.com/questions/23931987/apache-proxy-no-protocol-handler-was-valid
- https://serverfault.com/questions/746810/enforcing-client-verification-in-apache-just-for-a-specific-client-certificate
- https://httpd.apache.org/docs/2.4/mod/mod_ssl.html
- https://serverfault.com/questions/639317/ah01896-unable-to-determine-list-of-acceptable-ca-certificates-for-client-authe#842857
- http://www.zeitoun.net/articles/configure-mod_proxy_ajp-with-tomcat/start
- https://wiki.apache.org/tomcat/FAQ/Connectors
- https://serverfault.com/questions/785652/how-do-i-configure-apache-to-proxy-tomcat-using-ajp
-
Linux - Desktop Entry Specification
2015-09-26 -
"I’m starting to learn game design and the biggest hurdle I keep running into over and over is knowing how many forklifts to put into my game. Could you give me a specific number? It would be a huge help, thanks!"
-
Python unit testing frameworks: Nose, Pytest
2015-02-13 Python's built-in unittest module is quite cool, but a bit limited and way too verbose (read: it's quite not easy to incite developers to write unit tests)
I'm currently looking for more dev-friendly solutions, the key points being:
- writing test code should be easy and straight-forward -keep the focus on "what to test" instead of "how to transcribe a process to a test"
- parallelization! -we, spoiled developers, should make good use of our way-too-many-cores build machines...
- complete feature set!
- we don't want to just run tests...
- coverage reports (find dead/weak/untested code sections)
- output formatting (JUnit-XML seems to be quite a common format out there)
There seem to be 3 solutions in Python:
- stock unittest + project-dependent customizations / test helpers
- nosetests
- py.test
And 2 ways of gettings things done:
- keeping things stock: no external dependency, project-specific implementation...
- using a test framework: one more module in your (test) virtualenv, more concise tests, more features (// run, code coverage, etc.)
Some links:
-
Python: run specific unit tests
2015-02-13 Given your unittests are in the
tests
directory:1# run a specific test module 2python -m unittest tests.<module> 3 4# run a specific test suite 5python -m unittest tests.<module>.<class> 6 7# run a specific test 8python -m unittest tests.<module>.<class>.<test> 9 10# run tests matching a given pattern 11python -m unittest discover -s tests -p <pattern>