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
| #!/bin/bash | |
| # This script conforms to the Lift Script API v1 | |
| declare -a patterns | |
| patterns=(XXX TODO FIXME) | |
| directory=$1 | |
| commit=$2 | |
| command=$3 |
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
| #!/usr/bin/env bash | |
| function emit_results() { | |
| results=$1 | |
| echo $results | \ | |
| jq '[ .[] | | |
| select (.vulns != null) | | |
| .vulns | | |
| .[] | | |
| .type = .id | |
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
| let | |
| unstable = import <nixos-unstable> {}; | |
| new = import <nixos-21.11> {}; | |
| in new.mkShell { | |
| buildInputs = [ | |
| new.ghc | |
| new.haskellPackages.haskell-language-server | |
| unstable.neovim | |
| new.zlib.dev | |
| # unstable.terraform |
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
| { | |
| description = "Bevy-based hello world"; | |
| inputs = { | |
| nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable"; | |
| flake-utils.url = "github:numtide/flake-utils"; | |
| oxalica.url = "github:oxalica/rust-overlay"; | |
| }; | |
| outputs = { self, nixpkgs, flake-utils, oxalica }: |
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
| with import <nixpkgs> {}; | |
| let agave = (builtins.getFlake "github:tommd/nixpkgs?ref=add-agave-forked-derivation").legacyPackages.${pkgs.system}.solana-agave; | |
| platformTools = (builtins.getFlake "github:tommd/platform-tools?rev=79b7b43775d15cacb04a434fcb111a56bbb9b16a").packages.${pkgs.system}.default; | |
| in mkShell { | |
| # Packages provided as build inputs | |
| buildInputs = [ | |
| agave | |
| platformTools | |
| openssl | |
| gcc |
OlderNewer