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
| render("Hello World"); |
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
| test |
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
| blah |
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
| thrthrt |
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
| var GitHubApi = require("github"); | |
| var teamId = "<your user id>"; | |
| var token = "<your token>"; | |
| var username = "<username>"; | |
| var github = new GitHubApi({version: "3.0.0"}); | |
| github.authenticate({ | |
| type: "oauth", | |
| token: token | |
| }); |
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
| abigen --sol token.sol --pkg main --out token.go && go run main.go token.go | |
| # ./test.go:121: too many arguments in call to bind.NewBoundContract |
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
| contract Token { | |
| /* This is a slight change to the ERC20 base standard. | |
| function totalSupply() constant returns (uint256 supply); | |
| is replaced with: | |
| uint256 public totalSupply; | |
| This automatically creates a getter function for the totalSupply. | |
| This is moved to the base contract since public getter functions are not | |
| currently recognised as an implementation of the matching abstract | |
| function by the compiler. | |
| */ |
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
| // <ORACLIZE_API> | |
| /* | |
| Copyright (c) 2015-2016 Oraclize srl, Thomas Bertani | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
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
| import { connect } from 'react-redux'; | |
| import Contacts from 'components/Contacts'; | |
| import { openFullScreenModal } from 'modules/FullScreenModal'; | |
| import { SCHEDULE_MODAL } from 'modules/ScheduleModal'; | |
| import { CONTACT_MODAL } from 'modules/ContactModal'; | |
| import { START_CALL_MODAL, VIDEO_CALL, AUDIO_CALL } from 'modules/StartCallModal'; | |
| import { | |
| actions, | |
| CONTACTS_FILTER_OPTION_AVAILABLE, | |
| CONTACTS_FILTER_OPTION_MY_CONTACTS |
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
| import React from 'react'; | |
| import { Provider } from 'react-redux'; | |
| import ContactsContainer from './ContactsContainer'; | |
| import ContactsComponent from 'components/Contacts'; | |
| import { mountWithIntl } from 'helpers/intl-enzyme-test-helper'; | |
| import configureStore from 'redux-mock-store'; | |
| import thunk from 'redux-thunk'; | |
| import { FULL_SCREEN_MODAL_ACTION_OPEN } from 'modules/FullScreenModal'; | |
| import { CONTACT_MODAL } from 'modules/ContactModal'; | |
| import { SCHEDULE_MODAL } from 'modules/ScheduleModal'; |