News for hackers. Stuff that matters.
Re:IPFS-Screenshot – Like Cloudapp but with IPFS by namuol on Monday October 24, 2016 @05:53PM (#12783229)
Does this actually do anything? Here's the full source:

    #! /bin/bash
    echo "testing" >> ~/.ipfs-screen/ipfs-add.log
    file=ipfs-screen.jpg

    gnome-screenshot -a -f ~/.ipfs-screen/$file

    hash_log=$(ipfs add ~/.ipfs-screen/$file)

    echo $hash_log >> ~/.ipfs-screen/ipfs-add.log


    hash=$(echo $hash_log | awk '{ print $2; }')

    echo "https://ipfs.io/ipfs/$hash" | xclip -selection clipboard
Edit: Nevermind, didn't see the `ipfs add ...` call... I guess this just goes to show how simple it is to use IPFS. ;)

Edit2: I can't seem to resolve any of my files on `ipfs.io` -- probably some problem with my network config that's preventing peers from mirroring my file?

Re:IPFS-Screenshot – Like Cloudapp but with IPFS by lkjhgfdsa57 on Monday October 24, 2016 @07:48PM (#12783942)
Have you left the ipfs daemon running? Do any errors show in it? Does this show any connections:

    ipfs swarm peers
Re:IPFS-Screenshot – Like Cloudapp but with IPFS by namuol on Monday October 24, 2016 @07:54PM (#12783978)
I wasn't aware that `ipfs daemon` was required for it to work. Ran that; it works now. :)