All examples are taken directly from: ~/programs/electric/packages/typescript-client/test
import { defineConfig } from 'vitest/config'
export default defineConfig({| #!/bin/sh | |
| # This script is for installing the latest version of Turso CLI on your machine. | |
| set -e | |
| # Terminal ANSI escape codes. | |
| reset="\033[0m" | |
| bright_blue="${reset}\033[34;1m" |
I'm still very new to Kafka, eventsourcing, stream processing, etc. I'm in the middle of building my first production system with this stuff and am writing this at the request of a few folks on Twitter. So if you do have experience, please do me and anyone else reading this a favor by pointing out things I get wrong :)
| let mapleader = ',' | |
| if empty(glob('~/.vim/autoload/plug.vim')) | |
| silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs | |
| \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim | |
| autocmd VimEnter * PlugInstall --sync | source $MYVIMRC | |
| endif | |
| call plug#begin('~/.config/nvim/plugged') |
| // Available variables: | |
| // - Machine | |
| // - interpret | |
| // - assign | |
| // - send | |
| // - sendParent | |
| // - spawn | |
| // - raise | |
| // - actions |
| import React from "react" | |
| import { render, Static, Box, Color, Text } from "ink" | |
| import BigText from "ink-big-text" | |
| import BBox from "ink-box" | |
| import TextInput from "ink-text-input" | |
| import { Tabs, Tab } from "ink-tab" | |
| import _ from "lodash" | |
| const purple = [102, 51, 153] | |
| const hexPurple = `#663399` |
| @import "modular-scale"; | |
| @import "functions"; | |
| $base-font-size: 16px; | |
| $base-line-height: 24px; | |
| $rhythm-unit: "rem"; | |
| // Setup vertical rhythm | |
| @include establish-baseline; |
| diff --git a/packages/gatsby-recipes/src/gui.js b/packages/gatsby-recipes/src/gui.js | |
| index a7baf92b1..378477678 100644 | |
| --- a/packages/gatsby-recipes/src/gui.js | |
| +++ b/packages/gatsby-recipes/src/gui.js | |
| @@ -26,6 +26,7 @@ const { | |
| defaultExchanges, | |
| subscriptionExchange, | |
| } = require(`urql`) | |
| +const UrqlProvider = Provider | |
| const { SubscriptionClient } = require(`subscriptions-transport-ws`) |
| # install git | |
| sudo apt-get install g++ curl libssl-dev apache2-utils make | |
| sudo apt-get install git-core | |
| # download the Node source, compile and install it | |
| cd /opt | |
| git clone https://github.com/joyent/node.git | |
| cd node | |
| git checkout v0.6 | |
| ./configure |