QuickAlerts is a Chrome Extension for Tradingview.
It's features include:
- Batch import/export of an ever-growing number of alert types
- Sort alerts alphabetically
QuickAlerts is a Chrome Extension for Tradingview.
It's features include:
from transitions import Machine | |
class Payments(models.Model): | |
STATES = { | |
'started': 'Started', | |
'captured': 'Captured', | |
'completed': 'Completed', | |
} |
tree-sitter
. This will be enabled by default quite soon now. It is theoretically faster and more powerful than regex based grammars (the one described in this guide), but requires a steeper learning curve. My understanding is that regex based grammars will still be supported however (at least until version 2), so this guide can still be useful.
To enable it yourself, go to Settings -> Core and check Use Tree Sitter Parsers
Links for tree-sitter
help:
tree-sitter
: the main repotree-sitter-cli
: converts a JavaScript grammar to the required C/C++ filesnode-tree-sitter
: module to use Tree-sitter parsers in NodeJSEdit: This list is now maintained in the rust-anthology repo.
As an introduction into Luigi, I am following this tutorial with some modifications, e.g. installation using conda.
The problems and solutions described in the examples below have led to the development of sciluigi,
import json | |
import os | |
import luigi | |
import requests | |
from collections import Counter | |
from luigi.contrib.external_program import ExternalProgramTask | |
class Meetup(luigi.WrapperTask): | |
def run(self): |
#!/usr/bin/env bash | |
# https://developers.supportbee.com/blog/setting-up-cucumber-to-run-with-Chrome-on-Linux/ | |
# https://gist.github.com/curtismcmullan/7be1a8c1c841a9d8db2c | |
# https://stackoverflow.com/questions/10792403/how-do-i-get-chrome-working-with-selenium-using-php-webdriver | |
# https://stackoverflow.com/questions/26133486/how-to-specify-binary-path-for-remote-chromedriver-in-codeception | |
# https://stackoverflow.com/questions/40262682/how-to-run-selenium-3-x-with-chrome-driver-through-terminal | |
# https://askubuntu.com/questions/760085/how-do-you-install-google-chrome-on-ubuntu-16-04 | |
# Versions | |
CHROME_DRIVER_VERSION=`curl -sS https://chromedriver.storage.googleapis.com/LATEST_RELEASE` |
scope
: the scope for which this fixture is shared, one of “function” (default), “class”, “module”, “session”.params
: an optional list of parameters which will cause multiple invocations of the fixture function and all of the tests using it.autouse
: if True, the fixture func is activated for all tests that can see it. If False (the default) then an explicit reference is needed to activate the fixture.ids
: list of string ids each corresponding to the params so that they are part of the test id. If no ids are provided they will be generated automatically from the params.dash_sniffer.service
/lib/systemd/system/
systemd
using command: systemctl daemon-reload
systemctl enable dash_sniffer.service