Skip to content

Instantly share code, notes, and snippets.

View eaccmk's full-sized avatar
🧑‍💻
I may be building next big...

#QualityWithMillan eaccmk

🧑‍💻
I may be building next big...
View GitHub Profile
@eaccmk
eaccmk / 1_bg_color_fitbit.jsx
Last active September 12, 2021 10:19
Fitbit app companion (mobile) setting to set background colour
// author : https://github.com/eaccmk
// created : sep-2021
function mySettings(props) {
return (
<Page>
<Section
title={
<Text bold align="center">
Demo Settings
@eaccmk
eaccmk / Base64.postman_collection
Created October 19, 2020 11:53
Base64 Encoding Decoding Postman collection
{
"info": {
"_postman_id": "c23935f1-3640-45fd-adf2-0e342084262e",
"name": "Base64",
"description": "Some Interesting ause cases of Postman for making Day to Day live easier",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "Base64__EN-CODING",
@eaccmk
eaccmk / Base64__DE-CODING
Last active April 24, 2024 12:42
Base64 decoding using postman (Working in Postman v7.34.0 version)
const base64EncodedString = "YWJjZDEyMzQ=" ; // abcd1234
console.log("INPUT >> ",base64EncodedString," <<");
if(!base64EncodedString.length > 0) {
pm.test("FAIL ", () => {throw new Error(" 'base64EncodedString' can not be empty !!")});
}else{
try{
var wordArray = CryptoJS.enc.Base64.parse(base64EncodedString);
var decodedString = CryptoJS.enc.Utf8.stringify(wordArray);
console.log("OUTPUT >> ",decodedString," <<");
@eaccmk
eaccmk / fitbit-supported_emojsi-unicode_v1.0.md
Last active December 27, 2020 01:48
fitbit app clockface emoji support with Settings.jsx

Supported emojis ✅ | Fitbit - My clockface

I was able to successfully use thses while building A FITBIT CLOCKFACE app.

Open/Install My clockface Fitbit mobile app here [My Clockface - Fitbit app] go to Settings

! Enjoy playing with text + emojis, take some motivation :

Some Examples
@eaccmk
eaccmk / sydneyWeather.json
Last active April 29, 2020 11:57
sample response for weather API for location Sydney, AU
{"latitude":-33.8688,"longitude":151.2093,"timezone":"Australia/Sydney","currently":{"time":1584326846,"summary":"Mostly Cloudy","icon":"wind","precipIntensity":0.6398,"precipProbability":0.21,"precipType":"rain","temperature":20.88,"apparentTemperature":20.88,"dewPoint":15,"humidity":0.69,"pressure":1025.3,"windSpeed":6.88,"windGust":8.6,"windBearing":157,"cloudCover":0.78,"uvIndex":5,"visibility":16.093,"ozone":276.6},"offset":11}