Skip to content

Instantly share code, notes, and snippets.

View Araeos's full-sized avatar

Felix Esch Araeos

  • Germany
View GitHub Profile
@Araeos
Araeos / spdlog default bench.log
Last active February 4, 2020 02:03
spdlog benchmark of the asynchronous logging facilities.
Results using the default details::mpmc_blocking_queue implementation:
$ bench
[info] **************************************************************
[info] Single threaded: 1000000 messages
[info] **************************************************************
[info] basic_st Elapsed: 0.45 secs 2239158/sec
[info] basic_st/backtrace-on Elapsed: 0.45 secs 2225987/sec
[info]
[info] rotating_st Elapsed: 0.44 secs 2293912/sec
[info] rotating_st/backtrace-on Elapsed: 0.54 secs 1863870/sec
@Araeos
Araeos / hshifter.ahk
Last active January 3, 2023 05:50
UCR Plugin to emulate an H-shifter device. Add this file to "UCR\Plugins\User\"
; All plugins must derive from the _Plugin class
class HShifter extends _UCR.Classes.Plugin {
Type := "H-Shifter"
Description := "Emulate an H-Shifter output, controlled by any (non-toggling) input"
CurrentPosition := 0
; The Init() method of a plugin is called when one is added. Use it to create your Gui etc
Init(){
PositionCount := 7
Loop % PositionCount {
; Create the GUI
@Araeos
Araeos / escaping emojis example
Last active October 31, 2018 18:12
1. 🐚 2. `🐚`
3. gitlab:shell:setup
4. `:shell:`
@Araeos
Araeos / gitlab rake authorized_keys_enabled.log
Last active October 31, 2018 17:56
Gitlab error during rake task `gitlab:shell:setup`
[root@daeros gitlab]# sudo -u gitlab /bin/bash -c "cd /usr/share/webapps/gitlab && bundle-2.3 exec rake --trace RAILS_ENV=production gitlab:shell:setup"
** Invoke gitlab:shell:setup (first_time)
** Invoke gitlab_environment (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute gitlab_environment
** Execute gitlab:shell:setup
rake aborted!
NoMethodError: undefined method `authorized_keys_enabled' for #<ApplicationSetting:0x00005613b44c3e20>
/usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/activemodel-4.2.10/lib/active_model/attribute_methods.rb:433:in `method_missing'
@Araeos
Araeos / gitlab-sidekiq authorized_keys_enabled.log
Created October 31, 2018 17:42
Gitlab error during authorized key related update
Oct 31 18:32:06 daeros gitlab-sidekiq[5884]: 2018-10-31T17:32:06.703Z 5884 TID-gsa34097c WARN: NoMethodError: undefined method `authorized_keys_enabled' for #<ApplicationSetting:0x00007f22bc445aa8>
Oct 31 18:32:06 daeros gitlab-sidekiq[5884]: 2018-10-31T17:32:06.703Z 5884 TID-gsa34097c WARN: /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/activemodel-4.2.10/lib/active_model/attribute_methods.rb:433:in `method_missing'
Oct 31 18:32:06 daeros gitlab-sidekiq[5884]: /usr/share/webapps/gitlab/lib/gitlab/shell.rb:368:in `authorized_keys_enabled?'
Oct 31 18:32:06 daeros gitlab-sidekiq[5884]: /usr/share/webapps/gitlab/lib/gitlab/shell.rb:181:in `add_key'
Oct 31 18:32:06 daeros gitlab-sidekiq[5884]: /usr/share/webapps/gitlab/app/workers/gitlab_shell_worker.rb:8:in `perform'
Oct 31 18:32:06 daeros gitlab-sidekiq[5884]: /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/sidekiq-5.2.1/lib/sidekiq/processor.rb:185:in `execute_job'
Oct 31 18:32:06 daeros gitlab-sidekiq[5884]: /usr/share/webapps/gitlab/vendor/b
@Araeos
Araeos / popup-imenu error.txt
Created November 14, 2017 13:53
`:isearch-filter` error
Debugger entered--entering a function:
* popup-menu*((#("object:ComponentActor" 0 21 (value ("object:ComponentActor" . 118))) #("object:ComponentActor.Step" 0 26 (value ("object:ComponentActor.Step" . 195))) #("object:ComponentActor.Start" 0 27 (value ("object:ComponentActor.Start" . 360))) #("object:ComponentActor.Stop" 0 26 (value ("object:ComponentActor.Stop" . 450))) #("object:ComponentActor.Pause" 0 27 (value ("object:ComponentActor.Pause" . 588))) #("class:ComponentActor.SetConfig" 0 30 (value ("class:ComponentActor.SetConfig" . 1582))) #("object:ComponentActor.ConfigSuccess" 0 35 (value ("object:ComponentActor.ConfigSuccess" . 1677))) #("class:ComponentActor.ConfigFailure" 0 34 (value ("class:ComponentActor.ConfigFailure" . 1759))) #("class:ComponentActor.Connect" 0 28 (value ("class:ComponentActor.Connect" . 2374))) #("class:ComponentActor.IOMessage" 0 30 (value ("class:ComponentActor.IOMessage" . 2421))) #("class:ComponentID" 0 17 (value ("class:ComponentID" . 2469))) #("class:ComponentActor" 0 20 (v
@Araeos
Araeos / .tmux.conf
Last active August 29, 2015 14:25 — forked from h14i/tmux-mouse-toggle
# tmux-mouse-toggle
# via http://qiita.com/kawaz/items/7b15e18ca8e072c1dc57
#
# Changes:
# - Modified 2015-07-27 by Araeos: modified shell code to work inline the .tmux.conf file with key binding.
# - Original gist by h14i
bind-key m run-shell "if [[ -n \$TMUX ]]; then \
if [[ -z \"$(tmux show-options -gw mode-mouse | grep off)\" ]]; then \
tmux set-option -gq mouse-utf8 off; \
@Araeos
Araeos / siunitx-luatexja-bug.log
Last active August 29, 2015 14:10
Compile log with \listfiles for josephwright/siunitx issue #263
This is LuaTeX, Version beta-0.79.1 (TeX Live 2014/Arch Linux) (rev 4971) (format=lualatex 2014.11.12) 30 NOV 2014 13:20
restricted \write18 enabled.
**siunitx-luatexja-bug.tex
(./siunitx-luatexja-bug.tex
LaTeX2e <2014/05/01>
Babel <3.9k> and hyphenation patterns for 79 languages loaded.
(/usr/share/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texmf-dist/tex/latex/base/size10.clo
File: size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)