Skip to content

Instantly share code, notes, and snippets.

View ialiendeg's full-sized avatar

Ignacio Aliende García ialiendeg

  • Las Palmas de Gran Canaria, Spain
View GitHub Profile
#!/usr/bin/ruby
require 'net/https'
require 'json'
require 'yaml'
slack_cfg = YAML.load_file("/root/.slackrc.yml")
#uri = URI.parse("https://#{slack_cfg['team']}.slack.com/services/hooks/incoming-webhook?token=#{slack_cfg['token']}")
uri = URI.parse(slack_cfg['hook_url'])
@ialiendeg
ialiendeg / vimrc
Last active October 22, 2019 21:06
Vimrc with vundle
"Simple vimrc.
filetype plugin indent on
syntax on
set softtabstop=2
set shiftwidth=2
set scrolloff=10
set expandtab
"set smartindent
set smarttab