This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
const R = require('ramda'); | |
const S = require('sanctuary'); | |
const data = { | |
id: 1, | |
orderName: 'Order from spain', | |
teamName: 'Portland penguins', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require "base64" | |
message = "HG: Enter commit message. Lines beginning with 'HG:' are removed." | |
data = STDIN.read | |
data.gsub!(/^HG: .+\n/, '') if data.include? message | |
%x[open http://hashify.me/#{Base64.encode64(data).gsub(/\n/, '')}] | |
=begin | |
+-[ COMMAND SETTINGS ]------------+ |