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
/*#region box-sizing fix*/ | |
*, | |
*:before, | |
*:after { | |
-webkit-box-sizing: content-box; | |
-moz-box-sizing: content-box; | |
box-sizing: content-box; | |
} | |
.container-fluid .row .col, |
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
(function (api, $) { | |
'use strict'; | |
api.writeText = function (x, y, text, options) { | |
options = options || {}; | |
var defaults = { | |
align: 'left', | |
width: this.internal.pageSize.width | |
} |
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
# Superset specific config | |
ROW_LIMIT = 5000 | |
# Flask App Builder configuration | |
# Your App secret key will be used for securely signing the session cookie | |
# and encrypting sensitive information on the database | |
# Make sure you are changing this key for your deployment with a strong key. | |
# Alternatively you can set it with `SUPERSET_SECRET_KEY` environment variable. | |
# You MUST set this for production environments or the server will not refuse | |
# to start and you will see an error in the logs accordingly. |
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
[can read on Chart, can read on Dashboard, can list on DynamicPlugin, can read on Explore, can samples on Datasource, can explore json on Superset, can get embedded on Dashboard, can read on Dataset, all datasource access on all_datasource_access, all database access on all_database_access, can explore on Superset] |
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
#!/bin/bash | |
source /home/falcon/superset-venv/bin/activate | |
export FLASK_APP=superset | |
export SUPERSET_CONFIG_PATH=/home/falcon/app/superset_config.py | |
superset run -p 8088 --with-threads --reload --debugger | |
deactivate |
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
var express = require('express'); | |
const axios = require('axios'); | |
var https = require('https'); | |
var router = express.Router(); | |
var supersetBaseUrl = 'http://localhost:8088/api/v1'; | |
const httpsAgent = new https.Agent({ | |
rejectUnauthorized: false, | |
}) | |
axios.defaults.httpsAgent = httpsAgent |