The future of AI is not scale.
Make sure you run ollama serve (this is OpenAI-compatible http://localhost:11434)
Open cursor model settings and specify:
- Specify
http://localhost:8000/v1 - Hit "Save" (no need to activate key)
- Select
gpt-4oand enjoy local model
uv venv| class MyElement extends LitElement { | |
| protected update(changedProperties: PropertyValues<this>): void { | |
| try { | |
| super.update(changedProperties) | |
| } catch (e) { | |
| // We should probably check the contents of the message since this could error on a regular update?? | |
| // I really dont know. Its hacky, but it works. | |
| const event = new Event("lit-hydration-error", { bubbles: true, composed: true, cancelable: false }) | |
| // @ts-expect-error leave me alone TS. | |
| event.error = e |
| #!/usr/bin/env sh | |
| # | |
| # Copyright (c) Microsoft Corporation. All rights reserved. | |
| # Licensed under the MIT License. See License.txt in the project root for license information. | |
| if [ "$VSCODE_WSL_DEBUG_INFO" = true ]; then | |
| set -x | |
| fi | |
| COMMIT="abd2f3db4bdb28f9e95536dfa84d8479f1eb312d" | |
| APP_NAME="code" |
| #!/usr/bin/env sh | |
| # | |
| # Copyright (c) Microsoft Corporation. All rights reserved. | |
| # Licensed under the MIT License. See License.txt in the project root for license information. | |
| if [ "$VSCODE_WSL_DEBUG_INFO" = true ]; then | |
| set -x | |
| fi | |
| COMMIT="abd2f3db4bdb28f9e95536dfa84d8479f1eb312d" | |
| APP_NAME="code" |
| #!/bin/bash -e | |
| # Generates a detached tmate session, perfect to debug pipelines in-line | |
| tmate -S /tmp/tmate.sock new-session -d | |
| tmate -S /tmp/tmate.sock wait tmate-ready | |
| tmate -S /tmp/tmate.sock display -p '#{tmate_ssh}' | |
| tmate -S /tmp/tmate.sock wait-for new-session |
https://docs.google.com/presentation/d/17Zpy5fZQsWsoZBhisA3rQiZy_JrK9MPR_HdgAisQ9XI/edit?usp=sharing
- Meta Issue: Remove jQuery UI components used by Drupal core and replace with a set of supported solutions
- Tabbable: So close!
- Autocomplete: ~80% done? It works and there are tests. The functionality needs to be moved to an NPM package similar to once() and needs heavy review.
- [Provide a new library to replace jQuery UI autocomplete}(https://www.drupal.org/project/drupal/issues/3076171) depends on (but not necessarily blocked by):
- Address jQuery UI position dependency
- Dialog ~50% done? It works, but needs refactoring and test coverage.
If you haven't heard about it, there is an important event scheduled for May 22 & 23, 2020 to do mass porting of Drupal 8 modules and themes to Drupal 9.
The following a set of instructions will show you how to contribute to that effort.
For a more detailed detailed account please see Kristen Pol's blog post, Preparing yourself for Drupal 9 porting weekend.
- First thing to do, of course, is to install Drupal 8 - the recommended way is to use composer. For alternative setups, see @mradcliffe comment below.
| <?php | |
| namespace Drupal\custom_commerce_recurring; | |
| use Drupal\commerce_order\Entity\OrderInterface; | |
| use Drupal\commerce_recurring\RecurringOrderManager as BaseRecurringOrderManager; | |
| use Drupal\commerce_recurring\RecurringOrderManagerInterface; | |
| use Drupal\Component\Datetime\TimeInterface; | |
| use Drupal\Core\Entity\EntityTypeManagerInterface; |
I have had a few requests for more information about using Lando with Drupal 8, the Emulsify theme and Gulp. In order to put what I've learned in one place, I'm adding my notes here.
My initial problem was reported here, but since then I have discovered a few additional things worth noting.
Once you have a working site on Lando and are ready to install Emulsify use the following directions instead of what has provided by the Emulsify developers. These instructions assume you have used Composer to install Drupal and that the root Drupal files are in the /web directory.
NOTE: To follow these instructions, you will need to run NPM commands from your host machine, which means you must have Node and NPM installed. Fortunately, they are installed together in one installation. If you wish to confirm you have them installed, run node -v and npm -v. To install, visit nodejs.org and follow the i