Debugger entered--Lisp error: (wrong-type-argument consp nil)
json-serialize((:jsonrpc "2.0" :method "workspace/didChangeConfiguration" :params (:settings #<hash-table equal 1/65 0x1430c35>)) :null-object nil :false-object :json-false)
lsp--make-message((:jsonrpc "2.0" :method "workspace/didChangeConfiguration" :params (:settings #<hash-table equal 1/65 0x1430c35>)))
#f(compiled-function (it) #<bytecode 0x1430d25>)(#s(lsp--workspace :ewoc #s(ewoc :buffer #<buffer *lsp-log: groovy-ls:403828*> :pretty-printer lsp--log-entry-pp :header [[[[... #5 ... #<marker at 4728 in *lsp-log: groovy-ls:403828*>] #4 "" #<marker at 4923 in *lsp-log: groovy-ls:403828*>] #3 DL-LIST #<marker at 4923 in *lsp-log: groovy-ls:403828*>] [#3 [#4 [#5 ... ... #<marker at 4658 in *lsp-log: groovy-ls:403828*>] #s(lsp--log-entry :timestamp "12:35:56 " :process-time 434 :type incoming-resp :method "initialize" :id 5 :body #<hash-table equal 1/1 0x13e1e09>) #<marker at 4084 in *lsp-log: groovy-ls:403828*>] #s(lsp--log-entry :timesta
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
-module(epgsql). | |
-export_type([connect_opts/0]). | |
-type connect_opts() :: foo:bar(). %% unknown type here |
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
foo.erl:5:1: Function plus_one/1 has no local return | |
foo.erl:6:5: The call erlang:'+' | |
(X :: [103 | 105 | 110 | 114 | 115 | 116, ...], | |
1) will never return since it differs in the 1st argument from the success typing arguments: | |
(number(), | |
number()) |
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
plus_one(X) -> | |
X + 1. | |
main() -> | |
plus_one("string"). |
Until these commands are in my muscle memory, I keep them here. C-b
means, of course, the prefix key.
C-b %
split pane vertically (into a left and right pane)C-b "
split pane horizontaly (into an upper and a lower pane)C-b <arrowkey>
switch to another paneC-b C-<arrowkey>
enlarge the current paneC-b q
show pane numbers (press key to jump to pane)
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
# Commands to create a case-insensitive NTFS-filesystem on linux | |
# Disclaimer: run these commands at you own risk! | |
# Create the image file. Adjust size to your liking. | |
dd if=/dev/zero of=fs.img bs=1G count=40 | |
# Create the NTFS file system. -F flag is necessary to make mkfs.ntfs accept | |
# that fs.img is not a block device. | |
mkfs.ntfs -F fs.img |
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
# | |
# Installation instructions for Nokogiri can be found at | |
# http://nokogiri.org/tutorials/installing_nokogiri.html | |
require 'nokogiri' | |
# | |
# Usage: ruby #{$0} /path/to/MyFinds.gpx | |
if ARGV.size == 0 | |
puts "Usage: ruby #{$0} /path/to/MyFinds.gpx" | |
exit 1 |
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
# | |
# Installation instructions for Nokogiri can be found at | |
# http://nokogiri.org/tutorials/installing_nokogiri.html | |
require 'nokogiri' | |
# | |
# Usage: ruby xmas-challenge.rb /path/to/MyFinds.gpx | |
if ARGV.size == 0 | |
puts "Usage: ruby #{$0} /path/to/MyFinds.gpx" | |
exit 1 |