This file contains hidden or 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
<script type="text/javascript" src="https://assets.getpercs.com/sdk/percs.js"></script> | |
<script type="text/javascript"> | |
window.PERCS.init({ | |
clientKey: "{{clientkey}}", | |
apiHost: "https://api.getpercs.com", | |
logo: "https://assets.getpercs.com/degen-deals/logo.svg", | |
}) | |
</script> | |
This file contains hidden or 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" | |
gsrpc "github.com/centrifuge/go-substrate-rpc-client" | |
"github.com/centrifuge/go-substrate-rpc-client/types" | |
) | |
func main() { |
This file contains hidden or 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" | |
// "github.com/centrifuge/go-substrate-rpc-client/scale" | |
"encoding/json" | |
"fmt" | |
"strings" | |
gsrpc "github.com/centrifuge/go-substrate-rpc-client" | |
"github.com/centrifuge/go-substrate-rpc-client/config" |
This file contains hidden or 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
## updated for Ubuntu 16.04 | |
sudo add-apt-repository ppa:webupd8team/java | |
sudo apt-get update | |
sudo apt-get install oracle-java7-installer | |
sudo apt-get remove scala-library scala # Removing scala-library was the key for me. | |
sudo wget www.scala-lang.org/files/archive/scala-2.11.8.deb | |
sudo dpkg -i scala-2.11.8.deb | |
sudo apt-get update | |
sudo apt-get install scala | |
echo "deb https://dl.bintray.com/sbt/debian /" | sudo tee -a /etc/apt/sources.list.d/sbt.list |
This file contains hidden or 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
chrome.storage.local.get('__name__', function(item){ crazyItem = item; console.log(crazyItem); }) |