Install Python
$ brew install readline sqlite gdbm
$ brew install python --universal --framework
$ python --version
Python 2.7
Symlinks...
Install Python
$ brew install readline sqlite gdbm
$ brew install python --universal --framework
$ python --version
Python 2.7
Symlinks...
| This playbook has been removed as it is now very outdated. |
Locate the section for your github remote in the .git/config file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = [email protected]:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:
| description "uWSGI server for electris CMS" | |
| start on runlevel [2345] # start on all runlevels. | |
| stop on runlevel [!2345] # stop when shutting down. | |
| respawn # respawn if job crashes or is stopped ungracefully. | |
| env DEPLOYMENT_TARGET=production # set any environment variables you like here. | |
| env DJANGO_SETTINGS_FILE=conf/settings.py # more environment variables if you like. | |
| env PYTHONPATH=/home/ubuntu/apps/my_app:/home/ubuntu/.virtualenv/my_app |
| Install postgress | |
| 1 - sudo apt-add-repository ppa:sharpie/for-science # To get GEOS | |
| 2 - sudo apt-get -y --force-yes install postgresql-9.1 postgresql-server-dev-9.1 postgresql-contrib-9.1 gdal-bin binutils libgeos-c1 libgeos-dev libspatialite libspatialite-dev libgdal1-dev libxml2 libxml2-dev libxml2-dev checkinstall libproj0 libproj-dev libpq-dev build-essential | |
| 3 - sudo mkdir -p '/usr/share/postgresql/9.1/contrib/' | |
| 4 - cd usr/share/postgresql/9.1/contrib/ | |
| 5 - wget http://postgis.refractions.net/download/postgis-2.0.2.tar.gz | |
| 6 - tar zxvf postgis-2.0.2.tar.gz && cd postgis-2.0.2 | |
| 7 - ./configure --with-raster --with-topology | |
| 8 - make |
| builds = pd.DataFrame.from_csv(url,parse_dates=['StartedAt', 'FinishedAt'],index_col=9) | |
| # quick and dirty | |
| builds.groupby(builds.index.week).State.value_counts() | |
| 29 passed 4 | |
| 31 failed 4 | |
| 35 errored 3 | |
| failed 3 |
The following instructions are for creating your own animations using the style transfer technique described by Gatys, Ecker, and Bethge, and implemented by Justin Johnson. To see an example of such an animation, see this video of Alice in Wonderland re-styled by 17 paintings.
The easiest way to set up the environment is to simply load Samim's a pre-built Terminal.com snap or use another cloud service like Amazon EC2. Unfortunately the g2.2xlarge GPU instances cost $0.99 per hour, and depending on parameters selected, it may take 10-15 minutes to produce a 512px-wide image, so it can cost $2-3 to generate 1 sec of video at 12fps.
If you do load the
Elm is a statically typed functional language that compiles to JavaScript. It's well-known for its developer experience: the compiler provides nice error messages, the package system enforces semantic versioning for all published packages and makes sure every exposed value or type has some documentation and type annotations.
| // | |
| // BottomSheetView.swift | |
| // | |
| // Created by Majid Jabrayilov | |
| // Copyright © 2019 Majid Jabrayilov. All rights reserved. | |
| // | |
| import SwiftUI | |
| fileprivate enum Constants { | |
| static let radius: CGFloat = 16 |