- Verify the kernel you are using has a
${path}/share/jupyter
path, so it can be recognized by the commandjupyter kernelspec list
- Run
nix-shell
, and if everything is successful, check if the kernels are listed
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
version: "3.6" | |
services: | |
hub: | |
image: selenium/hub:4.2.2 | |
environment: | |
GRID_MAX_SESSION: 16 | |
GRID_BROWSER_TIMEOUT: 3000 | |
GRID_TIMEOUT: 3000 | |
networks: |
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
{ stdenv, lib, fetchurl, unzip, makeDesktopItem, copyDesktopItems, makeWrapper, autoPatchelfHook, | |
alsa-lib, gtk3, libXdamage, libXScrnSaver, libXtst, nss }: | |
let | |
app_icon = fetchurl { | |
url = "https://indigenous.realize.be/themes/custom/indigenous_theme/logo.png"; | |
sha256 = "sha256-j5As+yv/O7iADSzyS4rSe0/LSzok08urzFZVUQRywSI="; | |
}; | |
in stdenv.mkDerivation rec { |
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
{ stdenv, lib, fetchurl, copyDesktopItems, makeDesktopItem, makeWrapper | |
, writeShellScriptBin, electron }: | |
let | |
# This script is mandatory to make this application work | |
# without user intervention. The reasoning is specified below: | |
# https://github.com/NixOS/nixpkgs/issues/148152#issuecomment-983773905 | |
exec_script = writeShellScriptBin "exec_script" '' | |
set -euo pipefail |
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
{ modulesPath, pkgs, ... }: { | |
# AWS Defaults | |
imports = [ "${modulesPath}/virtualisation/amazon-image.nix" ]; | |
ec2.hvm = true; | |
# Server | |
networking.hostName = "nixos-testing"; | |
boot.cleanTmpDir = true; |
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
--- a/protonvpn_nm_lib/core/subprocess_wrapper.py | |
+++ b/protonvpn_nm_lib/core/subprocess_wrapper.py | |
@@ -44,11 +44,9 @@ | |
binary_short_name => full secure path. | |
""" | |
# Look for root-owned directories in the system path in order | |
- for path in os.environ.get('PATH', '').split(os.path.pathsep): | |
+ for path in "@path@".split(os.path.pathsep): | |
if not os.path.isdir(path): | |
continue |
This is a simple flake.nix
for the SMTP key generator.
Steps:
1- Grab the Python script from here. Name it as main.py
.
2- Set the secret key with SECRET_KEY=”insert_secret_key”
.
3- Set the region with REGION=region-code-# (us-east-1, ca-central-1, etc…)
.
3- Run nix run .# -- $SECRET_KEY $REGION
.
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 = "Dhall example"; | |
inputs = { | |
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; | |
utils.url = "github:numtide/flake-utils"; | |
}; | |
outputs = { self, nixpkgs, utils }: | |
utils.lib.eachDefaultSystem (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
{ | |
description = "Jupyter playbook example"; | |
inputs = { | |
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; | |
utils.url = "github:numtide/flake-utils"; | |
}; | |
outputs = { self, nixpkgs, utils }: | |
utils.lib.eachDefaultSystem (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
images: | |
simplerisk/simplerisk-minimal: | |
CVE-2019-19814: Debian kernel not solved yet |