Instructions moved to https://github.com/storj/ipfs-demo.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"bytes" | |
"encoding/json" | |
"fmt" | |
"io" | |
"log" | |
"mime/multipart" | |
"net/http" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"io" | |
"os" | |
"sync" | |
cid "github.com/ipfs/go-cid" | |
chunker "github.com/ipfs/go-ipfs-chunker" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"context" | |
"fmt" | |
"storj.io/storj/lib/uplink" | |
) | |
const ( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright (C) 2019 Storj Labs, Inc. | |
// See LICENSE for copying information. | |
package main | |
import ( | |
"bytes" | |
"context" | |
"fmt" | |
"io/ioutil" |
I hereby claim:
- I am kaloyan-raev on github.
- I am kaloyan (https://keybase.io/kaloyan) on keybase.
- I have a public key ASBAhWjeY-QE4sNrC6yJ-FvxT8l06_uNpt6oS0ZSeMaQ_Ao
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
### BEGIN INIT INFO | |
# Provides: che | |
# Required-Start: $remote_fs $syslog | |
# Required-Stop: $remote_fs $syslog | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: Eclipse Che | |
# Description: Starts and stops Eclipse Che | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
############################################################################## | |
# Configuration | |
############################################################################## | |
# The version of Zend Studio | |
version="13.0.1" | |
# | |
# The MD5 checksum of the zipped update site. | |
# It can be found on the zend.com download page. | |
checksum="19a9b59567f32dc082c691d850c922fe" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Function DownloadFile($path) { | |
$url = "http://downloads.zend.com/studio-eclipse/updates/380/" + $path | |
Write-Output "Downloading $url" | |
$output_dir = Convert-Path . | |
$output_path = Join-Path $output_dir $path | |
$start_time = Get-Date |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class IgnoreVariableAttributesDifferenceListener implements | |
DifferenceListener { | |
private static final List<String> IGNORE_ATTRS = Arrays | |
.asList(new String[] { "version", "download-size", "install-size" }); | |
@Override | |
public int differenceFound(Difference difference) { | |
if (isIgnoredAttributeDifference(difference)) { | |
return RETURN_IGNORE_DIFFERENCE_NODES_SIMILAR; |
NewerOlder