Skip to content

Instantly share code, notes, and snippets.

View vinnietech's full-sized avatar

Vincent Verbrugh vinnietech

  • Vinnietech
  • Amsterdam
View GitHub Profile

Keybase proof

I hereby claim:

To claim this, I am signing this object:

{
"bundleId" : "com.knollsoft.Rectangle",
"defaults" : {
"allowAnyShortcut" : {
"bool" : false
},
"almostMaximizeHeight" : {
"float" : 0
},
"almostMaximizeWidth" : {
#!/bin/bash
# manually install Xcode
# Brew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install "git"
brew install "postgresql", restart_service: true
brew install "redis", restart_service: true
@vinnietech
vinnietech / docker-compose.yml
Created March 26, 2020 13:24 — forked from flightonary/docker-compose.yml
docker-compose of mongodb and rabbitmq
version: '2'
services:
mongodb:
image: mongo:latest
container_name: mongodb
environment:
- 'MONGODB_USER=user'
- 'MONGODB_PASS=password!'
volumes:
@vinnietech
vinnietech / bsq.c
Created March 7, 2020 18:15
Opdracht V in C
#include <stdio.h>
int calc_hor_len(char *map) {
int index=0;
int start_counting = 0; // if 1 then TRUE, if 0 then FALSE
int counter=0;
while (map[index])
{
version: '3'
services:
nginx:
image: nginx:stable-alpine
ports:
- 8080:80
volumes:
- ./:/var/www
- ./.nginx/default.conf:/etc/nginx/conf.d/default.conf
@vinnietech
vinnietech / docker-compose.yml
Created January 18, 2020 20:14
Wordpress development docker compose file
version: '2'
services:
mysql:
image: mysql:5.7
restart: always
ports:
- 3306:3306
environment:
MYSQL_USER: wordpress
@vinnietech
vinnietech / init.lua
Last active November 2, 2023 12:11
My Hammerspoon configuration
hyper = {"cmd"}
shift_hyper = {"cmd", "ctrl", "alt"}
hs.hotkey.bind(hyper, 'pad0', function () hs.application.launchOrFocus("Google Chrome") end)
hs.hotkey.bind(hyper, 'pad1', function () hs.application.launchOrFocus("iTerm") end)
hs.hotkey.bind(hyper, 'pad2', function () hs.application.launchOrFocus("Webstorm") end)
hs.hotkey.bind(hyper, 'pad3', function () hs.application.launchOrFocus("Tower") end)
hs.hotkey.bind(hyper, 'pad4', function () hs.application.launchOrFocus("Mail") end)

Keybase proof

I hereby claim:

To claim this, I am signing this object:

#!/usr/bin/env ruby
# Complete rake tasks script for bash
# Save it somewhere and then add
# complete -C path/to/script -o default rake
# to your ~/.bashrc
# Xavier Shay (http://rhnh.net), combining work from
# Francis Hwang ( http://fhwang.net/ ) - http://fhwang.net/rb/rake-complete.rb
# Nicholas Seckar <[email protected]> - http://www.webtypes.com/2006/03/31/rake-completion-script-that-handles-namespaces
# Saimon Moore <[email protected]>