Skip to content

Instantly share code, notes, and snippets.

Avatar

Tom de Grunt tdegrunt

  • The Netherlands
View GitHub Profile
View semantic-commit-messages.md

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@tdegrunt
tdegrunt / spacemacs-keybindings
Created Apr 5, 2020 — forked from adham90/spacemacs-keybindings
spacemacs keybindings that i need to learn
View spacemacs-keybindings
SPC s c remove highlight
**** Files manipulations key bindings
Files manipulation commands (start with ~f~):
| Key Binding | Description |
|-------------+----------------------------------------------------------------|
| ~SPC f c~ | copy current file to a different location |
| ~SPC f C d~ | convert file from unix to dos encoding |
| ~SPC f C u~ | convert file from dos to unix encoding |
View x12-mode.el
;;; x12-mode.el --- major mode for editing X12 messages
;; Copyright (C) 2005 APP Design, Inc.
;; Author: Ivan K, x12 at users.sourceforge.net
;; Maintainer: Ivan K, x12 at users.sourceforge.net
;; Version: 1.0
;; Keywords: X12 evil must die message file EDI major mode
;; Created: 2005-02-08
;; Modified: 2005-02-08
@tdegrunt
tdegrunt / keyboardLayout.json
Created Mar 28, 2020
Colemak VSCode keyboard layout
View keyboardLayout.json
{
"layout": {
"id": "com.apple.keylayout.Colemak",
"localizedName": "Colemak",
"lang": "en"
},
"rawMapping": {
"KeyA": {
"value": "a",
"valueIsDeadKey": false,
@tdegrunt
tdegrunt / tmux-tmuxinator-setup.md
Created Mar 3, 2020 — forked from colmarius/tmux-tmuxinator-setup.md
Project start/stop with tmux + tmuxinator
View tmux-tmuxinator-setup.md

1. Install tmux + tmuxinator

gem install tmuxinator

2. Add ~/.tmuxinator project specific configurations

# File: ~/.tmuxinator/project-name.yml

name: project-name
@tdegrunt
tdegrunt / sidekiq_monitoring
Created Feb 15, 2020 — forked from ngsmrk/sidekiq_monitoring
Sidekiq queue checking via rails console
View sidekiq_monitoring
stats = Sidekiq::Stats.new
stats.queues
stats.enqueued
stats.processed
stats.failed
@tdegrunt
tdegrunt / bt-agent.service
Created Jun 28, 2019 — forked from rcarmo/bt-agent.service
Set up PAN networking on Raspbian Stretch (use sudo to create these files and run all commands)
View bt-agent.service
# in /etc/systemd/system
[Unit]
Description=Bluetooth Agent
[Service]
ExecStart=/usr/bin/bt-agent -c NoInputNoOutput
Type=simple
[Install]
WantedBy=multi-user.target
@tdegrunt
tdegrunt / Gemfile
Created Feb 14, 2019 — forked from Dmdv/Gemfile
Nginx, Sinatra, and Puma.
View Gemfile
source :rubygems
gem "puma"
gem "sinatra"
@tdegrunt
tdegrunt / halmak.md
Created Dec 11, 2018
Carpalx run for halmak
View halmak.md
➜ bin/carpalx
Keyboard effort
------------------------------------------------------------
k1                      1.002  69.6  69.6
k1,k2                   1.359  24.8  94.3
k1,k2,k3                1.441   5.7 100.0
b                       0.307  13.6  13.6
p                       1.134  50.2 127.1
ph                      0.000   0.0   0.0
View customize.material-dark-theme.md

;; Automatically generated
(custom-set-variables
 ;; custom-set-variables was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 '(anzu-cons-mode-line-p nil)
You can’t perform that action at this time.