Re: Arch Linux public upload server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Tue, Sep 03, 2024 at 09:07:09PM +0000, Lucie Scarlet wrote:
> On 9/3/2024 8:31 PM, Orhun Parmaksiz wrote:
>  >  > For users there are plenty of pastebin alternatives
> 
> Honestly, my biggest issue with the alternatives is how most other
> services are either too complicated, don't make it easy to just use the
> keyboard or end up like Hastebin and getting bought up and honestly
> getting a lot worse.
 
So, make a little function to help:

# upload a file to 0x0.st

# Example usage:
# upld temp/sensors (~/temp/sensors)

upld() {
  if [ -z "$1" ]; then
    echo "Usage: upld <filename>"
    return 1
  fi

  local filename="$1"
  curl -F "file=@$filename" https://0x0.st
}

Stick that in your ~/.bashrc (or, if you're pedantic, ~/.bash_functions)

(don't know what to do for zsh).

Pretty keyboard friendly!

>   > > it's important to specify how the moderation capabilities are.
> 
>   > My initial idea was to use a configuration like this (with some parts
> stripped):
> 
> I 100% support having our own paste service that's on a trustworthy
> domain like archlinux.org, though I do have some concerns about being
> able to upload more than just text. I haven't used Rustypaste before, so
> I can't comment much on that, but reading your email does seem like that
> would be possible.

I don't think Orhun's 1 hour TTL suggestion is realistic, especially
if this is going to be for people to use when asking for help on the BBS.

Merell
-- 
	During the American Revolution, a Britisher tried to raid a farm.  He
stumbled across a rock on the ground and fell, whereupon an aggressive Rhode
Island Red hopped on top.  Seeing this, the farmer commented, "Chicken catch
a Tory!"



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux