Ensure xcode and dependencies are installed
xcode-select --install
Install and set up Ruby
brew install chruby ruby-install;
Ensure xcode and dependencies are installed
xcode-select --install
Install and set up Ruby
brew install chruby ruby-install;
Ensure gradle version matches Java version | |
openjdk 11 & above: Gradle 5 & above | |
update distributionUrl in repo/android/gradle/wrapper/gradle-wrapper.properties to: | |
distributionUrl=https\://services.gradle.org/distributions/gradle-5.1-all.zip | |
Unable to successfully start react-native server | |
https://stackoverflow.com/questions/57313661/stuck-on-info-starting-js-server | |
Could not determine java version from 'x.x.x' | |
Compare java versions between react-nativer `start` and `run-android` |
# Ubuntu 18.04 and various Docker images such as openjdk:9-jdk throw exceptions when | |
# Java applications use SSL and HTTPS, because Java 9 changed a file format, if you | |
# create that file from scratch, like Debian / Ubuntu do. | |
# | |
# Before applying, run your application with the Java command line parameter | |
# java -Djavax.net.ssl.trustStorePassword=changeit ... | |
# to verify that this workaround is relevant to your particular issue. | |
# | |
# The parameter by itself can be used as a workaround, as well. |
Sometimes you want to have a subdirectory on the master
branch be the root directory of a repository’s gh-pages
branch. This is useful for things like sites developed with Yeoman, or if you have a Jekyll site contained in the master
branch alongside the rest of your code.
For the sake of this example, let’s pretend the subfolder containing your site is named dist
.
Remove the dist
directory from the project’s .gitignore
file (it’s ignored by default by Yeoman).
pragma solidity^0.4.11; | |
contract Hello{ | |
event say_hello(string); | |
function Hello(){} | |
function world() constant returns(string){ | |
return "world"; | |
} |
pragma solidity ^ 0.4.9; | |
contract Helloworld{ | |
uint public hey; | |
function Helloworld(){ | |
} | |
function getWorld() returns(bytes32 hello){ |
console.log('shh clien ....'); | |
var Web3 = require('Web3'); | |
if(typeof web3 !== 'undefined') | |
web3 = new Web3(web3.currentProvider); | |
else | |
//web3 = new Web3(new Web3.providers.HttpProvider("http://67.205.160.17:3555")); | |
web3 = new Web3(new Web3.providers.HttpProvider("http://pokereum.cloudapp.net:8545")); |
# install openjdk | |
sudo apt-get install openjdk-7-jdk | |
# download android sdk | |
wget http://dl.google.com/android/android-sdk_r24.2-linux.tgz | |
tar -xvf android-sdk_r24.2-linux.tgz | |
cd android-sdk-linux/tools | |
# install all sdk packages |
AtomSolidityView = require './ethereum-interface-view' | |
{CompositeDisposable} = require 'atom' | |
Web3 = require 'web3' | |
React = require 'react' | |
ReactDOM = require 'react-dom' | |
try | |
TestRPC = require "ethereumjs-testrpc"; | |
catch a | |
console.log(a); |
import "SuperdaoActions"; | |
contract SuperdaoActionDb is SuperdaoActionManagerEnabled { | |
// This is where we keep all the actions. | |
mapping (bytes32 => address) public Superdaoactions; | |
//ensure call is from action manager | |
modifier verifyAm(){ | |
if(!isActionManager()){ | |
throw; |