Skip to content

Instantly share code, notes, and snippets.

View liyasthomas's full-sized avatar
🛸
in a ufo

Liyas Thomas liyasthomas

🛸
in a ufo
View GitHub Profile
[
{
"name": "Sample Hoppscotch Environment - 1",
"variables": [
{
"value": "https://echo.hoppscotch.io",
"key": "baseURL"
},
{
"value": "var1",
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Hoppscotch Echo Server

https://echo.hoppscotch.io

Description: Echo server is an application that allows a client and a server to connect so a client can send a message to the server and the server can receive the message and send, or echo, it back to the client.

https://hopp.sh/r/sSjA3oufj5dU

@liyasthomas
liyasthomas / GitHub stats count Scriptable widget script.md
Last active January 18, 2024 06:36
GitHub stats count Scriptable widget script

To use this script, simply replace the USERNAME, REPOSITORY, GITHUB_STARS_REPO and GITHUB_DOWNLOADS_REPO placeholders with the appropriate values for the GitHub repository you want to fetch the star and release download count for. Then, copy the complete script into a new Scriptable App script and run it. The star and release download count for the specified repository will be displayed in a Scriptable widget.

// Constants for widget configuration
const WIDGET_TITLE = "GitHub";
const USERNAME = "hoppscotch"
const REPOSITORY = "hoppscotch"
const GITHUB_STARS_REPO = "hoppscotch/hoppscotch";
const GITHUB_DOWNLOADS_REPO = "hoppscotch/releases";
const CACHED_DATA_HOURS = 0.5;
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
import fetch from "node-fetch";
const USERNAME = "hoppscotch";
const REPOSITORY = "hoppscotch";
exports.handler = async (event) => {
switch (event.httpMethod) {
case "GET":
try {
const commit_activity_response = await fetch(
<template>
<div ref="globe"></div>
</template>
<script>
import ThreeGlobe from "three-globe"
import * as THREE from "three"
import TrackballControls from "three-trackballcontrols"
import geojson from "~/assets/geojson/ne_110m_admin_0_countries.geojson"
import texture from "~/assets/images/texture.png"
@liyasthomas
liyasthomas / Proposal template.md
Last active January 12, 2022 12:48
GitHub Externship - Proposal Template

Full name:

E-mail:

GitHub username:

Prior experience:

  • HTML
  • CSS
  • SCSS
@liyasthomas
liyasthomas / ebb.md
Last active September 13, 2020 00:43


ebb