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
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
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
[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
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
module Ch19RWS where | |
import Prelude | |
import Data.Tuple (Tuple(..)) | |
import Effect (Effect) | |
import Effect.Console (log) | |
-- rewrite Reader, Writer and State data types which are monads for your own reference | |
-- you might want to comment out the code |
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 Ch19SomeManyCombinators where | |
import Prelude | |
import Control.Alt (class Alt, (<|>)) | |
import Control.Lazy (class Lazy, defer) | |
import Data.Array as A | |
import Data.CodePoint.Unicode (isDecDigit, isAlpha) | |
import Data.Either (Either(..)) | |
import Data.Generic.Rep (class Generic) | |
import Data.Maybe (Maybe(..)) |
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 Ch19DateParser where | |
import Prelude | |
import Control.Alt (class Alt, (<|>)) | |
import Data.Array (cons) | |
import Data.CodePoint.Unicode (isDecDigit, isAlpha) | |
import Data.Either (Either(..)) | |
import Data.Generic.Rep (class Generic) | |
import Data.Int (fromString) | |
import Data.Maybe (Maybe(..), fromMaybe) |
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 Ch19Parser where | |
import Prelude | |
import Data.Either (Either(..)) | |
import Data.Maybe (Maybe(..)) | |
import Data.Tuple (Tuple(..)) | |
import Data.Array as A | |
import Data.Unfoldable as U | |
import Data.Traversable (class Traversable, sequence) | |
import Data.Generic.Rep (class Generic) |