I hereby claim:
- I am markphelps on github.
- I am markphelps (https://keybase.io/markphelps) on keybase.
- I have a public key ASBqVuPCH3VshBiwUICzS0RtTwelQbsVZzHaiAXvCG0prwo
To claim this, I am signing this object:
HibernateLineItemFieldValueStore<D extends LineItemFieldValue<T>, E extends HibernateLineItemFieldValue<T>, T> extends HibernateStoreBase<D, E> implements LineItemFieldValueStore<D, T> { |
My name is Mark Phelps. I am an entrepreneur here in Durham working on starting a new company named StudioJoy. For this new company, I’m hoping to build a product that provides studio owners like you the ability to easily manage your business including your members, their payments, attendance, and more. | |
After doing some research, I noticed that you own *|BIZ|* in *|CITY|*. Would you be interested in having a brief conversation with me about owning a *|TYPE|* and possibly trying a beta version of my product? This would be of no cost to you and would be extremely helpful for me in learning more about your business and the industry you’re in and also if StudioJoy is the right solution for you. | |
If you would like to learn more, please visit www.studiojoy.net and enter your email in the ‘sign up’ form so that I can be in touch, or just reply directly to this message. | |
Thank you so much for your time! | |
All the best, |
I hereby claim:
To claim this, I am signing this object:
// Run starts the run loop for the bot to listen/respond to messages | |
func (b *Bot) Run() { | |
go b.client.ManageConnection() | |
for { | |
select { | |
case msg := <-b.client.IncomingEvents: | |
switch ev := msg.Data.(type) { | |
case *slack.ConnectedEvent: | |
// do some stuff |
const ( | |
Idle = iota | |
Ready | |
Questioning | |
Answering | |
Done | |
) | |
// Bot handles all communication from/to slack and users | |
type Bot struct { |
type chatFn func(b *Bot) chatFn | |
func (b *Bot) chat() { | |
for state := hello; state != nil; { | |
state = state(b) | |
} | |
} | |
func hello(b *Bot) chatFn { | |
b.send("Hello!") |
type conversation struct { | |
userID string | |
incoming chan *slack.MessageEvent | |
state chatFn | |
} | |
// conversations represents all convos in progress | |
// maps userID -> conversation pointer | |
var conversations = make(map[string]*conversation) |
// Run starts the run loop for the bot to listen/respond to messages | |
func (b *Bot) Run() { | |
go b.client.ManageConnection() | |
for { | |
select { | |
case msg := <-b.client.IncomingEvents: | |
switch ev := msg.Data.(type) { | |
// other types skipped for brevity | |
case *slack.MessageEvent: |
#!/bin/bash | |
for i in * ; do | |
if [ -d "$i" ]; then | |
echo "$i" | |
cd $i | |
# git branch -r --no-merged to include remotes | |
git branch --no-merged | |
cd .. | |
fi |
package optional | |
type String struct { | |
string string | |
present bool | |
} | |
func EmptyString() String { | |
return String{} | |
} |