On 14 Mar 2013, at 13:11, Esteban Lorenzano <[email protected]> wrote:

> Hi Sven,
> 
> I was checking http://ws.stfx.eu/ to use it as a replacement for pastebin, 
> but I would like to just paste a chunk of code into a webbrowser instead 
> installing the shared workspace into my image. 
> Is there a way to do that?
> 
> Esteban

Well, see the very last expression at the bottom:

        http://ws.stfx.eu/1WS4U

----

ZnClient
 new
  systemPolicy;
  beOneShot;
  url: 'http://ws.stfx.eu';
  contents: Clipboard clipboardText asString;
  post.


"Don't forget to inspect this last expression to see the new key"

---

It is basically just an HTTP POST. You could even do it with curl.
There is no web interface to do this though.
I'll think about it.

Sven

PS: the code might have some bit rot in it since I didn't look at it for a long 
time.

--
Sven Van Caekenberghe
http://stfx.eu
Smalltalk is the Red Pill


Reply via email to