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
import 'zone.js/dist/zone' // Angular requirement | |
(window as any).enableRemoteLog = () => { | |
(window as any).originalConsole = console | |
const axios = import('axios') | |
console = (Object.keys(console) as (keyof Console)[]) | |
.map(k => | |
typeof console[k] === 'function' | |
? { | |
[k]: (...args: any[]) => { |
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
(define-module (grub-latest) | |
#:use-module (guix build-system gnu) | |
#:use-module (guix build-system trivial) | |
#:use-module (guix download) | |
#:use-module (guix git-download) | |
#:use-module (guix licenses) | |
#:use-module (guix packages) | |
#:use-module (guix utils) | |
#:use-module (gnu packages) | |
#:use-module (gnu packages autotools) |
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
#!/usr/bin/env -S guix repl -- | |
!# | |
;; dynamic version of /gnu/store/....-shepherd-.../bin/shepherd | |
;; here we want to run shepherd with guix guile, in order | |
;; to be able to use (use-modules (guix ...)) in our scripts | |
;; | |
;; Why: currently guix runs with guile-3.0.5, while stock | |
;; shepherd is provided with guile-3.0.2. When importing modules | |
;; guix, it gives tones of "bytecode incompatible" warnings |
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
(use-modules (ice-9 format) (ice-9 popen) (ice-9 rdelim) (ice-9 regex) | |
((guix packages) #:select (package-file)) | |
((guix store) #:select (open-connection close-connection run-with-store)) | |
((gnu packages gnupg) #:select (gnupg pinentry-emacs))) | |
(define current-tty (ttyname (current-output-port))) | |
(define gpg-agent-description | |
(format #f "GnuPG PGP and SSH agent on ~a" current-tty)) |
OlderNewer