This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Sample Tracking Template | |
// {lpurl}?utm_medium=adwords&utm_campaign={_campaign}&utm_source={_adgroup}&utm_term={keyword} | |
// This script will set custom parameters {_campaign} and {_adgroup} at the campaign and creative level respectively. | |
function main() { | |
///// Update Campaigns | |
// get all campaigns | |
var campaignSelector = AdsApp | |
.campaigns() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Requirements: | |
guiabolso2csv -- code below based on __main__.py file in this library | |
unicodecsv | |
click | |
requests | |
openpyxl | |
Example: | |
python guiabolso2csv.py --email seuemail@mail.com --year 2015 --month 01 --last-year 2019 --last-month 07 --unique-file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ipython profile create | |
vim ~/.ipython/profile_default/ipython_config.py | |
# changes | |
c.InteractiveShellApp.extensions = ['autoreload'] | |
c.InteractiveShellApp.exec_lines = ['%load_ext autoreload', '%autoreload 2'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from keras.layers.convolutional import Convolution2D | |
from keras.models import Sequential | |
# apply a 3x3 convolution with 64 output filters on a 256x256 image: | |
model = Sequential() | |
model.add(Convolution2D(64, 3, 3, border_mode='same', input_shape=(3, 256, 256))) | |
# now model.output_shape == (None, 64, 256, 256) | |
print model.output_shape # == (None, 3, 256, 64) | |
# add a 3x3 convolution on top, with 32 output filters: |