Help with SQL commands to interact with a MySQL database
- Mac /usr/local/mysql/bin
- Windows /Program Files/MySQL/MySQL version/bin
- Xampp /xampp/mysql/bin
| #run this in any directory add -v for verbose | |
| #get Pillow (fork of PIL) from pip before running --> pip install Pillow | |
| import os | |
| import sys | |
| from PIL import Image | |
| def compressMe(file, verbose=False): | |
| filepath = os.path.join(os.getcwd(), file) | |
| oldsize = os.stat(filepath).st_size |
| /* | |
| ##Device = Desktops | |
| ##Screen = 1281px to higher resolution desktops | |
| */ | |
| @media (min-width: 1281px) { | |
| /* CSS */ | |