Skip to content

Instantly share code, notes, and snippets.

View rangsimanketkaew's full-sized avatar
:octocat:
Learning something..

Rangsiman Ketkaew rangsimanketkaew

:octocat:
Learning something..
View GitHub Profile
@rangsimanketkaew
rangsimanketkaew / slackpost
Created March 8, 2020 18:16 — forked from dopiaza/slackpost
Post a message to a Slack channel
#!/bin/bash
# Usage: slackpost <token> <channel> <message>
# Enter the name of your slack host here - the thing that appears in your URL:
# https://slackhost.slack.com/
slackhost=PUT_YOUR_HOST_HERE
token=$1