Skip to content

Instantly share code, notes, and snippets.

View Jytesh's full-sized avatar
:shipit:
Cranking

Jitesh Dhakshinamoorthy Jytesh

:shipit:
Cranking
  • National Instititute Of Technology, Warangal
  • 04:22 (UTC +05:30)
View GitHub Profile
@Jytesh
Jytesh / counter.gs
Created October 2, 2024 15:06
Colour Code Counter AppScript Extension for Slides
const index = {
'Prelims': '#00FF00',
'Pounce Bounce': '#3366cc',
'Anime': '#FF00FF',
'Reject': '#FF0000'
}
function myFunction() {
const presentation = SlidesApp.getActivePresentation();
const slides = presentation.getSlides();
@Jytesh
Jytesh / firestore-uploader.js
Last active September 19, 2023 09:32
Uploads fac_dat.csv into firestore
const fs = require("fs");
const { parse } = require("csv-parse");
const { finished } = require("stream/promises");
const admin = require("firebase-admin");
const serviceAccount = require("./ig-rmp-firebase-adminsdk-bxw6w-9d61f4b78a.json");
admin.initializeApp({
credential: admin.credential.cert(serviceAccount),
});
package gitinternals
import java.io.File
import java.io.FileInputStream
import java.util.zip.InflaterInputStream
import java.time.LocalDateTime
import java.time.ZoneOffset
import java.time.format.DateTimeFormatter
"""
SChema For https://api.politicsandwar.com/graphql
"""
type Alliance {
acceptmem: Boolean
acronym: String
"""
This field will return null unless you are in this alliance and have access to view its bank
"""
@Jytesh
Jytesh / trigno.md
Last active August 3, 2021 11:14
Trignometric Formulas

Periodic Property

Formula Identity Formula Identity
sin(π/2–A) cos A cos(π/2–A) sinA
sin(π/2+A) cos A cos(π/2+A) –sinA
sin(3π/2–A) – cos A cos(3π/2–A) –sinA
sin(3π/2+A) – cos A cos(3π/2+A) sinA
sin(π–A) sin A cos(π–A) –cosA
sin(π+A) – sin A cos(π+A) –cosA
sin(2π–A) – sin A cos(2π–A) cosA
@Jytesh
Jytesh / server.js
Last active January 7, 2021 16:54
Makes wiki txt in root to md
const
server = require('express')()
server.get('/*',(req,res)=>{
if(req.url){
res.sendFile(__dirname+'/krew-wiki/docs/'+req.url)
}
else res.sendFile(__dirname+'/krew-wiki/docs/index.html')
})
server.listen(8080)