News for hackers. Stuff that matters.

daw___

Author here, this is a refactoring of qr-filetransfer, already discussed in the past [0].

Here's how it works: qrcp binds a web server to the address of your Wi-Fi network interface on a random port and creates a handler for it. The default handler serves the content and exits the program when the transfer is complete. When used to receive files, qrcp serves an upload page and handles the transfer.

The tool prints a QR code that encodes the text:

  http://{address}:{port}/{random_path}
Most QR apps can detect URLs in decoded text and act accordingly (i.e. open the decoded URL with the default browser), so when the QR code is scanned the content will begin downloading by the mobile browser.

To send one or more files (or directories):

  qrcp /path/to/file
  # Or
  qrcp send /path/to/file
To receive one or more files:

  qrcp receive --output ~/Downloads
[0] https://news.ycombinator.com/item?id=16647977
Re:Bypass Paywalls Clean for Firefox on Wednesday March 04, 2020 @05:30AM (#22482624)
From a developer point of view, wouldn't it be more useful, ethical and financially effective to reach out to these websites and teach them how to implement paywalls right?
Re:Ask HN: How do I escape webdev? on Tuesday March 03, 2020 @04:10AM (#22472994)
DevOps would seem the perfect path out to me. You won't have to work on code anymore, but you could still use your coding experiences when implementing deployment solutions.
Author here, from the readme:

Banco Management System, or simply Banco, is an opinionated project management tool for the command line that helps you organize notes, tasks, bookmarks and documents for your projects.

Banco objects (notes, tasks, bookmarks, etc) are stored in the filesystem, implemented as plain text files and folders within the root of the project, so you won't need to install or run any database or server. This enables you to easily create archives and backups, move projects around the filesystem, use command line tools, or keep track of changes by using version control.

Re:Show HN: One Page Calendar 2020 on Tuesday December 31, 2019 @11:10AM (#21922005)
I'm not really sure what I am looking at.

EDIT: Now I am. Clever!

Re:Venice Battles Flooding Amid Highest Tide in 50 Years on Wednesday November 13, 2019 @12:07PM (#21526455)
The city in Italy.
Re:“We have no reason to believe 5G is safe” on Monday October 21, 2019 @07:15AM (#21310921)
Genuine question: what is the point of this comment?
Grapher is very well done. I used it a lot when studying calculus. https://support.apple.com/en-gb/guide/grapher/welcome/mac

Edit: I'm no longer a Mac user, I remember Coda (by Panic) being ahead of time as a text editor for coding.

Gentoo, and a couple unrequited loves :-)
Re:Google Calendar Is Down on Tuesday June 18, 2019 @10:15AM (#20213205)
Intermittent 404/200 in Italy.
Re:Julian Assange arrested in London on Thursday April 11, 2019 @06:15AM (#19632712)
What does Julian say in the video?
Re:Show HN: Cliapp.store – An App Store for CLI Apps on Sunday September 30, 2018 @03:59PM (#18108058)
"You can try out Git for free. To use it regularly, you must buy a license."

Which license does this notice message refer to? This is completely wrong!

Re:List of Websites not available in the EU because of GDPR on Wednesday August 08, 2018 @05:41AM (#17714369)
Because are those that run the most ads, which do profiling and automated decision-making (i.e.: real-time bidding). It's hard to get that GDPR compliant.
A suggestion: I would make the "How it works" section always visible.
Re:Show HN: World Cup API for 2018 on Thursday June 14, 2018 @06:12AM (#17310572)
I tried loading over HTTPS and got the following error:

    This server could not prove that it is
    worldcup.sfg.io; its security certificate
    is from *.herokuapp.com. This may be
    caused by a misconfiguration or an
    attacker intercepting your connection.
Re:Wikipedia down: No working replica DB server on Thursday May 24, 2018 @04:14PM (#17147912)
All good in IT, 10:13pm CEST.
Hi, I'm hearing of issues about QR codes unable to be scanned; can you please try scanning the code that I posted in this comment and tell me if it works? :

https://github.com/claudiodangelis/qr-filetransfer/issues/6#...

I'm trying to collect as much info as possible to identify the cause. Thanks!

Ah, you are absolutely right
That is not bad! I might consider renaming it.
Hi, this has been already reported, many thanks for the headsup. The reason of that os.Exit(0) is to let the user not to care about quitting the tool after the transfer has been completed. There might be pending pull requests that fix this problem, I'm going to review later today.

Users response to this tool is really overwhelming, lots of interesting ideas and solutions have been already provided in the last 24 hours!

Oh, that looks interesting and definitely related! Starred, will have a look soon.
Oh, sorry to hear! I have no idea at the moment, do you mind opening an issue on Github? I can take care of opening an issue myself tomorrow if you can't.

https://github.com/claudiodangelis/qr-filetransfer/issues

Thanks!

This is not going to work unfortunately, the program expects the arguments to be paths.
I'm sorry, I have no experience with Nextcloud :-/

Older »