Skip to content

Instantly share code, notes, and snippets.

View danipolo's full-sized avatar

Dani Polo danipolo

View GitHub Profile
@danipolo
danipolo / conditional_scenario_run.py
Created January 29, 2019 00:20 — forked from JedIV/conditional_scenario_run.py
Checks the metrics of a dataset and conditionally runs a scenario
from dataiku.scenario import Scenario
import dataiku
### Set up objects
# The Scenario object is the main handle from which you initiate steps
scenario = Scenario()
# The Project that we'll be working with
# set up an api client
@danipolo
danipolo / gist:8417c1b173d1c8c87d2f474dfa9e9403
Created May 13, 2016 14:50 — forked from alexsegura/gist:9650651
Prestashop 1.6 folder permissions
chmod a+w -R config/
chmod a+w -R cache/
chmod a+w -R log/
chmod a+w -R img/
chmod a+w -R mails/
chmod a+w -R modules/
chmod a+w -R themes/default-bootstrap/lang/
chmod a+w -R themes/default-bootstrap/pdf/lang/
chmod a+w -R themes/default-bootstrap/cache/
chmod a+w -R translations/