Install rustlings-fix and run it:
cargo install rustlings-fix
rustlings-fixFor more information on how the file this generates works checkout the Rust Analyzer Manual
Install rustlings-fix and run it:
cargo install rustlings-fix
rustlings-fixFor more information on how the file this generates works checkout the Rust Analyzer Manual
| # assuming pipx is already installed | |
| # https://pipxproject.github.io/pipx/installation/ | |
| # airflow needs a home, ~/airflow is the default, | |
| # but you can lay foundation somewhere else if you prefer | |
| # (optional) | |
| export AIRFLOW_HOME=~/airflow | |
| AIRFLOW_VERSION=2.0.1 | |
| PYTHON_VERSION="$(python3 --version | cut -d " " -f 2 | cut -d "." -f 1-2)" |
| """ | |
| This is an extension of the technique first detailed here: | |
| http://sedimental.org/remap.html#add_common_keys | |
| In short, it calls remap on each container, back to front, using the accumulating | |
| previous values as the default for the current iteration. | |
| """ | |
In this gist I would like to describe an idea for GraphQL subscriptions. It was inspired by conversations about subscriptions in the GraphQL slack channel and different GH issues, like #89 and #411.
At the moment GraphQL allows 2 types of queries:
querymutationReference implementation also adds the third type: subscription. It does not have any semantics yet, so here I would like to propose one possible semantics interpretation and the reasoning behind it.
| #!/System/Library/Frameworks/Ruby.framework/Versions/Current/usr/bin/ruby | |
| # SET YOUR_HOME TO THE ABSOLUTE PATH OF YOUR HOME DIRECTORY | |
| # chmod +x install.rb | |
| # ./install.rb | |
| YOUR_HOME = '' | |
| HOMEBREW_PREFIX = "#{YOUR_HOME}/usr/local" | |
| HOMEBREW_CACHE = '/Library/Caches/Homebrew' | |
| HOMEBREW_REPO = 'https://github.com/Homebrew/homebrew' |
| """ | |
| Exports Issues from a specified repository to a CSV file | |
| Uses basic authentication (Github username + password) to retrieve Issues | |
| from a repository that username has access to. Supports Github API v3. | |
| """ | |
| import csv | |
| import requests | |