Skip to content

Instantly share code, notes, and snippets.

View chris-chris's full-sized avatar
🎯
Focusing

Chris Hoyean Song chris-chris

🎯
Focusing
View GitHub Profile
@chris-chris
chris-chris / share_sns.html
Created August 15, 2020 08:23
SNS에 공유 버튼 만들기
<!-- SNS버튼 시작 -->
<div style="width: 100%; text-align: center; margin-bottom: 64px;">
<!-- 페이스북 공유 버튼 --> <a href="" onclick="window.open(url_combine_fb, '', 'scrollbars=no, width=600, height=600'); return false;"><img src="https://storage.googleapis.com/storage.chris-chris.ai/images/facebook.gif" title="페이스북으로 공유하기" class="sharebtn_custom" style="width: 32px;"></a>
<!-- 트위터 공유 버튼 --> <a href="" onclick="window.open(url_combine_tw, '', 'scrollbars=no, width=600, height=600'); return false;"><img src="https://storage.googleapis.com/storage.chris-chris.ai/images/twitter.gif" title="트위터로 공유하기" class="sharebtn_custom" style="width: 32px;"></a>
<!-- 카카오 스토리 공유 버튼 --> <a href="" onclick="window.open(url_combine_ks, '', 'scrollbars=no, width=600, height=600'); return false;"><img src="https://storage.googleapis.com/storage.chris-chris.ai/images/story.gif" title="카카오스토리로 공유하기" class="sharebtn_custom" style="width: 32px;"></a>
<!-- 네이버 공유 버튼 --> <a href="" onclick="window.open(url_combine_naver, '', 'scrol
@chris-chris
chris-chris / kpop_classifier_example.html
Last active August 26, 2020 02:59
연예인 분류기 결과물
<html>
<head>
<title>Teachable Machine Image Model with upload</title>
<!-- CSS only -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous">
</head>
<body style="text-align:center;">
<div>
<h3>
@chris-chris
chris-chris / settings.json
Last active September 15, 2022 03:58
VS Code Chris settings.json
{
"debug.javascript.autoAttachFilter": "smart",
"files.associations": {
"*.py": "python"
},
"editor.formatOnSave": true,
"[typescriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescript]": {
@chris-chris
chris-chris / nftbank_api.py
Created September 18, 2022 06:33
NFTBank API example
import requests
host_url = "https://api.nftbank.ai"
asset_contract = "0x8a90cab2b38dba80c64b7734e58ee1db38b8992e"
token_id = "2795"
url = f"{host_url}/v3/realtime-estimated-price/ethereum/{asset_contract}/{token_id}"
headers = {
"x-api-key": "YOUR API KEY"
@chris-chris
chris-chris / nftbank_api.js
Created September 18, 2022 06:43
NFTBank Javascript API example
const axios = require("axios").default;
const hostUrl = "https://api.nftbank.ai";
const assetContract = "0x8a90cab2b38dba80c64b7734e58ee1db38b8992e";
const tokenId = "2795";
const url = `${hostUrl}/v3/realtime-estimated-price/ethereum/${assetContract}/${tokenId}`;
const headers = {
"x-api-key": "<YOUR API KEY>",
};