mkdir -p src/__tests__/
cat <<-EOF > ./package.json
{
"name": "debug-repro",
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
(defun insert-hello () | |
(interactive) | |
(insert "hello")) | |
;; Define a function to cancel the keymap override | |
(defun cancel-override () | |
(interactive) | |
;; Remove the override from `minor-mode-overriding-map-alist` | |
(setq minor-mode-overriding-map-alist | |
(assq-delete-all 'copilot-mode minor-mode-overriding-map-alist))) |
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
;; see https://github.com/copilot-emacs/copilot.el/issues/250 | |
(defun copilot/cancel-on-electric-indent-chars (arg) | |
"Cancel copilot completion eagerly when electric-indent-mode is triggered." | |
(interactive "p") | |
;; clear the overlay if visible and keypress is in electric-indent-chars. Not really a rejection, so maybe let's not notify it as such? | |
(when (and (copilot--overlay-visible) | |
(memq last-command-event electric-indent-chars)) |
I hereby claim:
- I am timcharper on github.
- I am timcharper (https://keybase.io/timcharper) on keybase.
- I have a public key ASAArrwBGzgx-G6HftrQEiwrRODyANlf7FgG4mZfkyChewo
To claim this, I am signing this object:
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 python3 | |
from time import sleep | |
from sys import exit, argv, getsizeof | |
# this simple python script allocates memory, waits for a while, and then exits successfully | |
mem = 0 | |
allocs = [] | |
try: | |
mem = int(argv[1]) | |
except ValueError: | |
print("Usage: mem.py <mb-to-allocate-per-cycle>") |
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 python3 | |
from time import sleep | |
from sys import exit, argv, getsizeof | |
# this simple python script allocates memory, waits for a while, and then exits successfully | |
mem = 0 | |
try: | |
mem = int(argv[1]) | |
except ValueError: | |
print("Usage: mem.py <mb-to-allocate>") | |
exit() |
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
require("tidyverse") | |
require("ggplot2") | |
require("dplyr") | |
## install.packages("tidyverse") | |
require("lubridate") | |
pressure_begin6 = as.Date("2019-11-01") | |
pressure_begin10 = as.Date("2019-12-09") | |
pressure_begin6_r2 = as.Date("2019-12-23") | |
pressure_begin10_r2 = as.Date("2020-01-03") |
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
Nov 19 18:44:23 ip-....internal marathon.sh[10865]: [2019-11-19 18:44:23,612] INFO Migration for storage: Version(18, 200, 0, PERSISTENCE_STORE) to target: Version(19, 300, 0, PERSISTENCE_STORE): apply change for version: Version(19, 200, 0, PERSISTENCE_STORE) (mesosphere.marathon.storage.migration.Migration:scala-execution-context-global-65) | |
Nov 19 18:44:23 ip-....internal marathon.sh[10865]: [2019-11-19 18:44:23,646] INFO Starting migration to 1.9.200 (mesosphere.marathon.storage.migration.MigrationTo19200:scala-execution-context-global-64) | |
Nov 19 18:44:23 ip-....internal marathon.sh[10865]: [2019-11-19 18:44:23,698] INFO Leadership ended with failure; exiting (mesosphere.marathon.core.election.ElectionServiceImpl:marathon-akka.actor.default-dispatcher-4) | |
Nov 19 18:44:23 ip-....internal marathon.sh[10865]: mesosphere.marathon.MigrationFailedException: while migrating storage to major: 19 | |
Nov 19 18:44:23 ip-....internal marathon.sh[10865]: minor: 200 | |
Nov 19 18:44:23 ip-....internal marathon.sh[10865]: pa |
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
➜ ~ diskutil list | |
/dev/disk0 (internal, physical): | |
#: TYPE NAME SIZE IDENTIFIER | |
0: GUID_partition_scheme *1.0 TB disk0 | |
1: Windows Recovery 554.7 MB disk0s1 | |
2: EFI NO NAME 104.9 MB disk0s2 | |
3: Microsoft Reserved 16.8 MB disk0s3 | |
4: Microsoft Basic Data 1.0 TB disk0s4 |
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
➜ nailgun git:(master) mvn package | |
[INFO] Scanning for projects... | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Reactor Build Order: | |
[INFO] | |
[INFO] nailgun-all [pom] | |
[INFO] nailgun-server [jar] | |
[INFO] nailgun-examples [jar] | |
[INFO] | |
[INFO] ----------------------< com.facebook:nailgun-all >---------------------- |
NewerOlder