An introduction to curl using GitHub's API.
Makes a basic GET request to the specifed URI
curl https://api.github.com/users/caspyin
| #!/bin/sh | |
| set -e | |
| dest="/nix" | |
| self="$(dirname "$0")" | |
| nix="@nix@" | |
| cacert="@cacert@" | |
| man /nix/store/5dmfv7annq8xsmb6nrg1bnxpffbbswfv-jq-1.5-man/share/man/man1/jq.1.gz | |
| # https://github.com/NixOS/nixpkgs/issues/24717#Missing man pages for packages with multiple outputs | |
| man less | |
| /home/ubuntu/.nix-profile/bin/man: can't set the locale; make sure $LC_* and $LANG are correct | |
| No manual entry for less | |
| which man |
| # This is free and unencumbered software released into the public domain. | |
| # Anyone is free to copy, modify, publish, use, compile, sell, or | |
| # distribute this software, either in source code form or as a compiled | |
| # binary, for any purpose, commercial or non-commercial, and by any | |
| # means. | |
| # In jurisdictions that recognize copyright laws, the author or authors | |
| # of this software dedicate any and all copyright interest in the | |
| # software to the public domain. We make this dedication for the benefit |
An introduction to curl using GitHub's API.
Makes a basic GET request to the specifed URI
curl https://api.github.com/users/caspyin
| # Config for GNU GRand Unified Bootloader (GRUB) (2) | |
| # /boot/grub/grub.cfg | |
| # or | |
| # /boot/grub2/grub.cfg | |
| # This grub.cfg file was created by Lance http://www.pendrivelinux.com | |
| # Suggested Entries and the suggestor, if available, will also be noted. | |
| # and then improved by Pysis. |
| with import <nixpkgs> {}; | |
| stdenv.mkDerivation rec { | |
| name = "helio-workstation"; | |
| version = "e5b39bf9efa66d75d93b82c9bdc8abbeb509cd6b"; | |
| src = fetchFromGitHub { | |
| owner = "helio-fm"; | |
| repo = "helio-workstation"; | |
| rev = "${version}"; |
| with import {}; | |
| stdenv.mkDerivation rec { | |
| name = "carla-${version}"; | |
| version = "1.9.12"; | |
| src = fetchFromGitHub { | |
| owner = "falkTX"; | |
| repo = "Carla"; | |
| rev = "v${version}"; |
First at all, falsehoods programmers believe about musical tuning:
| #!/usr/bin/env bash | |
| statefile=~/.config/nixpkgs/declarative | |
| action="$1" | |
| package="$2" | |
| mkdir -p $(dirname "$statefile") | |
| touch "$statefile" | |
| function update { | |
| envExpr=~/.config/nixpkgs/declarative-env.nix |