The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 2,914 other followers

Archive for June 22nd, 2016

Woof – simply exchange files – one-time sharing of a file over http

Posted by jpluimers on 2016/06/22

Woof is a small simple stupid webserver that can easily be invoked on a single file. Your partner can access the file with tools he trusts (e.g. wget). No need to enter passwords on keyboards where you don’t know about keyboard sniffers, no need to start a huge lot of infrastructure, just do a

$ woof filenameand

tell the recipient the URL woof spits out. When he got that file, woof will quit and everything is done.And when someone wants to send you a file, woof has a switch to offer itself, so he can get woof and offer a file to you. …

Woof needs Python on a unix’ish operating system. Some people have used it successfully on Windows within the cygwin environment.

Source: Woof – simply exchange files

Works from homebrew on OS X.

via: Web Offer One File – Thomas Mueller (dummzeuch) – Google+

Source: Web Offer One File


Posted in *nix, *nix-tools, Apple, BSD, Home brew / homebrew, Linux, Mac, Mac OS X / OS X / MacOS, Power User | Leave a Comment »

Hosting an HTML gist containing JavaScript

Posted by jpluimers on 2016/06/22


The “embed” dropdown allows to get URLs for sharing and git cloning.

Recently I did my very first JavaScript in HTML development. Since it was a one page experiment, I didn’t want to put it in an official repository of it’s own.

I will explain about the content in a future post, but first about getting it on-line as a HTML file that can run JavaScript.

This is the hosted page: Work around G+ “403. That’s an error.” errors.

Gists are the base

Gists are pretty amazing. They have history, syntax highlighting (which you can embed on your own page, see Using Github as a Syntax Highlighter for Your Blog or Website), can show an overview of files or even raw content. This holds for public and secret gists.

The history of all the files comes from a repository: in fact all gists are in fact git repositories of which you can get the URL (be it https or ssh) is under the “Embed” dropdown: see the screenshot on the right.

So the gist itself is available under these URLs:

The individual files can either be viewed as syntax highlighted (when they’re small enough, not binary and github knows how to highlight them), or as raw files:

Read the rest of this entry »

Posted in Development, DVCS - Distributed Version Control, gist, git, GitHub, rawgit, Source Code Management | 2 Comments »

Some useful links on bash parameters: $1, $*, $@, quotes, etc.

Posted by jpluimers on 2016/06/22

Some notes with the links I found them:

Syntax Effective result
$* $1 $2 $3 … ${N}
$@ $1 $2 $3 … ${N}
"$*" "$1c$2c$3c…c${N}"
"$@" "$1" "$2" "$3" … "${N}"


Posted in bash, Development, Scripting, Software Development | Leave a Comment »

%d bloggers like this: