Skip to content

Instantly share code, notes, and snippets.

View asxyzp's full-sized avatar

asxyzp asxyzp

View GitHub Profile
@asxyzp
asxyzp / zoom_emojis.json
Created March 30, 2024 21:01
Zoom (Ubuntu): Emojis
This file has been truncated, but you can view the full file.
{
"2049": {
"name": "exclamation question mark",
"unicode_version": 3,
"category": "symbols",
"order": 3046,
"display": 1,
"shortname": ":interrobang:",
"shortname_alternates": [],
"ascii": [],
@asxyzp
asxyzp / textResize.js
Created June 8, 2022 07:07
Overflow correction method
/**
* @name textResize()
* @description RE-SIZING FONT-SIZE TO THE OPTIMAL VALUE (OVERFLOW CORRECTION METHOD)
* @param: UNDEFINED
* @returns: UNDEFINED
*/
const textResize = () => {
//RE-SIZING TEXT FOR ALL THE POSTS CONTAINING ".main" CLASS
document.querySelectorAll(".main").forEach((main) => {

Keybase proof

I hereby claim:

  • I am asxyzp on github.
  • I am asxyzp (https://keybase.io/asxyzp) on keybase.
  • I have a public key ASDkhPrGideliNj5ufyb1qEGYh_FN75T4SbIC33rIYNFgAo

To claim this, I am signing this object:

@asxyzp
asxyzp / index.py
Created September 29, 2020 10:25
Handling API for jisho.org in Python3
#Handling Python API of jisho.org
#See the output in output.txt
#By @asxyzp
import requests
import json
import sys
sys.stdin.reconfigure(encoding='utf8')
sys.stdout.reconfigure(encoding='utf8')
@asxyzp
asxyzp / database.js
Last active September 16, 2020 11:29
[ISSUE] : Emoji Karma database code
/*
Setting up Deta Base
Created By Aashish Loknath Panigrahi
*/
const {Deta} = require('deta');
const dotenv = require('dotenv').config({path: __dirname + '/.env'});
const deta = Deta(dotenv['parsed']['PROJECT_KEY']);
const db = deta.Base('emoji-karma');
function Karma(fire,water,earth,air,space){
@asxyzp
asxyzp / dbtest1.js
Last active September 16, 2020 11:26
[ISSUE] Emoji Karma : backend code
/*
Basic example of server side handling & database updates
Created by Aashish Loknath Panigrahi (@asxyzp)
*/
const path = require('path');
const http = require('http');
const dotenv = require('dotenv').config({'path':path.join(__dirname,'.env')});
const karma = require('./database');
@asxyzp
asxyzp / index.js
Last active September 15, 2020 06:53
ERROR : Getting & putting data using Deta
/*
Creating a CRUD App using Deta : https://docs.deta.sh/docs/base/node_tutorial/#building-a-simple-crud-with-deta-base
Created by Aashish Loknath Panigrahi (@asxyzp)
*/
const dotenv = require('dotenv').config({path: __dirname + '/.env'});
const {Deta} = require('deta');
const deta = Deta(dotenv['parsed']['PROJECT_KEY']);
const db = deta.Base('users');
async function signup (email,pswrd) {