devshell probably best (alternatively with https://github.com/ssine/pptx2md):
nix shell nixpkgs#lesspipe
nix shell nixpkgs#libreoffice
eval "$(lesspipe.sh)"
less file.pptx
devshell probably best (alternatively with https://github.com/ssine/pptx2md):
nix shell nixpkgs#lesspipe
nix shell nixpkgs#libreoffice
eval "$(lesspipe.sh)"
less file.pptx
Emacs Abort Dialog
A fatal error has occurred!
Would you like to attach a debugger?
Select:
YES — to debug Emacs, or
NO to abort Emacs and produce a backtrace
(emacs_backtrace.txt in current directory).
(Before clicking YES, type
`gdb -p `, then `continue` inside GDB.)
As in take a break take a kitkat
# build python nix shell from a local `./requirements.txt` | |
mkdir ./env | |
cat > ./env/flake.nix << 'EOF' | |
{ | |
inputs = { | |
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; | |
flake-utils.url = "github:numtide/flake-utils"; | |
poetry2nix = { | |
url = "github:nix-community/poetry2nix"; | |
inputs.nixpkgs.follows = "nixpkgs"; |
I've spent the day trying to get this setup working with GitHub and given the number of gotcha's I encountered, it seemed like a good idea to document how I finally got this working with as few hacks as possible. There's a lot of documentation out there (some of it old and misleading) and committing here for posterity will help me remember this when I inevitably need to do this again.
Passwords are simply not enough these days. Regardless of the company, breaches (and the associated Personally Identifiable Information harvested) are a matter of not if, but when. There are a number of things you can do to protect yourself, but being on the tin-foil-hat side of paranoia, means there are a few Commandents that I adhere to (and recommend for other folks)[Insert link to Fight Club Rules for the Secure Internet].
That being said, if you use 2-factor authentication and have committed to using a hardware token such as the Yubikey, then you're already ahead of the curve. The problem is that wh
in command mode (vim): :wa
followed by :T bash -c 'nix eval ".#nixosConfigurations.HOST.config.system.build.toplevel" --show-trace'
<@lxsameer:matrix.org> hey folks, do you know how I can extend the following derivation:
drv = pkgs.haskell.pcakages.ghc96.withPackages (p: (with p;[ .....]);
with more haskell packages that use the same compiler instance?
(pkgs.haskell.packages.ghc96.override { overrides = hself: hsuper: { ...; } }).withPackages ...;
cat multilinetest.nix
{
test = ''
fields: ["wanted", "queued"]
'';
}