Skip to content

Instantly share code, notes, and snippets.

Tom de Grunt tdegrunt

  • The Netherlands
Block or report user

Report or block tdegrunt

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
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
Description=Bluetooth Agent
ExecStart=/usr/bin/bt-agent -c NoInputNoOutput
tdegrunt / Gemfile
Created Feb 14, 2019 — forked from Dmdv/Gemfile
Nginx, Sinatra, and Puma.
View Gemfile
source :rubygems
gem "puma"
gem "sinatra"
tdegrunt /
Created Dec 11, 2018
Carpalx run for halmak
➜ 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

;; Automatically generated
 ;; 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)
tdegrunt / .gitignore
Created May 22, 2018
Ruby programming with VS Code
View .gitignore
tdegrunt /
Created Apr 5, 2018 — forked from maxivak/
Integrating Gem/Engine and Main Rails App
tdegrunt / async_console.rb
Created Feb 5, 2018 — forked from postmodern/async_console.rb
An asynchronous Console that can evaluate Ruby code in the background.
View async_console.rb
require 'thread'
class AsyncConsole
# Creates a new Asynchronous Console, within the given context.
# @param [Module] context
# The context to evaluate code within.
View gist:732486d0f7ee12284abe727b32934437
Verifying my Blockstack ID is secured with the address 1MF4R8dVMT4AQB1KGxmSqBv1HYbRffW3Zh
tdegrunt / better_image_tag.rb
Created Oct 30, 2017 — forked from pichfl/better_image_tag.rb
Liquid Image Tag for Jekyll
View better_image_tag.rb
# A simple plugin for Jekyll that allows you to use {% url "alt text" %} to add images to your posts.
# It will automatically check those images for width and height.
# Requires
require 'image_size'
require 'open-uri'
module Jekyll
tdegrunt /
Created Oct 26, 2017
Auto-upgrade homebrew's PostgreSQL data directory
#!/usr/bin/env bash
if ! [ "$new" ]; then
new=`psql -V | cut -d' ' -f3`
if ! [ "$old" ]; then
echo "Usage: <old-version> [new-version]"
You can’t perform that action at this time.