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.17; | |
contract Adoption { | |
address[16] public adopters; | |
function adopt(uint petId) public returns (uint) { | |
require(petId >= 0 && petId <= 15); | |
adopters[petId] = msg.sender; | |
return petId; |
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.17; | |
contract Adoption { | |
address[16] public adopters; | |
function adopt(uint petId) public returns (uint) { | |
require(petId >= 0 && petId <= 15); | |
adopters[petId] = msg.sender; | |
return petId; |
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.5.0; | |
pragma experimental ABIEncoderV2; | |
contract Money { | |
struct People{ | |
uint id; | |
string name; | |
uint amount; | |
} | |
mapping (uint => People) public peoples; | |
event votedEvent(uint indexed _candidateId); |
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
isFlashEnabled() | |
{ | |
var hasFlash = false; | |
try | |
{ | |
var fo = new ActiveXObject('ShockwaveFlash.ShockwaveFlash'); | |
if(fo) hasFlash = true; | |
} | |
catch(e) | |
{ |
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.17; | |
import "./Session.sol"; | |
contract Main { | |
struct Participant { | |
uint participantId; | |
string fullname; | |
string email; | |
uint deviation; | |
uint numberPricing; |
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.17; | |
import "./Session.sol"; | |
contract Main { | |
struct Participant { | |
uint participantId; | |
string fullname; | |
string email; | |
uint8 deviation; | |
uint8 numberPricing; |
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
chmod a+x ./ganache-2.1.1-linux-x86_64.AppImage | |
./ganache-2.1.1-linux-x86_64.AppImage |
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
create or replace PROCEDURE B6(s_id varchar) | |
AS | |
query varchar(1000):= 'SELECT GPA(takes.id, takes.semester, takes.year),CPA(takes.id, takes.semester, takes.year, | |
tinchitichluytheoky(takes.id, takes.semester, takes.year), takes.semester, student.name FROM takes | |
inner join student on takes.id = student.id | |
where takes.id = '''||s_id || ''' | |
group by takes.year, takes.semester, takes.id order by takes.year ASC, takes.semester DESC'; | |
cur sys_refcursor; | |
gpa number(3,2); | |
cpa number(3,2); |
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
{ | |
"onSave": true, | |
"javascript": { | |
"indent_size": 2, | |
"indent_char": " ", | |
"eol": "auto", | |
"preserve_newlines": true, | |
"break_chained_methods": false, | |
"max_preserve_newlines": 0, | |
"space_in_paren": false, |
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
https://cli.angular.io/ | |
https://stackoverflow.com/questions/37986800/node-sass-could-not-find-a-binding-for-your-current-environment |
NewerOlder