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
// filepath: c:\dev\repo\coingecko\programs\goatgecko-sdk\src\cg-tools.enum.ts | |
export enum CoinGeckoTools { | |
GetTrendingCoins = "coingecko_get_trending_coins", | |
GetCoinPrices = "coingecko_get_coin_prices", | |
SearchCoins = "coingecko_search_coins", | |
GetCoinPriceByContractAddress = "coingecko_get_coin_price_by_contract_address", | |
GetCoinData = "coingecko_get_coin_data", | |
GetHistoricalData = "coingecko_get_historical_data", | |
GetOHLCData = "coingecko_get_ohlc_data", | |
GetTrendingCoinCategories = "coingecko_get_trending_coin_categories", |
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
/** | |
* GoatGecko SDK CLI | |
* | |
* This command-line tool lets you interact with CoinGecko Pro API using the Goat SDK. | |
* Features: | |
* - Coin historical data | |
* - OHLC data | |
* - Trending coins | |
* - Trending pools by network | |
* - Top gainers & losers |
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
/** | |
* GoatGecko SDK CLI | |
* | |
* This command-line tool lets you interact with CoinGecko Pro API using the Goat SDK. | |
* Features: | |
* - Coin historical data | |
* - OHLC data | |
* - Trending coins | |
* - Trending pools by network | |
* - Top gainers & losers |
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 url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap'); | |
body { | |
font-family: 'Roboto', sans-serif; | |
background-color: #1e1e2f; | |
color: #ffffff; | |
margin: 0; | |
padding: 0; | |
display: flex; | |
justify-content: center; |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta name="description" content="AI chatbot interface with dark theme"> | |
<title>AI Chatbot</title> | |
<link rel="icon" href="/favicon.ico" type="image/x-icon"> | |
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='css/style.css') }}"> | |
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> |
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 nltk | |
from nltk.chat.util import Chat, reflections | |
import requests | |
from flask import Flask, render_template, request, jsonify | |
from sklearn.linear_model import LinearRegression | |
import numpy as np | |
import os | |
from dotenv import load_dotenv | |
app = Flask(__name__) |
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
provider "azurerm" { | |
features {} | |
subscription_id = "YOUR_AZ_SUBSCRIPTION_ID" | |
} | |
terraform { | |
backend "azurerm" { | |
resource_group_name = "rg-realtime-crypto-alerts" | |
storage_account_name = "stgrealtimecryptoalerts" |
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
using System; | |
using System.IO; | |
using System.Net.Http; | |
using System.Threading.Tasks; | |
using System.Net; | |
using System.Net.Mail; | |
using Microsoft.AspNetCore.Mvc; | |
using Microsoft.Azure.WebJobs; | |
using Microsoft.Azure.WebJobs.Extensions.Http; | |
using Microsoft.AspNetCore.Http; |
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
const https = require('https'); | |
const Web3 = require('web3'); | |
const axios = require('axios'); | |
require('dotenv').config(); | |
const fs = require('fs'); | |
const express = require('express'); | |
// Load environment variables | |
const COINGECKO_API_KEY = process.env.COINGECKO_API_KEY; |
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
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.0; | |
contract MyToken { | |
string public name = "MyToken"; | |
string public symbol = "MTK"; | |
uint8 public decimals = 18; | |
uint256 public totalSupply = 1000000 * 10 ** uint256(decimals); | |
mapping(address => uint256) public balanceOf; |
NewerOlder