To remove just git package itself from Ubuntu 14.04 execute on terminal:
$ sudo apt-get remove git
To remove the git package and any other dependant package which are no longer needed from Ubuntu Trusty.
$ sudo apt-get remove --auto-remove git
# Load the required libraries: | |
# * scipy | |
# * numpy | |
# * matplotlib | |
from scipy.io import wavfile | |
from matplotlib import pyplot as plt | |
import numpy as np | |
# Load the data and calculate the time of each sample | |
samplerate, data = wavfile.read('Clapping.wav') |
# Info on how to get your api key (kaggle.json) here: https://github.com/Kaggle/kaggle-api#api-credentials | |
!pip install kaggle | |
api_token = {"username":"USERNAME","key":"API_KEY"} | |
import json | |
import zipfile | |
import os | |
with open('/content/.kaggle/kaggle.json', 'w') as file: | |
json.dump(api_token, file) | |
!chmod 600 /content/.kaggle/kaggle.json | |
!kaggle config path -p /content |
""" | |
Django ORM Optimization Tips | |
Caveats: | |
* Only use optimizations that obfuscate the code if you need to. | |
* Not all of these tips are hard and fast rules. | |
* Use your judgement to determine what improvements are appropriate for your code. | |
""" | |
# --------------------------------------------------------------------------- |