This file contains 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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="user-scalable=no"> | |
<title>Howler.js Radio</title> | |
<link rel="stylesheet" href="../css/howler.css"> | |
</head> | |
<body> | |
<div class="title" style="text-align: center;color: aquamarine;"> Gaurav.fm </div> |
This file contains 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.24; | |
import "zos-lib/contracts/Initializable.sol"; | |
contract CrudApp is Initializable { | |
struct country{ | |
string name; | |
string leader; | |
uint256 population; |
This file contains 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
<!DOCTYPE html > | |
<html> | |
<body> | |
<script src = "https://unpkg.com/mithril/mithril.js" > < /script> | |
<script > | |
var root = document.body | |
var count = 0 | |
var increment = function() { | |
m.request({ |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<body> | |
<script src="https://unpkg.com/mithril/mithril.js"></script> | |
<script> | |
var root = document.body | |
var count = 0 | |
var increment = function() { | |
m.request({ |
This file contains 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
class ListTableViewController: UITableViewController { | |
override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell { | |
if let cell = tableView.dequeueReusableCell(withIdentifier: "DataTableViewCell", for: indexPath) as? DataTableViewCell { | |
var koinObject : KoinModel? | |
if(self.currentIndex == 0){ | |
koinObject = appDelegateObj().finalModelObject?.inrList[indexPath.row] | |
cell.iconImageView.image = UIImage(named: "rupees") | |
} | |
else if(self.currentIndex == 1){ | |
koinObject = appDelegateObj().finalModelObject?.bitcoinList[indexPath.row] |
This file contains 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
class ViewController: UIViewController { | |
override func viewDidLoad() { | |
super.viewDidLoad() | |
self.getKoinData() | |
} | |
func getKoinData(){ | |
ServiceManager.getRequestWithFullUrl("BASE_URL", success: { | |
(responseObject) in | |
print(responseObject) |
This file contains 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
class ProfileViewController: UIViewController,PageContainerCustomDelegates { | |
var currentIndexValue : Int = 0 | |
var onBoardPageViewController: ContainerViewController? { | |
didSet { | |
} | |
} | |
override func viewDidLoad() { | |
super.viewDidLoad() | |
ServiceManager.getRequestWithFullUrl("https://koinex.in/api/ticker", success: { |
This file contains 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
const Web3 = require('web3') | |
const rpcURL = "Your_node_url" | |
var web3 = new Web3(new Web3.providers.HttpProvider(rpcURL)); | |
var nodemailer = require('nodemailer'); | |
var count = 0 | |
var isMailSend = false; | |
var numberOfRetries = 3; | |
var cron = require('node-cron'); |
This file contains 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
specVersion: 0.0.1 | |
description: Gravatar for Ethereum | |
repository: https://github.com/rodventures/gravity-subgraph | |
schema: | |
file: ./schema.graphql | |
dataSources: | |
- kind: ethereum/contract | |
name: Gravity | |
network: mainnet | |
source: |
This file contains 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 { NewGravatar, UpdatedGravatar } from './types/Gravity/Gravity' | |
import { Gravatar } from './types/schema' | |
export function handleNewGravatar(event: NewGravatar): void { | |
let gravatar = new Gravatar(event.params.id.toHex()) | |
gravatar.owner = event.params.owner | |
gravatar.displayName = event.params.displayName | |
gravatar.imageUrl = event.params.imageUrl | |
gravatar.save() | |
} |