Skip to content

Instantly share code, notes, and snippets.

@dsisnero
dsisnero / development.log
Last active January 16, 2024 20:08
development.log
{"level":"info","msg":"language: en-US","time":"2024-01-16T12:23:19-07:00"}
{"command":"git --version","level":"debug","msg":"RunCommand","time":"2024-01-16T12:23:19-07:00"}
{"level":"info","msg":"git --version (279.4195ms)","time":"2024-01-16T12:23:19-07:00"}
{"command":"git rev-parse --git-dir","level":"debug","msg":"RunCommand","time":"2024-01-16T12:23:19-07:00"}
{"level":"info","msg":"git rev-parse --git-dir (268.7094ms)","time":"2024-01-16T12:23:20-07:00"}
{"command":"git rev-parse --is-bare-repository","level":"debug","msg":"RunCommand","time":"2024-01-16T12:23:20-07:00"}
{"level":"info","msg":"git rev-parse --is-bare-repository (263.753ms)","time":"2024-01-16T12:23:20-07:00"}
{"level":"info","msg":"starting main loop","time":"2024-01-16T12:23:20-07:00"}
{"level":"info","msg":"Updating is currently not supported for windows until we can fix permission issues","time":"2024-01-16T12:23:20-07:00"}
{"command":"git rev-parse --is-bare-repository","level":"debug","msg":"RunCommand","time":"2024-01-16T12:23:20
2024/01/16 12:58:19 An error occurred! Please create an issue at: https://github.com/jesseduffield/lazygit/issues
*errors.errorString The system cannot find the path specified.
E:/windows_home/.cache/go/mod/github.com/jesseduffield/lazygit@v0.40.2/pkg/commands/oscommands/cmd_obj_runner.go:200 (0xfdaa14)
sanitisedCommandOutput: return outputString, errors.New(outputString)
E:/windows_home/.cache/go/mod/github.com/jesseduffield/lazygit@v0.40.2/pkg/commands/oscommands/cmd_obj_runner.go:107 (0xfd9a9c)
(*cmdObjRunner).RunWithOutputAux: output, err := sanitisedCommandOutput(cmdObj.GetCmd().CombinedOutput())
E:/windows_home/.cache/go/mod/github.com/jesseduffield/lazygit@v0.40.2/pkg/commands/oscommands/cmd_obj_runner.go:45 (0xfd9176)
(*cmdObjRunner).Run: _, err := self.RunWithOutputAux(cmdObj)
@dsisnero
dsisnero / request_helpers.rb
Created October 12, 2023 11:37 — forked from dogweather/request_helpers.rb
Use CSS Selectors in RSpec Request Specs
def css(selector)
html.css(selector).text
end
def html
Nokogiri::HTML(response.body)
end
@dsisnero
dsisnero / Makefile
Created May 24, 2023 20:27 — forked from straight-shoota/Makefile
Makefile for Crystal + Shards
-include Makefile.local # for optional local options
DOC_SOURCE ::= src/**
BUILD_TARGET ::= bin/app
# The shards command to use
SHARDS ?= shards
# The crystal command to use
CRYSTAL ?= crystal
��
@dsisnero
dsisnero / neovim_eval_ruby.rb
Created November 18, 2022 00:01 — forked from mctaylorpants/neovim_eval_ruby.rb
EvalRuby plugin for Neovim
# EvalRuby: Run Ruby without leaving Neovim
#
# Usage:
# - While on a line of Ruby, or in Visual mode
# with multiple lines selected, type :EvalRuby.
#
# Installation:
# 1. Install neovim-ruby: https://github.com/neovim/neovim-ruby
#
# 2. Put this file in your plugins directory
@dsisnero
dsisnero / hawthjit.rb
Created September 15, 2022 04:23 — forked from jhawthorn/hawthjit.rb
A "MJIT Custom Compiler" JIT in ~100 lines of Ruby
# $ ruby -v
# ruby 3.2.0dev (2022-09-11T14:08:14Z master 684353fc03) [x86_64-linux]
# $ ruby --mjit=pause --mjit-wait --mjit-min-calls=5 hawthjit.rb
# 246
# 246
# 246
# 246
# attempting to compile block in <main>
# can't compile putself
# attempting to compile double
@dsisnero
dsisnero / .travis.yml
Created September 7, 2022 20:27 — forked from LukeMathWalker/.travis.yml
Travis CI - Rust setup
language: rust
cache: cargo
rust:
- stable
before_cache: |
cargo install cargo-tarpaulin
before_script:
- rustup component add rustfmt
- rustup component add clippy
- cargo install cargo-audit
@dsisnero
dsisnero / audit-on-push.yml
Created September 7, 2022 20:27 — forked from LukeMathWalker/audit.yml
GitHub Actions - Rust setup
name: Security audit
on:
push:
paths:
- '**/Cargo.toml'
- '**/Cargo.lock'
jobs:
security_audit:
runs-on: ubuntu-latest
steps:
@dsisnero
dsisnero / gem_make.out
Created March 15, 2022 17:46
numo-blis errors
current directory: F:/windows/tools/ruby/Ruby31-x64/lib/ruby/gems/3.1.0/gems/numo-blis-0.3.0/ext/numo/blis
F:/windows/tools/ruby/Ruby31-x64/bin/ruby.exe -I F:/windows/tools/ruby/Ruby31-x64/lib/ruby/site_ruby/3.1.0 -r ./siteconf20220315-41112-tck1ez.rb extconf.rb
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir