Skip to content

Instantly share code, notes, and snippets.

@laur89
laur89 / .tridactylrc
Last active June 2, 2022 14:47
tridactyl configs
bind J tabnext
bind K tabprev
" decrease scroll; default is 10 lines:
bind j scrollline 5
bind k scrollline -5
" change to dark mode:
colors dark
┌─[laur@p14s]─[/data/dev/projects/back-office] [master|…1⚑ 3]
└──╼ : npm run test
> backoffice@0.0.0 test /data/dev/projects/back-office
> ng test
✔ Browser application bundle generation complete.
Error: node_modules/@ngneat/spectator/lib/spectator-routing/activated-route-stub.d.ts:20:9 - error TS2611: 'snapshot' is defined as a property in class 'ActivatedRoute', but is overridden here in 'ActivatedRouteStub' as an accessor.

Keybase proof

I hereby claim:

  • I am laur89 on github.
  • I am layr (https://keybase.io/layr) on keybase.
  • I have a public key ASAnu6EF3oODlWdulbZmw8Yr_LBlAF9IuStVQveEREVE4wo

To claim this, I am signing this object:

@laur89
laur89 / i3-cycle-exclude-tabs.py
Last active July 2, 2018 23:25
i3wm focus changer helper scripts
#!/usr/bin/env python3
#
# Enables changing focus _from_ tabbed or stacked
# container without first cycling through tabs/stacks;
#
# Depends on i3ipc: pip3 install --upgrade i3ipc
#
# i3 config should be something like:
# bindsym $mod+h nop
# bindsym $mod+j nop
@laur89
laur89 / KafkaConsumerConfig.java
Last active October 16, 2017 17:57
Increase logging level upon kafka consumers initialisation to decrease log chatter
package com.your.project.config;
import org.apache.kafka.clients.consumer.ConsumerConfig;
import org.slf4j.LoggerFactory;
import org.springframework.cloud.stream.binder.kafka.KafkaMessageChannelBinder;
import org.springframework.cloud.stream.binding.InputBindingLifecycle;
import org.springframework.context.SmartLifecycle;
import org.springframework.context.annotation.Configuration;
import ch.qos.logback.classic.Level;