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
sql> SELECT assignees, labels, reactions, author_association FROM "https://api.github.com/repos/apache/superset/issues" WHERE assignees != '[]' AND labels != '[]' LIMIT 2; | |
assignees labels reactions author_association | |
---------------------------- ---------------------- ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ -------------------- | |
["betodealmeida"] ["data:connect:drill"] [{"url": "https://api.github.com/repos/apache/superset/issues/27028/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}] NONE | |
["mistercrunch", "rusackas"] ["P1"] [{"url": |
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
import logging | |
from typing import Any, Dict, Generic, List | |
from flask_appbuilder import Model | |
from marshmallow import Schema, fields | |
from superset import security_manager | |
from superset.connectors.sqla.models import SqlaTable | |
from superset.datasets.dao import DatasetDAO | |
from superset.datasets.commands.exceptions import ( |
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
Loaded your LOCAL configuration at [/Users/beto/Projects/github/superset/superset_config.py] | |
Endpoint Methods Rule | |
------------------------------------------------ --------- ------------------------------------------------------------------------------------- | |
AccessRequestsModelView.action_post POST /accessrequestsmodelview/action_post | |
AccessRequestsModelView.add GET, POST /accessrequestsmodelview/add | |
AccessRequestsModelView.delete GET, POST /accessrequestsmodelview/delete/<pk> | |
AccessRequestsModelView.edit GET, POST /accessrequestsmodelview/edit/<pk> | |
AccessRequestsModelView.list GET /accessrequestsmodelview/list/ | |
AccessRequestsModelView.show GET /accessrequestsmodelview/show/<pk> | |
AlertView.list GET /alert/list/ |
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
# -------------------------------------- | |
# Snowflake OAuth | |
# -------------------------------------- | |
SNOWFLAKE_ACCOUNT = os.getenv('SNOWFLAKE_ACCOUNT') or None | |
if SNOWFLAKE_ACCOUNT: | |
SNOWFLAKE_SECURITY_INTEGRATION_CLIENT_ID = os.getenv('SNOWFLAKE_SECURITY_INTEGRATION_CLIENT_ID') | |
SNOWFLAKE_SECURITY_INTEGRATION_CLIENT_SECRET = os.getenv('SNOWFLAKE_SECURITY_INTEGRATION_CLIENT_SECRET') | |
SNOWFLAKE_OAUTH_AUTHORIZATION_ENDPOINT = f'https://{SNOWFLAKE_ACCOUNT}.snowflakecomputing.com/oauth/authorize' |
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
// (*) All in the spirit of open-source and open-hardware | |
// Janost 2016 Sweden | |
// The Tiny-TS Touch Synthesizer | |
// https://janostman.wordpress.com/the-tiny-ts-diy-touch-synthesizer/ | |
// Copyright 2016 DSP Synthesizers Sweden. | |
// | |
// Author: Jan Ostman | |
// |
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
/* A MIDI pedal for the Critter & Guitari Organelle. | |
* | |
* An expression pedal sends CC numbers 21-24, depending on | |
* the switch pressed. A sustain pedal sends CC 25 to control | |
* the Aux button. | |
*/ | |
#include <Bounce.h> | |
const int midiChannel = 15; |
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
#!/usr/bin/env python3 | |
import asyncio | |
import multiprocessing | |
import os | |
import ssl | |
from time import sleep | |
port = 9000 |
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
85c85 | |
< <multisample url="..\..\..\..\..\Sounds\Lars Lentz\Vintage Synths\Noise\8track.wav" | |
--- | |
> <multisample url="8track.talwav" urlRelativeToPresetDirectory="Lars\Lars Lentz Tape\8track.talwav" | |
96c96 | |
< <multisample url="..\..\..\..\..\Sounds\Lars Lentz\Vintage Synths\Noise\reel2reel.wav" | |
--- | |
> <multisample url="reel2reel.talwav" urlRelativeToPresetDirectory="Lars\Lars Lentz Tape\reel2reel.talwav" |
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
import re | |
def is_prime(n): | |
return not re.match(r'^.?$|^(..+?)\1+$', '1'*n) |
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
/* | |
1. Download and run https://raw.githubusercontent.com/esp8266/Arduino/master/libraries/ESP8266WiFi/examples/BearSSL_CertStore/certs-from-mozilla.py | |
2. Make sure the `certs.ar` file is in the `data/` directory in your project. | |
3. Download and install ESP8266LittleFS (see https://arduino-esp8266.readthedocs.io/en/latest/filesystem.html#uploading-files-to-file-system) | |
4. Run Tools > ESP8266 LittleFS Data Upload | |
5. Upload this sketch | |
/*************************************************** | |
Adafruit MQTT Library ESP8266 Example |
NewerOlder