-
To include python3 kernel in ipython:
python3 -m pip install ipykernel python3 -m ipykernel install --user
To include python3 kernel in ipython:
python3 -m pip install ipykernel
python3 -m ipykernel install --user
git rm -r --cached .
alabaster==0.7.9 | |
appnope==0.1.0 | |
Babel==2.3.4 | |
decorator==4.0.10 | |
docutils==0.12 | |
entrypoints==0.2.2 | |
h5py==2.6.0 | |
imagesize==0.7.1 | |
ipykernel==4.3.1 | |
ipyparallel==5.1.1 |
I hereby claim:
To claim this, I am signing this object:
Goal: Connect to MSSQL using FreeTDS / ODBC in Python.
Host: Ubuntu 11.10 x86_64
Install:
sudo apt-get install freetds-dev freetds-bin unixodbc-dev tdsodbc
pip install pyodbc sqlalchemy
In /etc/odbcinst.ini:
Movies Recommendation:
Music Recommendation:
curl -i -H "X-Spree-Token: YOUR_TOKEN_ID" http://0.0.0.0:3000/api/products.json
curl -i -H "X-Spree-Token: YOUR_TOKEN_ID" http://0.0.0.0:3000/api/products/706676762.json
curl -i -X PUT -H "X-Spree-Token: YOUR_TOKEN_ID" -d "product[name]=Headphones" http://0.0.0.0:3000/api/products/706676762.json
# bundler state | |
/.bundle | |
/vendor/bundle/ | |
/vendor/ruby/ | |
# minimal Rails specific artifacts | |
db/*.sqlite3 | |
/db/*.sqlite3-journal | |
/log/* | |
/tmp/* |
# We'll render HTML templates and access data sent by POST | |
# using the request object from flask | |
from flask import Flask, render_template, request | |
import json | |
# Initialize the Flask application | |
app = Flask(__name__) | |
# This route will show a form to submit some JSON data |
1- remove the Composer git, replace it by our git version. | |
2- bundle install and make sure the Rails App runs. | |
3- Push Github repo. | |
4- Add Payola gem | |
5- Payola model installation | |
5- Payloa + Stripe key | |
... |