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
@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)
View gist:ebbe56d7791fcad246542990247e9865
XBuild Engine Version 12.0
Mono, Version 4.2.1.0
Copyright (C) 2005-2013 Various Mono authors
Build started 07/06/2017 17:38:49.
__________________________________________________
/mypath/DungeonMaster/DungeonMasterEngine/DungeonMasterEngine.csproj: warning : Could not find project file /usr/lib/mono/xbuild/MonoGame/v3.0/MonoGame.Content.Builder.targets, to import. Ignoring.
/mypath/DungeonMaster/DungeonMaster.sln: warning : Don't know how to handle GlobalSection ExtensibilityGlobals, Ignoring.
Project "/mypath/DungeonMaster/DungeonMaster.sln" (default target(s)):
Target ValidateSolutionConfiguration:
View darktable_says_pugixml_is_not_required_then_error
-- Looking for pugixml
CMake Warning at cmake/modules/LibFindMacros.cmake:263 (message):
WARNING: MISSING PACKAGE
We could not find development headers for Pugixml. Do you have the
necessary dev package installed? This package is NOT REQUIRED and you may
ignore this warning but by doing so you may miss some functionality of
darktable.
Relevant CMake configuration variables:
You can’t perform that action at this time.