A "Best of the Best Practices" (BOBP) guide to developing in Python.
- "Build tools for others that you want to be built for you." - Kenneth Reitz
- "Simplicity is alway better than functionality." - Pieter Hintjens
| # This file lists the color values of the default dark theme. | |
| # Each line starting with a # is a comment. | |
| # To overwrite certain colors remove the leading # and change the color values. | |
| # The "extends" line defines which color definitions to use if none is found here. | |
| extends=deepgit-dark-theme.properties | |
| # The "preferredEditorTheme" line determines what editor theme should be used by default ('light' or 'dark'). | |
| preferredEditorTheme=dark |
| # install pycharm debug in project virtualenv | |
| # easy_install /usr/lib/pycharm-4.5.2/debug-eggs/pycharm-debug.egg | |
| #add new 'Python Remote Debug' configuration in (for example port 1999) | |
| import pydevd | |
| pydevd.settrace('localhost', port=1999, stdoutToServer=True, stderrToServer=True, suspend=False) |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <CORSConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/"> | |
| <CORSRule> | |
| <AllowedOrigin>*</AllowedOrigin> | |
| <AllowedMethod>PUT</AllowedMethod> | |
| <AllowedMethod>POST</AllowedMethod> | |
| <AllowedMethod>GET</AllowedMethod> | |
| <AllowedMethod>HEAD</AllowedMethod> | |
| <MaxAgeSeconds>3000</MaxAgeSeconds> | |
| <AllowedHeader>*</AllowedHeader> |
| package aurelienribon.bodyeditor; | |
| import com.badlogic.gdx.files.FileHandle; | |
| import com.badlogic.gdx.math.Vector2; | |
| import com.badlogic.gdx.physics.box2d.Body; | |
| import com.badlogic.gdx.physics.box2d.CircleShape; | |
| import com.badlogic.gdx.physics.box2d.FixtureDef; | |
| import com.badlogic.gdx.physics.box2d.PolygonShape; | |
| import com.badlogic.gdx.utils.Array; | |
| import com.badlogic.gdx.utils.JsonReader; |
| package lessur.engine.physics; | |
| import org.jbox2d.callbacks.DebugDraw; | |
| import org.jbox2d.collision.AABB; | |
| import org.jbox2d.common.Color3f; | |
| import org.jbox2d.common.MathUtils; | |
| import org.jbox2d.common.OBBViewportTransform; | |
| import org.jbox2d.common.Transform; | |
| import org.jbox2d.common.Vec2; | |
| import org.jbox2d.pooling.arrays.IntArray; |
| <?php | |
| /* | |
| * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
| * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
| * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |
| * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | |
| * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
| * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | |
| * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |