Skip to content

Instantly share code, notes, and snippets.

View sahithyandev's full-sized avatar
💭
😎

Sahithyan sahithyandev

💭
😎
View GitHub Profile
@sahithyandev
sahithyandev / app.css
Last active May 11, 2020 02:49 — forked from jdanyow/app.html
Aurelia problem with Set
.normal {
font-weight: bold;
font-size: 2rem;
}
.click-toggle {
color: red;
}
@sahithyandev
sahithyandev / TBBT.json
Last active May 15, 2020 14:53
The Big Bang Theory's data in JSON format.
{
"name": "The Big Bang Theory",
"season_count": "12",
"episodes_count_total": "280",
"episodes_count_per_season": {
"S01": 17,
"S02": 23,
"S03": 23,
"S04": 24,
"S05": 24,
{
"id": "results",
"children": [
{
"id": "0A",
"children": [
{
"id": "0B",
"children": [
{
{
"subject_count": 9,
"length": 715,
"result_letter_count": 5,
"results": [
{
"A": 9,
"C": 0,
"B": 0,
"S": 0,
@sahithyandev
sahithyandev / index.json
Created September 1, 2019 09:49
Indexing Bot
{
"last_indexed": "2019-08-31T20:31:45.777",
"total_file_size": "23.685 GB",
"file_count": 275,
"files": [
{
"id": 1,
"path": "D:/Videos/10 SMARTEST AND MOST INCREDIBLE SMUGGLERS IN ALL HISTORY.mp4",
"size": "55.443 MB"
},
@sahithyandev
sahithyandev / snapToArray.py
Last active May 19, 2019 10:49
This python function will return a array of letters in a string. (Not tested)
def stringToArray(string):
array = []
for letter in string:
array.append(letter)
return array
println(stringToArray("Sahithyan"))
@sahithyandev
sahithyandev / factorial.py
Created October 25, 2018 00:24
Find Factorial with Python
def factorial(start): # Function to find factorial
numbers = list(range(1, start+1)) # Getting the list to find factorial
factorial = 1 # defining the factorial as 1
for number in numbers: # In the list of numbers, Get numbers one by one
factorial *= number # and multiplying it by the factorial and save it to factorial
rounding = "{:0.2f}".format(factorial) # Rounding the factorial
print(rounding) # Outputting the factorial as rounded