This file contains hidden or 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
FROM alpine as alpine-ocaml | |
RUN apk add --no-cache make gcc musl-dev libstdc++ ocaml opam yarn npm nodejs perl autoconf binutils alpine-sdk m4 build-base libtool automake git openssh | |
RUN mkdir /workdir | |
WORKDIR /workdir | |
# Build | |
FROM alpine-ocaml as esy-build | |
RUN git clone https://github.com/superherointj/esy-musl.git ./ | |
#RUN make bootstrap |
This file contains hidden or 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
! urxvt | |
URxvt.iconFile: /usr/share/icons/terminal.svg | |
URxvt*geometry: 115x40 | |
!URxvt*font: xft:Liberation Mono:pixelsize=14:antialias=false:hinting=true | |
!MesloLGL-Bold.ttf | |
URxvt*font: xft:Monaco:pixelsize=14:antialias=true:hinting=true | |
URxvt*boldFont: xft:Monaco:bold:pixelsize=14:antialias=true:hinting=true |
This file contains hidden or 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
# ~/.bashrc | |
# If not running interactively, don't do anything | |
[[ $- != *i* ]] && return | |
# Git Prompt on Bash | |
source ~/.scripts/git-prompt.sh | |
### Terminal UserPrompt Colors #### | |
RESET="\[$(tput sgr0)\]" |
This file contains hidden or 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
info esy 0.6.4 (using package.json) | |
info building [email protected]@d41d8cd9 | |
error: build failed with exit code: 1 | |
build log: | |
# esy-build-package: building: [email protected] | |
# esy-build-package: pwd: /home/intj/.esy/3/b/ocaml-4.9.0-031bf83c | |
# esy-build-package: running: './esy-configure' '--disable-cfi' '--prefix' '/home/intj/.esy/3_____________________________________________________________________/s/ocaml-4.9.0-031bf83c' | |
[esy-configure] Detected OSX / Linux environment | |
configure: Configuring OCaml version 4.09.0 | |
checking build system type... x86_64-pc-linux-gnu |
This file contains hidden or 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
# Unformatted Error Output: | |
# File "lib/RunTests.re", line 2, characters 0-27: | |
# Error: Unbound module BatciTest | |
# Hint: Did you mean BatciTests? | |
ERROR lib/RunTests.re:2 0-27 | |
1 ┆ /* RunTests.re */ | |
2 ┆ BatciTest.TestFramework.cli(); | |
Module BatciTest; not found in included libraries. | |
Hint: did you mean BatciTests? | |
ocamlc lib/.BatciTestE2E.objs/byte/batciTestE2E__TestUtils.{cmi,cmo,cmt} (exit 2) |
This file contains hidden or 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
(executable | |
(name lwt_demo1) | |
(public_name lwt_demo1.exe) | |
(libraries rresult lwt lwt.unix) | |
(preprocess (pps lwt_ppx)) | |
(flags (:standard -warn-error -22)) | |
) |
This file contains hidden or 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
(* Functor example *) | |
module type Dog = sig | |
val barks : bool | |
end;; | |
module type Animal = sig (* Shouldn't `Animal` module/functor have some parameter in it's signature??? *) | |
val approach : unit -> string | |
end;; |
This file contains hidden or 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
# File: /etc/X11/xorg.conf.d/10-monitor.conf | |
# How can I configure this in NixOS? | |
Section "Monitor" | |
Identifier "DP3" | |
Option "Primary" "true" | |
EndSection | |
Section "Monitor" | |
Identifier "LVDS1" |
This file contains hidden or 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
{ config, pkgs, ... }: | |
{ | |
imports = | |
[ # Include the results of the hardware scan. | |
./hardware-configuration.nix | |
]; | |
boot.loader.grub.enable = false; | |
boot.loader.generic-extlinux-compatible.enable = true; |
This file contains hidden or 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
# Hello. I've have installed an eMMC (128MB) card to my RockPro64. There is 'mmcblk1' and 'mmcblk1boot0' and 'mmcblk1boot'. I wonder if it is all related. And If I should be afraid of doing something stupid here. If I | |
[intj@k1:~]$ lsblk -f | |
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINT | |
mtdblock0 | |
mmcblk0 | |
└─mmcblk0p2 ext4 1.0 NIXOS_SD 44444444-4444-4444-8888-888888888888 14.3G 46% / | |
mmcblk1 exfat 1.0 B08B-E92A | |
mmcblk1boot0 |