Skip to content

Instantly share code, notes, and snippets.

@psibi
psibi / dtruss_log3.txt
Created June 17, 2022 03:22
dtruss_log3
dtrace: system integrity protection is on, some features will not be available
PID/THRD SYSCALL(args) = return
Initiating Stack integration test running
Using stack located at /Users/ec2-user/.local/bin/stack
Version 2.7.6, Git revision 2ca42d14d5f699dd9fe1cf13c66bf95cfb6b7c0e (8605 commits) RELEASE-CANDIDATE x86_64
Compiled with:
- Cabal-3.6.3.0
- Cabal-syntax-3.6.0.0
- Glob-0.10.2
@psibi
psibi / dtruss_log2.txt
Created June 16, 2022 15:57
Dtruss log 2
dtrace: system integrity protection is on, some features will not be available
PID/THRD SYSCALL(args) = return
Initiating Stack integration test running
stack-integration-test: Executable named runghc not found on path: ["/usr/local/bin","/usr/bin","/bin","/usr/sbin","/sbin"]
7508/0x2f6ce2: fork() = 0 2
7508/0x2f6ce2: open("/dev/dtracehelper\0", 0x2, 0x0) = 3 0
7508/0x2f6ce2: ioctl(0x3, 0x80086804, 0x7FFEE88D7A40) = 0 0
7508/0x2f6ce2: close(0x3) = 0 0
7508/0x2f6ce2: mprotect(0x10752B000, 0x14000, 0x1) = 0 0
7508/0x2f6ce2: access("/AppleInternal/XBS/.isChrooted\0", 0x0, 0x0) = -1 2
@psibi
psibi / dtruss.txt
Created June 16, 2022 13:18
dtruss_process_log
dtrace: system integrity protection is on, some features will not be available
SYSCALL(args) = return
Initiating Stack integration test running
Using stack located at /Users/ec2-user/.local/bin/stack
Version 2.7.6, Git revision 2ca42d14d5f699dd9fe1cf13c66bf95cfb6b7c0e (8605 commits) RELEASE-CANDIDATE x86_64
Compiled with:
- Cabal-3.6.3.0
- Cabal-syntax-3.6.0.0
- Glob-0.10.2
- OneTuple-0.3.1
@psibi
psibi / xmobar.org
Last active June 9, 2020 17:50
ZuriHac 2020 Xmobar ideas

You could pick up any tasks in the issue tracker. But I’m putting some tasks here on this gist for easy accessibility:

Intermediate/Advanced tasks

@psibi
psibi / log.txt
Created April 20, 2020 16:56
xmobar strace log
recvmsg(10, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\16\0\323\0\3\0\200\2\0\0>\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 64
futex(0x197b7ec, FUTEX_WAIT_PRIVATE, 0, NULL) = 0
futex(0x197b7f0, FUTEX_WAKE_PRIVATE, 1) = 0
rt_sigprocmask(SIG_BLOCK, [INT QUIT USR1 USR2 TERM], [], 8) = 0
clock_gettime(CLOCK_PROCESS_CPUTIME_ID, {tv_sec=0, tv_nsec=25686386}) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
futex(0x197bb0c, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x197bb10, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x6b8948, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x197b7e8, FUTEX_WAIT_PRIVATE, 0, NULL) = -1 EAGAIN (Resource temporarily unavailable)
@psibi
psibi / repo.hs
Created July 6, 2019 19:54
repo.hs
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE ScopedTypeVariables #-}
module Pantry.Repo
( fetchReposRaw
, fetchRepos
, getRepo
, getRepoKey
, createRepoArchive
, withRepoArchive
@psibi
psibi / lineage_install.md
Last active November 11, 2019 09:28
Lineage os
@psibi
psibi / keybase.md
Created April 26, 2018 18:55
keybase.md

Keybase proof

I hereby claim:

  • I am psibi on github.
  • I am sibi (https://keybase.io/sibi) on keybase.
  • I have a public key whose fingerprint is A241 B3D6 F4FD D40D D7DE B1C6 D19E 3E0E BB55 7613

To claim this, I am signing this object:

@psibi
psibi / inner_join.hs
Created April 12, 2017 14:34
inner_join.hs
#!/usr/bin/env stack
{- stack
--resolver lts-6.24
--install-ghc
runghc
--package yesod
--package blaze-html
--package persistent
--package text
--package bytestring
@psibi
psibi / HSbouncycastle-0.1.0.0.jar
Created January 22, 2017 14:25
/home/sibi/github/bouncycastle/dist/build/HSbouncycastle-0.1.0.0.jar
M Filemode Length Date Time File
- ---------- -------- ----------- -------- -------------------------------------------------------------------------------------------------------
-rw-rw-rw- 1559 22-Jan-2017 12:09:08 bouncycastlezm0zi1zi0zi0/ThreeFishEngine$getLong.class
-rw-rw-rw- 735 22-Jan-2017 12:09:08 bouncycastlezm0zi1zi0zi0/ThreeFishEngine$threeFishProcessBlock.class
-rw-rw-rw- 1286 22-Jan-2017 12:09:08 bouncycastlezm0zi1zi0zi0/ThreeFishEngine$zdLr2YKa.class
-rw-rw-rw- 668 22-Jan-2017 12:09:08 bouncycastlezm0zi1zi0zi0/ThreeFishEngine$zdwccall.class
-rw-rw-rw- 799 22-Jan-2017 12:09:08 bouncycastlezm0zi1zi0zi0/ThreeFishEngine.class
-rw-rw-rw- 448 22-Jan-2017 12:09:08 eta/bouncycastle/Utils.class
-rw-rw-rw- 5865 22-Dec-2016 12:21:40 meta-inf/bckey.dsa
-rw-rw-rw- 367678 22-Dec-2016 12:21:40 meta-inf/bckey.sf