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
| kernels="2.6.32-431.el6.x86_64 | |
| 2.6.32-431.1.2.el6.x86_64 | |
| 2.6.32-431.1.2.0.1.el6.x86_64 | |
| 2.6.32-431.3.1.el6.x86_64 | |
| 2.6.32-431.5.1.el6.x86_64 | |
| 2.6.32-431.11.2.el6.x86_64 | |
| 2.6.32-431.17.1.el6.x86_64 | |
| 2.6.32-431.20.3.el6.x86_64 | |
| 2.6.32-431.20.5.el6.x86_64 | |
| 2.6.32-431.23.3.el6.x86_64 |
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
| +buildPhase +builder +cmakeFlags +configureFlags +depsBuildBuild | |
| +depsBuildBuildPropagated +depsBuildTarget +depsBuildTargetPropagated | |
| +depsHostHost +depsHostHostPropagated +depsTargetTarget | |
| +depsTargetTargetPropagated +doCheck +doInstallCheck +mesonFlags +name | |
| +nativeBuildInputs +out +outputs +patches +phases +propagatedBuildInputs | |
| +propagatedNativeBuildInputs +stdenv +strictDeps +system |
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
| { pkgs ? import <nixpkgs> {} }: | |
| let | |
| pipeline = [ | |
| { | |
| key = "root"; | |
| command = "echo \"I am groot\""; | |
| } | |
| { | |
| depends_on = [ "root" ]; |
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
| diff --git a/tvl-kit/buildkite/default.nix b/tvl-kit/buildkite/default.nix | |
| index b04dc55a0..2be217937 100644 | |
| --- a/tvl-kit/buildkite/default.nix | |
| +++ b/tvl-kit/buildkite/default.nix | |
| @@ -340,6 +340,7 @@ rec { | |
| , postBuild ? null | |
| , skip ? false | |
| , agents ? null | |
| + , dependsOn ? [ ] | |
| }: |
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
| import httpx | |
| from opentelemetry.instrumentation.httpx import HTTPXClientInstrumentor | |
| HTTPXClientInstrumentor().instrument() |
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
| set -euo pipefail | |
| : ${REPO:=/depot} | |
| : ${FLAG:=$REPO/.git/hide-envrcs} | |
| if [ ! -f $FLAG ]; then | |
| git -C $REPO update-index --assume-unchanged $(git -C $REPO ls-files -v | grep -E '^H .+\.envrc$' | awk '{ print $2 }') | |
| git -C $REPO ls-files -v | grep -E '^h .+\.envrc$' | awk '{ print $2 }' | xargs rm | |
| touch $FLAG | |
| else |
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
| [ | |
| { | |
| # builds | |
| bcrypt = super.bcrypt.overrideAttrs (old: { | |
| cargoDeps = pkgs.rustPlatform.fetchCargoTarball { | |
| name = "${old.pname}-${old.version}"; | |
| src = old.src; | |
| sourceRoot = "${old.pname}-${old.version}/src/_bcrypt"; | |
| sha256 = "19j1hcwr6c7r3p9b3af5dfa9m5jimxk0cwmspd692d84svmrfdcl"; | |
| }; |
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
| (defmacro >-> (&rest forms) | |
| "Compose a new, point-free function by composing FORMS together." | |
| (let ((sym (gensym))) | |
| `(lambda (,sym) | |
| (->> ,sym ,@forms)))) |
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
| """ | |
| 1. Define an immutable list type. | |
| 2. Create a library for manipulating the list. | |
| """ | |
| # Answer | |
| # 1. Define an immutable list type | |
| class ImmutableList: |
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
| """ | |
| 1. Write a library that transforms python data types into Nix data types. | |
| """ | |
| # This library would need to convert python data types such as integers, strings, booleans, lists, dictionaries, and tuples into the Nix data types of strings, booleans, lists, sets, and recursive values. The library should use functions to convert each type of data. | |
| # For example, a function to convert a python integer to a Nix string would look like this: | |
| def int_to_nix_string(x): | |
| return f'"{x}"' |