- 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 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 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 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 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 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: | |
simplerisk: | |
environment: | |
- FIRST_TIME_SETUP=1 | |
- FIRST_TIME_SETUP_PASS=rootpassword | |
- FIRST_TIME_SETUP_WAIT=10 | |
- SIMPLERISK_DB_HOSTNAME=mariadb | |
image: wolfangaukang/simplerisk-minimal:latest |
Want to use Colemak with Backspace with Capslock on a Wayland system?
Yeah, I have grown frustrated in finding a way to get this running. I need CapsLock in my life.
Here you go, this script will work.
Just make a backup of the previous one (as superuser)
$ cp /usr/share/X11/xkb/symbols/us{,bak}
This file contains 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
%{NOTSPACE:protocol}%{SPACE}%{TIMESTAMP_ISO8601:date}%{SPACE}%{NOTSPACE:loadbalancer_id}%{SPACE}%{IP:client_ip}:%{NOTSPACE:client_port}%{SPACE}(-|%{IP:target_ip}:%{NOTSPACE:target_port})%{SPACE}%{NUMBER:request_processing_time}%{SPACE}%{NUMBER:target_processing_time}%{SPACE}%{NUMBER:response_processing_time}%{SPACE}%{NOTSPACE:elb_status_code}%{SPACE}(-|%{NOTSPACE:target_status_code})%{SPACE}%{NUMBER:received_bytes}%{SPACE}%{NUMBER:sent_bytes}%{SPACE}\"%{DATA:request}\"%{SPACE}\"%{DATA:user_agent}\"%{SPACE}(-|%{NOTSPACE:ssl_cipher})%{SPACE}(-|%{NOTSPACE:ssl_protocol})%{SPACE}%{NOTSPACE:target_group_arn}%{SPACE}\"%{DATA:trace_id}\"%{SPACE}\"(-|%{DATA:domain_name})\"%{SPACE}\"(-|%{DATA:chosen_cert_arn})\"%{SPACE}(-|%{NOTSPACE:matched_rule_priority})%{SPACE}%{TIMESTAMP_ISO8601:request_creation_time}%{SPACE}\"(-|%{DATA:actions_executed})\"%{SPACE}\"(-|%{DATA:redirect_url})\"%{SPACE}\"(-|%{DATA:error_reason})\"%{SPACE}\"(-|%{DATA:target_ip_lists})\"%{SPACE}\"%{NOTSPACE:target_status_code_list}\" |
This file contains 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
#Based on fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) cs(Referer) sc-status sc-substatus sc-win32-status time-taken | |
#More info on https://stackify.com/how-to-interpret-iis-logs/ | |
IISDATETIME %{YEAR}-%{MONTHNUM}-%{MONTHDAY} %{HOUR}:%{MINUTE}:%{SECOND} | |
IISLOGS %{IISDATETIME:timestamp} (-|%{IP:server_ip}) (-|%{WORD:method}) (-|%{NOTSPACE:uri_stem}) (-|%{NOTSPACE:uri_query}) (-|%{NUMBER:server_port}) (-|%{WORD:service_name}) (-|%{IP:client_ip}) (-|%{NOTSPACE:agent}) (-|%{NOTSPACE:referrer}) (-|%{NUMBER:status}) (-|%{NUMBER:sub_status}) (-|%{NUMBER:win32_status}) (-|%{NUMBER:seconds_taken}) |
I hereby claim:
- I am wolfangaukang on github.
- I am wolfangaukang (https://keybase.io/wolfangaukang) on keybase.
- I have a public key ASAQoY7iC_Rp5Mu1KbMvJxHJQfFv0BfrdJ7miUqkMNFHBwo
To claim this, I am signing this object: