Use Python to:
- send a plain text email
- send an email with attachment
- receive and filter emails according to some criteria
import sys | |
sys.path.insert(0, 'python/') | |
import caffe | |
from caffe.proto import caffe_pb2 | |
net_param = caffe_pb2.NetParameter() | |
net_str = open('lenet_iter_5000.caffemodel', 'r').read() | |
net_param.ParseFromString(net_str) | |
print net_param.layer[0].name # first layer |
Use Python to:
#Given a video of any aspect ratio this script will extract center cropped thumbnails at 299x299. | |
#Useful for gathering image training data. | |
#Assumes ffmpeg 3.3.2 | |
#If you get an error about exact that means you are using an older version of ffmpeg | |
#Simply remove the :exact=1. | |
#This will make it work, but may cause the output size to be off by a pixel | |
#Script assumes you are downsampling. | |
#!/bin/bash |
<!-- | |
Inspired by | |
https://gist.github.com/mndza/74736feb073fc6b65334#file-gistfile1-html | |
https://github.com/denysvitali/megadecrypter | |
https://gist.github.com/artjomb/7ef1ee574a411ba0dd1933c1ef4690d1 | |
About Mega Links | |
http://megadownloaderapp.blogspot.com/2013/03/explaining-mega-links.html | |
--> | |
<!DOCTYPE html> | |
<html> |