Skip to content

Instantly share code, notes, and snippets.

View avsm's full-sized avatar
💭
never gonna git u up, never gona git u down, never gonna turn around and reset u

Anil Madhavapeddy avsm

💭
never gonna git u up, never gona git u down, never gonna turn around and reset u
View GitHub Profile
@avsm
avsm / foo.txt
Created August 24, 2022 19:23
tzprofiles attestation
View foo.txt
I am attesting that this GitHub handle avsm is linked to the Tezos account tz2BEXRGvwxHWMYktXmtdui3rsHZRMuzuJH6 for tzprofiles
sig:spsig1VYSvZrEBXvzhud29SjjWtgS43yLDdVhG2knHpkzrgnmF3JBGWKJNmhD7ChcntA89WSeLW5BxYvxojgBnK3CFj9KPshqKb
View gist:ccc8df73da9c914d0820ab97cec19775
I am attesting that this GitHub handle avsm is linked to the Tezos account tz2BEXRGvwxHWMYktXmtdui3rsHZRMuzuJH6 for tzprofiles
sig:spsig1VYSvZrEBXvzhud29SjjWtgS43yLDdVhG2knHpkzrgnmF3JBGWKJNmhD7ChcntA89WSeLW5BxYvxojgBnK3CFj9KPshqKb
View gist:49abceccedc7e0973a4e4bbb7acdbb73
I am attesting that this GitHub handle avsm is linked to the Tezos account tz2BEXRGvwxHWMYktXmtdui3rsHZRMuzuJH6 for tzprofiles
sig:spsig1VYSvZrEBXvzhud29SjjWtgS43yLDdVhG2knHpkzrgnmF3JBGWKJNmhD7ChcntA89WSeLW5BxYvxojgBnK3CFj9KPshqKb
View bigarray-mapfile-grep.txt
batteries.2.9.0/src/batBigarray.mliv: val map_file:
batteries.2.9.0/src/batBigarray.mliv: [Genarray.map_file fd kind layout shared dims]
batteries.2.9.0/src/batBigarray.mliv: [Genarray.map_file] is much more efficient than reading
batteries.2.9.0/src/batBigarray.mliv: [-1]. [Genarray.map_file] then determines the major dimension
batteries.2.9.0/src/batBigarray.mliv: val map_file: Unix.file_descr -> ?pos:int64 -> ('a, 'b) kind -> 'c layout ->
batteries.2.9.0/src/batBigarray.mliv: See {!Bigarray.Genarray.map_file} for more details. *)
batteries.2.9.0/src/batBigarray.mliv: val map_file: Unix.file_descr -> ?pos:int64 -> ('a, 'b) kind -> 'c layout ->
batteries.2.9.0/src/batBigarray.mliv: See {!Bigarray.Genarray.map_file} for more details. *)
batteries.2.9.0/src/batBigarray.mliv: val map_file: Unix.file_descr -> ?pos:int64 -> ('a, 'b) kind -> 'c layout ->
batteries.2.9.0/src/batBigarray.mliv: See {!Bigarray.Genarray.map_file} for more details. *)
@avsm
avsm / no-jbuild.txt
Created July 5, 2017 15:03
MirageOS JBuilder progress
View no-jbuild.txt
alcotest.0.7.2
arp.0.2.0
asn1-combinators.0.1.3
astring.0.8.3
biniou.1.0.13
bisect_ppx.1.2.0
bos.0.1.6
camomile.0.8.5
cmdliner.1.0.0
cohttp.0.22.0
View gist:1d6c3bf85a3eed13f79f330da7da6f28
#!/bin/sh
sudo add-apt-repository 'deb http://llvm.org/apt/precise/ llvm-toolchain-precise-3.9 main'
curl -L http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add -
sudo apt-get update
sudo apt-get -y install llvm-3.9-dev
@avsm
avsm / Mirage in October
Created November 2, 2016 16:05
Mirage relevant releases in October 16
View Mirage in October
# This month in Mirage OPAM releases (Wed Nov 02 2016)
### scrypt-kdf 0.2.0
* *Released on:* Mon Oct 31 2016
* *Synopsis*: The scrypt Password-Based Key Derivation Function in pure OCaml
* *More Info*: [OPAM Page](https://opam.ocaml.org/packages/scrypt-kdf/scrypt-kdf.0.2.0/) or [Source Code](https://github.com/abeaumont/ocaml-scrypt-kdf/archive/0.2.0.tar.gz)
* *Changes*: [changes-scrypt-kdf.txt](#file-changes-scrypt-kdf-txt)
### topkg-care 0.8.0
@avsm
avsm / dockerdev.sh
Created June 17, 2016 15:20
Build and install Docker master on an Ubuntu cloud VM
View dockerdev.sh
#!/bin/sh -e
# Build and install latest Docker dev version on an Ubuntu cloud VM
install() {
echo Installing
service docker stop || true
cp -av bundles/latest/binary-daemon/* /usr/bin
cp -av bundles/latest/binary-client/* /usr/bin
service docker start
}
View README.md

maki 0.1

  • Released on: 2016-05-25 15:18:52 +00:00
  • Synopsis: Persistent incremental computations, for repeatable tests and benchmarks.
  • More Info: Source Code or OPAM Page
  • Changes: Unknown

odepack 0.6.7

  • Released on: 2016-05-25 18:26:45 +00:00
@avsm
avsm / usr_local_bin_opam
Created February 24, 2015 16:03
systrace policy for opam
View usr_local_bin_opam
# Policy for opam.
#
Policy: /usr/local/bin/opam, Emulation: native
native-rename: filename match "/tmp/*" and filename[1] match "/tmp/*" then permit
native-rename: filename match "/tmp/*" and filename[1] match "$HOME/.opam/*" then permit
native-rename: filename match "$HOME/.opam/*" and filename[1] match "$HOME/.opam/*" then permit
native-rename: filename match "$HOME/.opam/*" and filename[1] match "/tmp/*" then permit
native-chown: filename match "$HOME/.opam/*" then permit
native-chown: filename match "/tmp/*" then permit
native-fswrite: filename match "/tmp/*" then permit