I hereby claim:
- I am QzSG on github.
- I am adriantan (https://keybase.io/adriantan) on keybase.
- I have a public key whose fingerprint is 429F 0F4B 5A60 ACF2 2BA3 62D1 25EC FA56 5C27 698C
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
const axios = require('axios'); | |
const _ = require('lodash'); | |
const baseUrl = 'https://min-api.cryptocompare.com/data/'; | |
/** Retrieves the full list of coins supported by CryptoCompare. | |
* @method | |
* @param {boolean} [expanded=false] - Option to return all fields including SortOrder/Algorith/Etc instead of simplified list of Symbol/ImageUrl. Defaults to false. | |
* @returns {Promise<{ [CoinName : string] : { ImageUrl : string, Symbol : string }} | Error>} Returns Promise resolving to the full list of coins and their Image Url and Symbol. | |
* @example <caption>Example return data.</caption> |
{ | |
"kty":"RSA", | |
"kid":"jwt_tool", | |
"use":"sig", | |
"e":"AQAB", | |
"n":"l1aLoKclaT5d0P5ibszNYHlHzFBDkp-j31PbtMAOlENyWAAQnIYEz2SdiBOmPDWX0ZAeUwo9i6Q69R1G1VCB98IOskxfCAqQNDxOXpk0W7hA5HnqjGT-WUCuJzaX_KsTsZuGIb086QLkfIhJkx-3WldTI7dQMEGNhvF-ONizg_aBqmohTGgblbC7kYQCnpqdJV6N-hqUV1yQkQhICC684NwRWVUiZcvpqgBbHeckfjmyTQF3uIsSVUZGO6ke24vijLd17tVQXsFMoGyV_uaKhJG6aJEFjSNHI2khZ-o3DtsTg8otipYpprDqzAN_VLO6FUNTbeAd5_HgDoRzFaJ9TQ" | |
} |
#include <stdio.h> | |
#include <string.h> | |
#include <stdlib.h> | |
void validate_passwd(char* passwd) { | |
char passwd_buf[7]; | |
unsigned char passwd_len = strlen(passwd); /* [1] */ | |
if(passwd_len >= 4 && passwd_len <= 8) { /* [2] */ | |
printf("Valid Password\n"); /* [3] */ | |
fflush(stdout); | |
strcpy(passwd_buf,passwd); /* [4] */ |
THIS IS GOOD |