This file contains hidden or 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
blinker==1.8.2 | |
click==8.1.7 | |
contourpy==1.3.0 | |
cycler==0.12.1 | |
filelock==3.16.1 | |
Flask==3.0.3 | |
Flask-Cors==5.0.0 | |
fonttools==4.54.1 | |
fsspec==2024.10.0 | |
gunicorn==23.0.0 |
This file contains hidden or 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
THE ADVENTURE OF THE NOBLE BACHELOR | |
The Lord St. Simon marriage, and its curious termination, have long | |
ceased to be a subject of interest in those exalted circles in which | |
the unfortunate bridegroom moves. Fresh scandals have eclipsed it, | |
and their more piquant details have drawn the gossips away from this | |
four-year-old drama. As I have reason to believe, however, that the | |
full facts have never been revealed to the general public, and as my | |
friend Sherlock Holmes had a considerable share in clearing the | |
matter up, I feel that no memoir of him would be complete without |
This file contains hidden or 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
THE ADVENTURE OF THE NOBLE BACHELOR | |
The Lord St. Simon marriage, and its curious termination, have long | |
ceased to be a subject of interest in those exalted circles in which | |
the unfortunate bridegroom moves. Fresh scandals have eclipsed it, | |
and their more piquant details have drawn the gossips away from this | |
four-year-old drama. As I have reason to believe, however, that the | |
full facts have never been revealed to the general public, and as my | |
friend Sherlock Holmes had a considerable share in clearing the | |
matter up, I feel that no memoir of him would be complete without |
This file contains hidden or 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
### Copyrights reserved to CS50 AI Course | |
import itertools | |
class Sentence(): | |
def evaluate(self, model): | |
"""Evaluates the logical sentence.""" | |
raise Exception("nothing to evaluate") |
This file contains hidden or 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
from datetime import date | |
print("Al-Nakba, also known as the Palestinian Catastrophe, took place in 1948. This term describes the events that followed the establishment of the state of Israel and the resulting displacement of numerous Palestinian Arabs.") | |
print ("In which year did Al-Nakba occur in Palestine?") | |
#answer is a variable | |
answer = input () | |
if answer.strip() == "1948": | |
print ("Correct Answer!") |
This file contains hidden or 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
72.5, 68.3, 75.1, 80.7, 64.9, 77.2, 71.8, 69.4, 73.6, 66.2, 79.0, 74.3, 70.6, 67.9, 76.8, 78.5, 62.7, 68.1, 72.9, 65.4, 81.2, 63.8, 70.2, 75.6, 69.7, 72.4, 67.3, 74.9, 61.5, 80.1 | |
This file contains hidden or 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
BaseURL (DEV): https://facilitiesapi.herokuapp.com | |
BaseURL (Production) : https://facilitiesapi.coreistnabul.com | |
GET /facilities/<int:facility_id>/reservations | |
POST /facilities/<int:facility_id>/reservations | |
{ | |
"user_id": 1, | |
"start_time": "2023-04-01T14:30:00", |
This file contains hidden or 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:convert'; | |
import 'package:corereservations/models/facility.dart'; | |
import 'package:http/http.dart' as http; //alias | |
class FacilitiesApi { | |
getFacilities() async { | |
var response = await http.get(Uri.parse( | |
'https://gist.githubusercontent.com/mhassanist/38201f235f6c1b7a0b4f89effb89a399/raw/96ae3599141d35af90337b9d24b8550e36ed1a87/facilities.json')); | |
var responseJson = jsonDecode(response.body); |
This file contains hidden or 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
{ | |
"status": 200, | |
"error": null, | |
"data": [ | |
{ | |
"name": "Meeting Room 1", | |
"capacity": "10", | |
"instruments": [ | |
{ | |
"name": "Conference Table", |
NewerOlder