I hereby claim:
- I am alexlouden on github.
- I am alexlouden (https://keybase.io/alexlouden) on keybase.
- I have a public key whose fingerprint is 4C0B 565D 15A9 4295 95C0 C4D3 0AA5 79A2 F938 FFB2
To claim this, I am signing this object:
<i class="icon-star"></i> |
I hereby claim:
To claim this, I am signing this object:
rm -rf build | |
mkdir build | |
cd build | |
cmake \ | |
-G "Unix Makefiles" \ | |
-D CMAKE_BUILD_TYPE=RELEASE \ | |
-D CMAKE_INSTALL_PREFIX=/usr/local \ | |
-D CUDA_FAST_MATH=1 \ | |
-D WITH_CUBLAS=1 \ |
from django import forms | |
class PersonForm(forms.Form): | |
name = forms.CharField(required=True) | |
## Initial data = valid | |
f = PersonForm({'name': 'Alex'}) | |
f.is_valid() |
@mixin icon($name, $code) | |
.icon-#{$name}:before | |
content: "#{$code}" | |
// Usage: | |
+icon(heart, \e600) | |
// Compiles to: | |
.icon-heart:before { | |
content: "\e600"; |
https://github.com/cyberdelia/heroku-geo-buildpack.git#1.1 | |
https://github.com/heroku/heroku-buildpack-python.git#v29 |
database: | |
post: | |
- psql -c "CREATE EXTENSION postgis;" -d circle_test |
# psql: | |
# CREATE DATABASE mydatabase; | |
# \connect mydatabase | |
# CREATE EXTENSION postgis; | |
# GEOS from buildpack | |
try: | |
GEOS_LIBRARY_PATH = os.path.join(os.environ['GEOS_LIBRARY_PATH'], 'libgeos_c.so') | |
GDAL_LIBRARY_PATH = os.path.join(os.environ['GDAL_LIBRARY_PATH'], 'libgdal.so') | |
except: |