Skip to content

Instantly share code, notes, and snippets.

View jezcope's full-sized avatar
🌱

Jez Cope jezcope

🌱
View GitHub Profile
-- The C compiler identification is GNU 10.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/jez/.nix-profile/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- System libvterm not found: libvterm will be downloaded and compiled as part of the build process
-- Configuring done
-- Generating done
-- Build files have been written to: /home/jez/.emacs.d/elpa/27.1/develop/vterm-20201120.501/build
@jezcope
jezcope / waybar.log
Last active June 11, 2020 12:36
Waybar mpd crash log
-- Logs begin at Sun 2020-06-07 12:54:20 BST, end at Thu 2020-06-11 13:25:13 BST. --
Jun 11 06:58:10 erwin systemd[4089]: Starting Highly customizable Wayland bar for Sway and Wlroots based compositors....
Jun 11 06:58:11 erwin waybar[17942]: [2020-06-11 06:58:11.873] [info] Resources files: /home/jez/.config/waybar/config, /home/jez/.config/waybar/style.css
Jun 11 06:58:11 erwin systemd[4089]: Started Highly customizable Wayland bar for Sway and Wlroots based compositors..
Jun 11 06:58:15 erwin waybar[17942]: [2020-06-11 06:58:15.243] [warning] module backlight: Disabling module "backlight", No backlight found
Jun 11 06:58:15 erwin waybar[17942]: [2020-06-11 06:58:15.243] [warning] module battery: Disabling module "battery", No batteries.
Jun 11 06:58:15 erwin waybar[17942]: [2020-06-11 06:58:15.243] [warning] module battery#bat2: Disabling module "battery#bat2", No battery named BAT2
Jun 11 06:58:15 erwin waybar[17942]: [2020-06-11 06:58:15.243] [warning] For a functional tray you must have libappindicator-
@jezcope
jezcope / logs.txt
Created January 23, 2020 14:26
Build log from mybinder.org for datacite/notebooks
Waiting for build to start...
---> Using cache
---> 46c9e2f973ca
Step 45/71 : USER root
---> Using cache
---> 3e38e5418bfb
Step 46/71 : RUN echo "options(repos = c(CRAN='https://mran.microsoft.com/snapshot/2019-04-12'), download.file.method = 'libcurl')" > /etc/R/Rprofile.site
---> Using cache
---> b3773fa0d2e3

Keybase proof

I hereby claim:

  • I am jezcope on github.
  • I am jezcope (https://keybase.io/jezcope) on keybase.
  • I have a public key ASB4BQwg6WIwa_qSi2aW0UDEJLrfldr5yLar069qgrH_UQo

To claim this, I am signing this object:

@jezcope
jezcope / 01-city-block-distance.py
Created November 27, 2017 18:57
Solution to Advent of Code 2016 Day 1
import numpy as np
import pytest as t
import sys
TURN = {
'L': np.array([[0, 1],
[-1, 0]]),
'R': np.array([[0, -1],
[1, 0]])
}
@jezcope
jezcope / rdmf18.md
Last active November 21, 2017 21:17
RDMF18 liveblog

This is an attempt at using a gist to facilitate liveblogging in a static site. Thanks for joining me for the ride…

The event programme is available online. I'll be co-presenting a talk about using the figshare API with figshare's own Megan Hardeman on the Tuesday at 09.40.

Well, I’ve arrived and obtained biscuits and tea.

Day 1

  • Martin gives us the now standard housekeeping slide
  • Overview of the programme (see the link above)
# A minimalist workout generator:
#
# - No commandline options
# - All configuration and data in this file
import random
GROUPS = {
'Core front': [
'Crunches',
@jezcope
jezcope / Figshare API search test.ipynb
Last active March 17, 2016 15:54
Searching the figshare API from Python
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jezcope
jezcope / 0xA207F5C874416A0F.asc
Created July 11, 2015 17:53
My current public key
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBFWhTVYBEADNV7X9zsioS9/Ai1h2DDIg8A5qzVg74WZHjdD3FoVxyhUAdgs4
STigPw8R9HimpgTUD7OLs3MIQ2LUg8gr1p8FRDlTnhPFGVy/1l1yHhxpFpph8OOj
8uni27qI6i3uSFEJ5YDRJ9Z/8YgYT2Oe3sUkcLo2HLAV0whfJdLc/UKXN7Fz97Tz
0mTB71pgONtOJK3b16em8CxMygFnMJ/rR+brS/lVbaBTzB/KOubKhBavQA56ekql
Cewd4jHO6KjOtYsxaneX0F33V7yh4qX/vrgwZN0J7tuyoiuJHZ/cfwhpO+MBYPLL
tkEhJ1AEm/0L/kGUuispVlbk4p7NXBT96T70+LRQ8vkUCX4xLRmX4pa5uk3OmUfS
Xn/5y118Yq7T/AyqceiCsQxPBnX6Izd6XMUDE05CrqG2YTrNqr7QYT+SPZCSrSVE
1B58vFfnjzfM/kAbBfOub2x3OEi52fbk4C6ZdrJZZjKqBK+5CgIUCugT4A7OyXHA