This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
---------------------------------------------------------------------------------- | |
Python Notes | |
---------------------------------------------------------------------------------- | |
#when you equate a list to a new list, it doesn't actually copy the list | |
but instead points to the locations in your original list thus any changes | |
made in the new list reflects in the old one as well | |
my_list = your_list | |
#to avoid this do: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"labels": [ | |
"Academics", | |
"Exam Cell", | |
"T&P Cell" | |
], | |
"senderRoles": [ | |
"Principal", | |
"Class Teacher", | |
"HOD", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"labels": [ | |
"Technical", | |
"Cultural", | |
"Sports" | |
], | |
"organizers": [ | |
"Institute Level", | |
"T&P Cell", | |
"Computer Society of India (CSI)", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'dart:async'; | |
import 'dart:io'; | |
import 'package:flutter/material.dart'; | |
import 'dart:convert'; | |
import 'package:http/http.dart' as http; | |
import 'package:retry/retry.dart'; | |
import 'package:intl/intl.dart'; | |
import 'package:navbar_router/navbar_router.dart'; | |
import 'dart:convert'; | |
import 'package:collection/collection.dart'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"featured_carousel": [ | |
{ | |
"event_name": "Event 1", | |
"photo_link": "https://www.itcluster.ck.ua/wp-content/uploads/2019/03/661821a9442a8dbd824e89bd18c0fd2e_XL.jpg", | |
"redirect_link": "https://csi.dbit.in/" | |
}, | |
{ | |
"event_name": "Event 2", | |
"photo_link": "https://ictframe.com/wp-content/uploads/Digital-Ocean-Summit-Nepal-2020.jpg", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//For filterchip row and i am clearing filtered list in init state | |
onSelected: ((value) { | |
setState(() { | |
if (value) { | |
_filters.add(filterType); | |
} else { | |
_filters.removeWhere((name) { | |
return name == filterType; | |
}); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const express = require('express'); | |
const bodyParser = require('body-parser'); | |
const mysql = require('mysql'); | |
const msg91 = require('msg91')('YOUR_API_KEY', 'YOUR_SENDER_ID', 'ROUTE_NO'); | |
const app = express(); | |
app.use(bodyParser.urlencoded({ | |
extended: true | |
})); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"time": "2022-01-01T00:00:00Z", | |
"temperature": 25.0, | |
"humidity": 60.0, | |
"co2": 800.0 | |
}, | |
{ | |
"time": "2022-01-01T01:00:00Z", | |
"temperature": 26.0, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"attendance_id": 1, | |
"user_id": 1, | |
"session_id": 1, | |
"name": "Jasmit Rathod", | |
"roll_no": 54, | |
"year": 4, | |
"branch": "IT" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"name": "Academics", | |
"contacts": [ | |
{"name": "Professor 1", "phoneNumber": "111-111-1111", "position": "Assistant Professor"}, | |
{"name": "Professor 2", "phoneNumber": "222-222-2222", "position": "Associate Professor"}, | |
{"name": "Professor 3", "phoneNumber": "333-333-3333", "position": "Professor"} | |
] | |
}, | |
{ |
OlderNewer