VirtualTam's bookmarks
56 bookmarks found
-
Packaging Cython applications
2017-05-02 - http://stackoverflow.com/questions/37471313/setup-requires-with-cython
- http://stackoverflow.com/questions/35497572/using-python-setuptools-to-put-cython-compiled-pyd-files-in-their-original-folde
- http://stackoverflow.com/questions/32528560/using-setuptools-to-create-a-cython-package-calling-an-external-c-library
- http://stackoverflow.com/questions/22214022/how-to-run-nosetests-in-a-project-using-cython
-
PyCharm + Windows
2017-04-17 PyCharm setup
- https://www.jetbrains.com/pycharm/download/download-thanks.html?platform=windows&code=PCC
- https://www.jetbrains.com/help/pycharm/2017.1/git.html
- https://confluence.jetbrains.com/display/PYH/Using+PyCharm%27s+Git+integration+locally
- https://www.jetbrains.com/help/pycharm/2017.1/run-debug-configuration-tox.html
- https://www.jetbrains.com/help/pycharm/2017.1/configuring-colors-and-fonts.html
- https://training.talkpython.fm/courses/explore_pycharm/mastering-pycharm-ide
Environment
- doesn't work with Git from Cygwin
- https://git-for-windows.github.io/
- https://www.python.org/downloads/
- https://github.com/jkaving/intellij-colors-solarized
- http://ethanschoonover.com/solarized
- https://fonts.google.com/specimen/Noto+Sans
- https://www.microsoft.com/en-us/download/details.aspx?id=44266
Packages
-
squid : Optimising Web Delivery
2016-11-29 -
Auto Jenkins Setup | Castells
2016-02-05 -
Chrooted SSH/SFTP Tutorial (Debian Lenny)
2016-01-06 -
Pro: no need to setup a DNS server to test virtualhosts Con: keep in mind that all "fake" hosts will point to 127.0.0.1!
- Use /etc/hosts to declare test hosts / domains / subdomains
#<ip-address> <hostname.domain.org> <hostname> 127.0.0.1 localhost.localdomain localhost 127.0.0.1 host.localdomain host 127.0.0.1 sub.host.localdomain sub.host ::1 localhost.localdomain localhost
- Allow per-user virtualhost definition in either (depending on your distro)
/etc/httpd/conf/httpd.conf
/etc/apache2/apache2.conf
Include
/home/albert/.httpd/*.conf
- Profit! Create virtualhosts with local hostnames :)
-
Emacs as a Python IDE
2015-02-07 Very cool & detailed tutorial on how to setup Emacs for Python editing, completion & execution.
-
Transifex client - Usage memo
2014-11-12 1# setup a transifex virtualenv 2virtualenv2 VENV; source VENV/bin/activate; pip install transifex-client 3 4# global config: ~/.transifexrc 5# this step can be omitted, as 'tx init' will create the file if it doesn't exist 6[https://www.transifex.com] 7username = User 8token = 9password = un54f3_p4ssw0rd! 10hostname = https://www.transifex.com 11 12# setup example project 13mkdir example; cd example 14tx init 15tx set --auto-remote https://www.transifex.com/projects/p/my-project/ 16 17# get the files 18tx pull -l pt_BR 19 20# edit things 21poedit / linguist-qt4 22 23# push to transifex 24tx push -t
-
setuptools - The PEAK Developers' Center
2014-06-09 setuptools is a collection of enhancements to the Python distutils
-
This document describes the current state of packaging in Python using Distribution Utilities (“Distutils”) and its extensions from the end-user’s point-of-view, describing how to extend the capabilities of a standard Python installation by building packages and installing third-party packages, modules and extensions.