Skip to content

Instantly share code, notes, and snippets.

Stéphane Gourichon fidergo-stephane-gourichon

Block or report user

Report or block fidergo-stephane-gourichon

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:049156c7856477f44ddfe58fc97d7def
git remote -v show
origin https://github.com/litex-hub/wishbone-utils (fetch)
origin https://github.com/litex-hub/wishbone-utils (push)
git describe
v0.6.7
RUST_LOG=debug wishbone-tool --version
View gist:870a9f9ba9ee24c91f1cb80cef7b6929
# Build log
# Precompiled toolchain
Binaries from https://github.com/im-tomu/fomu-toolchain/releases/download/v1.5.3/fomu-toolchain-linux_x86_64-v1.5.3.tar.gz
ld: libm.a(lib_a-sf_expm1.o): in function `.L0 ':
sf_expm1.c:(.text+0x4e0): undefined reference to `__math_oflowf'
@fidergo-stephane-gourichon
fidergo-stephane-gourichon / test_xfconf_keys.sh
Created Jan 1, 2020
Bug in xfconf-query regarding setting keys shortcuts?
View test_xfconf_keys.sh
# Let's query some keyboard shortcut
xfconf-query -c xfce4-keyboard-shortcuts -p '/xfwm4/default/<Alt><Shift>Tab' ; echo $?
cycle_reverse_windows_key
0
# So far so good.
# Let's remove that shortcut.
View firefox_profile_relax_github_stackexchange_column_width.sh
echo {} /* >/dev/null SG\MARKER\VERY\IMPROBABLE\STRING\MY\START
# This file is both a valid CSS style sheet,
# and a valid bash script.
# It adjusts your main Firefox profile so that github and all the
# stackexchange websites do not artifically limit main area width.
# Hooray! No more clobbered listings!
# More technically, it configures and enables userContent.css. It
@fidergo-stephane-gourichon
fidergo-stephane-gourichon / git_path_to_github_url.sh
Last active Aug 14, 2019
This bash script will transform a relative or absolute path to file or dir into a github URL you can browse and share.
View git_path_to_github_url.sh
#!/bin/bash
# Transform a relative or absolute path to file or dir into a github URL you can browse and share.
#
# usage: git_path_to_github_url.sh -
# usage: git_path_to_github_url.sh somedir/somefile
for ENTRY
do
(
View .gitconfig
[core]
editor = edite
[user]
name = FIXME put your name here, to be included into each commit
email = FIXME put your e-mail address here, to be included into each commit
[color]
ui = auto
[alias]
st = status
[merge]
@fidergo-stephane-gourichon
fidergo-stephane-gourichon / outlet
Created Jun 17, 2018 — forked from awaxa/outlet
apc pdu outlet expect script
View outlet
#!/usr/bin/expect
set timeout 3
if {[llength $argv] == 0} {
send_user "Usage: outlet [1-8] [on|off|reboot] \n"
exit 1
}
set number [lindex $argv 0]
set onoff [lindex $argv 1]
View gist:2d02f236b9387dbe49d3e0115576f654
*** Error in `/usr/bin/darktable': double free or corruption (!prev): 0x00007fe2d415d040 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7fe32df897e5]
/lib/x86_64-linux-gnu/libc.so.6(+0x8037a)[0x7fe32df9237a]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7fe32df9653c]
/usr/lib/x86_64-linux-gnu/darktable/plugins/libdenoiseprofile.so(process_sse2+0xf8d)[0x7fe2d944fc0d]
/usr/bin/../lib/x86_64-linux-gnu/darktable/libdarktable.so(+0x124c89)[0x7fe32e61dc89]
/usr/bin/../lib/x86_64-linux-gnu/darktable/libdarktable.so(+0x122444)[0x7fe32e61b444]
/usr/bin/../lib/x86_64-linux-gnu/darktable/libdarktable.so(+0x122683)[0x7fe32e61b683]
/usr/bin/../lib/x86_64-linux-gnu/darktable/libdarktable.so(+0x122683)[0x7fe32e61b683]
View gist:9f31753bf9b63083def43448b9bb7c42
==27749== Memcheck, a memory error detector
==27749== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
==27749== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info
==27749== Command: /usr/bin/darktable .
==27749==
==27749== Thread 8 worker 3:
==27749== Conditional jump or move depends on uninitialised value(s)
==27749== at 0x4D384813: ??? (in /usr/lib/x86_64-linux-gnu/darktable/plugins/lighttable/libprint_settings.so)
==27749== by 0x78891D3: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.2)
==27749== by 0x78A39A5: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.2)
View gist:1902156c0a0ee597e53771223dc9fc76
==11362== Memcheck, a memory error detector
==11362== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
==11362== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info
==11362== Command: /.../free_software_involvement/darktable/darktable.OSID_ubuntu-16.04.installtree/bin/darktable .
==11362==
==11362== Use of uninitialised value of size 8
==11362== at 0x95F7A5D: ??? (in /usr/lib/x86_64-linux-gnu/liblcms2.so.2.0.6)
==11362== by 0x95E1BBF: ??? (in /usr/lib/x86_64-linux-gnu/liblcms2.so.2.0.6)
==11362== by 0x51C6C26: dt_view_image_expose._omp_fn.0 (view.c:1000)
==11362== by 0xAE22CBE: GOMP_parallel (in /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0)
You can’t perform that action at this time.