Error while installing through pip install psycopg2
looks like this:
Please add the directory containing pg_config to the PATH
or specify the full executable path with the option (...)
Reference to the solution here.
Error while installing through pip install psycopg2
looks like this:
Please add the directory containing pg_config to the PATH
or specify the full executable path with the option (...)
Reference to the solution here.
minikube stop; minikube delete
docker stop $(docker ps -aq)
rm -r ~/.kube ~/.minikube
sudo rm /usr/local/bin/localkube /usr/local/bin/minikube
systemctl stop '*kubelet*.mount'
sudo rm -rf /etc/kubernetes/
docker system prune -af --volumes
#!/bin/bash | |
sudo apt-get install git python-pip make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev curl | |
if [ ! -d "~/.pyenv" ]; then | |
git clone https://github.com/pyenv/pyenv.git ~/.pyenv | |
fi | |
if [ ! -d "~/.pyenv/plugins/pyenv-virtualenv" ]; then | |
git clone https://github.com/pyenv/pyenv-virtualenv.git ~/.pyenv/plugins/pyenv-virtualenv |
from mongoengine import Document, DynamicDocument | |
class AppelateCase(Document): | |
appelate_blob = StringField() | |
class BankruptcyCase(Document): | |
bankrupcy_blob = StringField() | |
class MyCase(DynamicDocument): |
myApp.directive("testing", [function() { | |
return { | |
restrict: "E", | |
templateUrl: "testing.html", | |
link: function(scope, element, attrs) { | |
scope.logIt = function() { | |
console.log(scope.someobj); | |
}; | |
scope.addLine = function() { | |
scope.someobj.push(""); |