| import {Controller} from '@hotwired/stimulus' | |
| import {Editor} from "@tiptap/core" | |
| import {Mention} from "@tiptap/extension-mention"; | |
| import StarterKit from "@tiptap/starter-kit" | |
| export default class extends Controller { | |
| static targets = ['input', 'suggestions'] | |
| connect() { | |
| this.editor = new Editor({ |
| # Computer Science Concepts for Business People | |
| # Using Trading, Business, and Monopoly Analogies in Ruby | |
| puts "=" * 60 | |
| puts "PART 1: BASIC DATA STRUCTURES" | |
| puts "=" * 60 | |
| # ========================================== | |
| # 1. ARRAYS - Like a Filing Cabinet | |
| # ========================================== |
| version: "3.8" | |
| services: | |
| elasticsearch: | |
| image: docker.elastic.co/elasticsearch/elasticsearch:7.17.10 | |
| container_name: search-server | |
| ports: | |
| - "9200:9200" | |
| environment: | |
| - discovery.type=single-node | |
| - cluster.name=mecha |
https://joshuajohnson.co.uk/Choices/
Soon, this will be published as an NPM package, but there's an absence of documentation right now. It supports almost all functions from the original library; soon it will support 100% of them.
This wrapper adds Ajax pre-fetch search. Happens if controller has a data-search-path attribute.
Stimulus controller targets use new v2 syntax. Controller attaches a reference to itself on the element so that you can access the internal state from external scripts.
| FROM gitpod/workspace-full | |
| # Install Ruby | |
| ENV RUBY_VERSION=3.1.2 | |
| RUN echo "rvm_gems_path=/home/gitpod/.rvm" > ~/.rvmrc | |
| RUN bash -lc "rvm install ruby-$RUBY_VERSION && rvm use ruby-$RUBY_VERSION --default" | |
| RUN echo "rvm_gems_path=/workspace/.rvm" > ~/.rvmrc | |
| # Install Node and Yarn |
| class Post < ActiveRecord::Base | |
| # for SO: http://stackoverflow.com/questions/10481389/friendly-id-with-two-parameters | |
| # EXAMPLE ASSUMES YOU ARE USING FRIENDLYID 4.X | |
| # AND THAT YOU HAVE A SLUG:STRING COLUMN ON THE MODEL | |
| # ... | |
| extend FriendlyId | |
| friendly_id :generate_custom_slug, :use => :slugged | |
| # ... |
It is loaded by default by /Library/LaunchAgents/com.adobe.AdobeCreativeCloud.plist.
If you run
launchctl unload -w /Library/LaunchAgents/com.adobe.AdobeCreativeCloud.plist
This is a quick guide for installing memcached on a Mac with Homebrew, and starting and stopping it with Lunchy. I hope this tutorial will get your memcached up and running in no time.
Installing Homebrew is super easy. Just paste this in your terminal —
$ ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"| <template> | |
| <span>World</span> | |
| </template> | |
| <script> | |
| module.exports = { | |
| mounted () { | |
| console.log('Hello World') | |
| } | |
| } |