Hacker Newsnew | past | comments | ask | show | jobs | submit | daw___'s commentslogin

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


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?


They want their articles to be indexed, but they don't want the end-user to see the content. You cannot have both effectively.


but they don't want to, because they want to keep their sweet page rank


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.


I'm not really sure what I am looking at.

EDIT: Now I am. Clever!


I still am not. Could you explain?


2d lookup table for (month,day) -> weekday


To find the current day of the week, look at the row corresponding to the day of the month and the column corresponding to the month. There's a typo for the days 18-21 where there's two 18s.


The city in Italy.


Duh


Could you please stop posting unsubstantive comments to Hacker News?


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 :-)


Intermittent 404/200 in Italy.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: