Skip to content

Instantly share code, notes, and snippets.

View yniks's full-sized avatar
🎯
Focusing

yniks

🎯
Focusing
View GitHub Profile
@yniks
yniks / overrides.json
Last active September 18, 2025 15:38
Automated update test
{"updated_at":"2025-09-18T15:38:07.8066354Z","config":[{"Domain":"www.umkc.edu","chatbotName":"KC Roo","partnerName":"UKMC","logo":"https://upload.wikimedia.org/wikipedia/commons/thumb/9/9f/UMKC_logo.png/1200px-UMKC_logo.png","accentColor":"#0080FF","iconBackgroundColor":"#0080FF","iconColor":"#FFFFFF","logoWidth":"75%","openingMessage":"Warm welcome from UMKC. How can we help today? 😊","inactiveMessage":"Thanks for contacting us. Click the chat icon to start a new chat."},{"Domain":"www.rwu.edu","chatbotName":"Swoop the Hawk","partnerName":"Roger Williams University","logo":"https://www.rwu.edu/sites/default/files/styles/image_width_860/public/content/photo-gallery-item/image/Hawks_Head.jpg.webp?itok=zK3pTqTU","accentColor":"#123357","iconBackgroundColor":"#f7c548","iconColor":"#000000","logoWidth":"100%","openingMessage":"Warm welcome from Roger Williams University. How can we help you today? 😊","inactiveMessage":"Thanks for reaching out!"},{"Domain":"www.sjf.edu","chatbotName":"Beaks the Cardinal","partner
@yniks
yniks / 9s.py
Last active September 9, 2020 17:13
get all ending with 9s
def main(base):
stack=[]
while True:
while base>=9:
key=base-(1+base%10)%10
stack.append(key)
base-=key
if base==0 :
return stack
else:
@yniks
yniks / matrix.py3
Last active August 15, 2020 19:58
Locker
#version2
m, n = list(map(int, input().strip().split()))
matrix = [list(map(int, input().strip().split())) for _ in range(m)]
layers = list(map(int, input().strip().split()))
def getIndices(L):
counter = 0
L-=1
global m, n
for i in range(0 + L, m - L ):
yield L, i,counter
We couldn’t find that file to show.
@yniks
yniks / shopy.py
Last active August 8, 2020 17:16
Codekart :Problem Description -- Codu wants to create a shopping application. The application would sell only SHIRT and SHOE and have a cost that can be modified based on market needs. This application should allow users in two roles, viz. store manager(SM) and shopper(S)....
'''INPUT
1
CMD SM SET_COST SHOE 5
CMD SM SET_COST SHIRT 10
CMD SM ADD SHOE 5
CMD SM ADD SHIRT 10
CMD SM DCR SHIRT 5
CMD SM INCR SHOE 5
CMD SM GET_QTY SHIRT
CMD SM GET_QTY SHOE