Skip to content

Instantly share code, notes, and snippets.

View jdiez17's full-sized avatar

José Manuel Díez jdiez17

View GitHub Profile
(defun jdiez/org-roam--backlinks-list (file)
(--reduce-from
(concat acc (format " - [[file:%s][%s]]\n\t - %s\n"
(file-relative-name (car it) org-roam-directory)
(org-roam--get-title-or-slug (car it))
(plist-get (car (cdr it)) :content)))
"" (org-roam-sql [:select [file-from, properties] :from file-links :where (= file-to $s1)] file)))
(defun jdiez/org-export-preprocessor (backend)
(let ((links (jdiez/org-roam--backlinks-list (buffer-file-name))))
(gdb) bt
#0 0x00007f2100455b07 in ?? () from /usr/lib/libwayland-client.so.0
#1 0x00007f21004563da in ?? () from /usr/lib/libwayland-client.so.0
#2 0x00007f2100453eeb in wl_proxy_marshal_constructor () from /usr/lib/libwayland-client.so.0
#3 0x000055885269d0a9 in xdg_wm_base_get_xdg_surface (xdg_wm_base=0x5588529e6880, surface=0x558852a38e80)
at protocol/xdg-shell-client-protocol.h:505
#4 0x000055885269ec53 in sl_window_update (window=0x558852a4b7a0) at ../sommelier.c:731
#5 0x00005588526a3119 in sl_handle_client_message (ctx=0x7ffcc4cdf420, event=0x5588529e8cd0) at ../sommelier.c:2086
#6 0x00005588526a594d in sl_handle_x_connection_event (fd=13, mask=1, data=0x7ffcc4cdf420) at ../sommelier.c:2948
#7 0x00007f21004427f2 in wl_event_loop_dispatch () from /usr/lib/libwayland-server.so.0
[jdiez@NervousEnergy sommelier]$ ./build/sommelier -X kicad
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Unsupported maximum keycode 569, clipping.
> X11 cannot support keycodes above 255.
Errors from xkbcomp are not fatal to the X server
(EE) failed to read Wayland events: Connection reset by peer
from collections import defaultdict, OrderedDict
from scipy.integrate import solve_ivp
import networkx as nx
import numpy as np
import pdb
class Node:
def __init__(self, *args, **kwargs):
self._values = {}

Keybase proof

I hereby claim:

  • I am jdiez17 on github.
  • I am jdiez (https://keybase.io/jdiez) on keybase.
  • I have a public key whose fingerprint is 5138 8136 DFC6 32DA 3698 BCAB C6F8 7791 2522 1E50

To claim this, I am signing this object:

function [yaw pitch roll] = quat2eul(q)
qs = q(1);
qx = q(2);
qy = q(3);
qz = q(4);
yaw = atan(2 * (qs * qx + qy * qz) / (1 - 2 * (qx^2 + qy^2)));
pitch = asin(2 * (qs * qy - qz * qx));
roll = atan(2 * (qs * qz + qx * qy) / (1 - 2 * (qy^2 + qz^2)));
endfunction
test.c:25:1: internal compiler error: in output_constructor_regular_field, at varasm.c:5142
}
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.archlinux.org/> for instructions.
shell returned 1
Capturable output: Ancor Communications Inc Model: ASUS PB287Q: ID: 23
[libx264 @ 0x5579fbc181c0] MB rate (32400000) > level limit (16711680)
[libx264 @ 0x5579fbc181c0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 0x5579fbc181c0] profile High, level 6.2
[libx264 @ 0x5579fbc181c0] 264 - core 155 r2917 0a84d98 - H.264/MPEG-4 AVC codec - Copyleft 2003-2018 - http://www.videolan.org/x264.html - options: cabac=1 ref=1 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=2 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=6 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=1 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=10 rc=abr mbtree=1 bitrate=12000 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, matroska, to 'cap
import React from "react";
import Plot from "react-plotly.js";
import SPESimulator from "../math/spe_sim"
export default class SolarPanelEfficiency extends React.Component {
constructor(props) {
super(props);
this.d_step = 0.5;
root@project:~# cat /service/hal/run
#!/bin/bash
echo "$(date): waiting for dependency1 to be up"
s6-svwait -u /service/dependency1
echo "$(date): starting hal"
exec 2>&1 /opt/ninox/hal
root@project:~# ps aux | grep s6
root 2684 0.0 0.1 1676 932 pts/2 S+ 12:58 0:00 s6-svscan /service