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
pragma solidity ^0.4.18; | |
contract Courses { | |
struct Instructor { | |
uint age; | |
string fName; | |
string lName; | |
} | |
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
pragma solidity ^0.4.0; | |
contract Loteria2 { | |
address dono; | |
string nomeDoDono; | |
uint inicio; | |
//uint sorteioPostado; | |
//uint premiosEnviados; | |
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 blockchain; | |
import java.util.Date; | |
public class Block { | |
public String hash; | |
public String previousHash; | |
private String data; //our data will be a simple message. | |
private long timeStamp; //as number of milliseconds since 1/1/1970. |
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 blockchain; | |
import java.util.ArrayList; | |
import java.util.Date; | |
public class Block { | |
public String hash; | |
public String previousHash; | |
public String merkleRoot; |
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 com.dom.facebookloginuserdetails; | |
import android.content.Intent; | |
import android.support.v7.app.AppCompatActivity; | |
import android.os.Bundle; | |
import android.widget.Toast; | |
import com.facebook.AccessToken; | |
import com.facebook.AccessTokenTracker; |
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
<style> | |
table { | |
font-family: arial, sans-serif; | |
border-collapse: collapse; | |
width: 50%; | |
} | |
td, th { | |
border: 1px solid #dddddd; |