phallstrom / AlfredGist

An workflow for Alfred to create Gists from your clipboard contents or selected file(s).
159 stars 10 forks source link

Attempted to use a "bash" gist #5

Closed jjasghar closed 11 years ago

jjasghar commented 11 years ago

So i used "gist bash"

and it looks like from my "date" command came back with a miss parsing.

origserver=web31                                                                 
origimage=$origserver-`date +%25F`                                                 
newserver=web32 

That should be

origserver=web31                                                                 
origimage=$origserver-`date +%F`                                                 
newserver=web32 
phallstrom commented 11 years ago

Doh. Looks like I might need to cut over to using the official gist CLI... these type of things are going to popup more and more often I'm afraid...

On Jan 29, 2013, at 1:54 PM, JJ Asghar wrote:

So i used "gist bash"

and it looks like from my "date" command came back with a miss parsing.

origserver= web31

origimage=$origserver-date +%25F

newserver= web32

That should be

origserver= web31

origimage=$origserver-date +%F

newserver= web32

— Reply to this email directly or view it on GitHub.

jjasghar commented 11 years ago

Ah cool.

Well if you need me to test anything I'm here :D

Best Regards, JJ Asghar e: jj.asghar@peopleadmin.com | c: 512.619.0722 | o: 512.977.5876

From: Philip Hallstrom notifications@github.com<mailto:notifications@github.com> Reply-To: phallstrom/AlfredGist reply@reply.github.com<mailto:reply@reply.github.com> Date: Tuesday, January 29, 2013 4:01 PM To: phallstrom/AlfredGist AlfredGist@noreply.github.com<mailto:AlfredGist@noreply.github.com> Cc: JJ Asghar jj.asghar@peopleadmin.com<mailto:jj.asghar@peopleadmin.com> Subject: Re: [AlfredGist] Attempted to use a "bash" gist (#5)

Doh. Looks like I might need to cut over to using the official gist CLI... these type of things are going to popup more and more often I'm afraid...

On Jan 29, 2013, at 1:54 PM, JJ Asghar wrote:

So i used "gist bash"

and it looks like from my "date" command came back with a miss parsing.

origserver= web31

origimage=$origserver-date +%25F

newserver= web32

That should be

origserver= web31

origimage=$origserver-date +%F

newserver= web32

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHubhttps://github.com/phallstrom/AlfredGist/issues/5#issuecomment-12860844.

phallstrom commented 11 years ago

JJ -

The problem is the "%" in your paste. I'm converting that to %25. Intentionally doing it. But I just tried not doing it and it works just fine. Unfortunately that commit made it in with a bunch of other commits so I don't remember why I did it... you and I worked through some issues before... do you happen to remember any involving '%' ?

I just tried removing that substition and gisting your snippet of code works just fine... tempted to undo that change... perhaps I was too aggressive...

Let me know if you remember anything...

On Jan 29, 2013, at 1:54 PM, JJ Asghar wrote:

So i used "gist bash"

and it looks like from my "date" command came back with a miss parsing.

origserver= web31

origimage=$origserver-date +%25F

newserver= web32

That should be

origserver= web31

origimage=$origserver-date +%F

newserver= web32

— Reply to this email directly or view it on GitHub.

phallstrom commented 11 years ago

JJ - I've uploaded a new version of the extension that you can manually install here:

https://dl.dropbox.com/u/23115266/Gist.alfredextension

Give it a try and let me know...

phallstrom commented 11 years ago

JJ - Any word on if this resolves your issue?

jjasghar commented 11 years ago

Oh crap, sorry havent had a chance to test.

I'll get to it when I get some free cycles.

Best Regards, JJ Asghar e: jj.asghar@peopleadmin.com | c: 512.619.0722 | o: 512.977.5876

From: Philip Hallstrom notifications@github.com<mailto:notifications@github.com> Reply-To: phallstrom/AlfredGist reply@reply.github.com<mailto:reply@reply.github.com> Date: Friday, February 1, 2013 1:07 PM To: phallstrom/AlfredGist AlfredGist@noreply.github.com<mailto:AlfredGist@noreply.github.com> Cc: JJ Asghar jj.asghar@peopleadmin.com<mailto:jj.asghar@peopleadmin.com> Subject: Re: [AlfredGist] Attempted to use a "bash" gist (#5)

JJ - Any word on if this resolves your issue?

— Reply to this email directly or view it on GitHubhttps://github.com/phallstrom/AlfredGist/issues/5#issuecomment-13008855.