ambient cold chicken demo with laggy input - it got much worse at points, felt like almost a full second delay between mouse and view
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set noeb vb t_vb= | |
set lines=999 columns=999 | |
set guioptions-=m "remove menu bar | |
set guioptions-=T "remove toolbar | |
set guioptions-=r "remove right-hand scroll bar | |
set guioptions-=L "remove left-hand scroll bar | |
set guifont=Consolas:h12:cANSI | |
colorscheme Distinguishe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react' | |
import chai, { expect } from 'chai' | |
import { mount } from 'enzyme' | |
import chaiEnzyme from 'chai-enzyme' | |
chai.use(chaiEnzyme()) | |
import sinon from 'sinon' | |
class FormComponent extends Component { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set tabstop=4 softtabstop=0 expandtab shiftwidth=4 smarttab | |
set nocompatible | |
set number | |
source $VIMRUNTIME/vimrc_example.vim | |
source $VIMRUNTIME/mswin.vim | |
behave mswin | |
set backupdir=~/.vim/backup// | |
set directory=~/.vim/swap// | |
set undodir=~/.vim/undo// | |
set formatoptions+=l |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
open System | |
open System.Diagnostics | |
type KnownProcess = | |
{ pid : int | |
name : string | |
path: string | |
} | |
static member Show (x: KnownProcess) = |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local wezterm = require 'wezterm' | |
local color_default_fg_light = wezterm.color.parse("#cacaca") -- 💩 | |
local color_default_fg_dark = wezterm.color.parse("#303030") | |
return { | |
VERIDIAN = { | |
bg = wezterm.color.parse("#4D8060"), | |
fg = color_default_fg_light | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local function pipe(val) | |
return setmetatable({ val = val }, { | |
__index = function(_, fn) | |
return pipe(fn(val)) | |
end, | |
__unm = function(x) | |
return x.val | |
end | |
}) | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local function notify(text) | |
vim.loop.new_tty(2, false):write('\x1b]9;' .. text .. '\07') | |
end | |
notify('hey') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local port = os.getenv('GDScript_Port') or '6005' | |
local pipe = [[\\.\pipe\godot.pipe]] | |
vim.lsp.start({ | |
name = 'Godot', | |
cmd = vim.lsp.rpc.connect('127.0.0.1', port), | |
root_dir = vim.fs.root(0, {'project.godot', '.git'}), | |
on_attach = function() | |
if not vim.tbl_contains(vim.fn.serverlist(), pipe) then | |
vim.fn.serverstart(pipe) |