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 Ch21 where | |
import Prelude | |
import Control.Monad.Error.Class (class MonadError, class MonadThrow, catchError, throwError) | |
import Control.Monad.Except.Trans (ExceptT, runExceptT) | |
import Control.Monad.Reader.Class (class MonadAsk, ask) | |
import Control.Monad.State.Class (class MonadState, get, put) | |
import Control.Monad.Trans.Class (class MonadTrans, lift) | |
import Control.Monad.Writer.Class (class MonadTell, tell) |
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
[WARN][2022-02-23 15:41:50] ...lsp/handlers.lua:406 "Found multiple IDE server executables; using node_modules/.bin/purs" | |
[WARN][2022-02-23 15:44:08] .../lua/vim/lsp.lua:751 "server_request: no handler found for" "workspace/semanticTokens/refresh" | |
[WARN][2022-02-23 15:44:08] .../lua/vim/lsp.lua:751 "server_request: no handler found for" "workspace/semanticTokens/refresh" | |
[WARN][2022-02-23 15:44:08] .../lua/vim/lsp.lua:751 "server_request: no handler found for" "workspace/semanticTokens/refresh" | |
[WARN][2022-02-23 15:44:08] .../lua/vim/lsp.lua:751 "server_request: no handler found for" "workspace/semanticTokens/refresh" | |
[START][2022-02-23 15:44:38] LSP logging initiated | |
[INFO][2022-02-23 15:44:38] .../vim/lsp/rpc.lua:261 "Starting RPC client" { args = { "--stdio" }, cmd = "purescript-language-server", extra = { cwd = "/home/schmidh/Gitrepos/qqqq", env = { PATH = "/home/schmidh/.local/share/nvim/lsp_servers/purescript/node_modules/.bin:./node_modules/.bin/:/home/schmidh/.npm/bin:/home/schmidh/.carg |
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
let upstream = | |
https://github.com/purerl/package-sets/releases/download/erl-0.15.3-20220629/packages.dhall | |
sha256:48ee9f3558c00e234eae6b8f23b4b8b66eb9715c7f2154864e1e425042a0723b | |
in upstream |
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
sdkmanager --list | |
sdkmanager "system-images;android-34;google_apis;x86_64" | |
avdmanager create avd -n tst -k "system-images;android-34;google_apis;x86_64" | |
flutter emulators | |
flutter emulators --launch tst | |
flutter devices | |
flutter run -d emulator-5554 | |
avdmanager list | |
avdmanager create avd -n galaxy -k "system-images;android-34;google_apis;x86_64" -d 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
# https://gitlab.archlinux.org/archlinux/packaging/packages/raylib/-/blob/main/PKGBUILD | |
git clone https://github.com/raysan5/raylib.git | |
cmake -B build -D BUILD_EXAMPLES=OFF -D BUILD_SHARED_LIBS=ON -D CMAKE_BUILD_TYPE=Release -D CMAKE_C_FLAGS="$CFLAGS -fPIC -w" -D CMAKE_INSTALL_LIBDIR=lib -D CMAKE_INSTALL_PREFIX=/usr -D OpenGL_GL_PREFERENCE=GLVND -D PLATFORM=Desktop -D USE_EXTERNAL_GLFW=OFF -D WITH_PIC=ON -G Ninja -S raylib -W no-dev | |
ninja -C build | |
sudo ninja -C build install |
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
require 'fdb' | |
FDB.api_version 730 | |
#################################### | |
## Initialization ## | |
#################################### | |
# Data model: | |
# ['attends', student, class] = '' |
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
splitChars := {Character space . Character lf . $, . $. . $! . $? . $' . $: . $; . $- . $_ . $? . $! . $´}. | |
rawWords := 'hamlet.txt' asFileReference contents substrings: splitChars. | |
words := rawWords collect: [:word | word asLowercase trimBoth] thenSelect: [:word | word size > 3 ]. | |
words asBag sortedCounts. |
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
index := FFITutorial createIndex: 0 display: 0. | |
tu := FFITutorial parseTranslationUnit: 'tst.h' index: index | |
'tst.h' asFileReference absolutePath | |
'tst.h' asFileReference contents | |
"struct foo { | |
int bar; | |
int *bar_pointer; | |
}; |
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
# Enable the subsequent settings only in interactive sessions | |
case $- in | |
*i*) ;; | |
*) return ;; | |
esac | |
# Path to your oh-my-bash installation. | |
export OSH='/home/schmidh/.oh-my-bash' | |
# Set name of the theme to load. Optionally, if you set this to "random" |