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 'package:flutter/material.dart'; | |
import 'package:google_maps_flutter/google_maps_flutter.dart'; | |
import 'package:ugv_fe/models/locations.dart' as locations; | |
class MapsView extends StatefulWidget { | |
const MapsView({Key? key}) : super(key: key); | |
@override | |
State<MapsView> createState() => _MapsViewState(); | |
} |
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
BSE Sensex 30 | https://www.investing.com/indices/sensex-historical-data | |
Nifty 50 | https://www.investing.com/indices/s-p-cnx-nifty-historical-data | |
India VIX | https://www.investing.com/indices/india-vix-historical-data | |
Nifty 100 | https://www.investing.com/indices/cnx-100-historical-data | |
Nifty 200 | https://www.investing.com/indices/cnx-200-historical-data | |
Nifty 50 USD | https://www.investing.com/indices/s-p-cnx-defty-historical-data | |
Nifty 50 Value 20 | https://www.investing.com/indices/nv20-historical-data | |
Nifty 500 | https://www.investing.com/indices/s-p-cnx-500-historical-data | |
NIFTY Midcap 100 | https://www.investing.com/indices/cnx-midcap-historical-data | |
Nifty Midcap 50 | https://www.investing.com/indices/nifty-midcap-50-historical-data |
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
//Assignment 1: | |
//Answer A: | |
//reading input (DataBricks Console not wipro vdi) | |
var inp = sc.textFile("/FileStore/tables/log_file.txt") | |
// get the Header | |
var header = inp.first() | |
//Get only details record by removing header |
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
[ | |
{ | |
"id": 8430, | |
"title": "Honey Chilli Potato Recipe | Crispy Restaurant Style Starters – CookingShooking", | |
"content_html": "<p>Hey Foodies,</p>\n<p>Today’s recipe is of Indo Chinese origin, your favorite Honey Chilli Potato homemade. If you like sweet and spicy flavors then without even giving it a second thought quickly make this recipe. Kids love it and adults love it even more. French fries shaped potatoes twice coated with batter and then twice fried for that extra crispness. Sauce flavored with garlic and onion and sauces added to elevate the taste, little honey and tomato ketchup to add to the sweetness and then fried potatoes tossed in the rich thick sauce….honey chili potatoes are ready. Sure shot hit at your parties. Let’s begin making it.</p>\n<p><img class=\"alignnone wp-image-8431 size-full\" src=\"https://cookingshooking.com/wp-content/uploads/2018/10/crispy-honey-chilli-potatoes-recipe.jpg\" alt=\"\" width=\"1280\" height=\"720\" srcset=\"https://cookingshooking.com/wp-c |
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
[{"id":1,"post_title":"Recipe 1","post_content":"This is recipe 1 \n\n\n","post_author":{"id":1,"username":"Yaman","email":"[email protected]","provider":"local","confirmed":1,"blocked":null,"role":1,"created_at":"2019-08-07T19:52:11.634Z","updated_at":"2019-08-07T19:52:11.656Z"},"post_status":"2","created_at":"2019-08-07T19:52:31.560Z","updated_at":"2019-08-07T23:09:33.395Z","post_featured_image":{"id":3,"name":"ECO POS LOGO COMPLETE.png","hash":"3f00b79f1c1a44ac950a40df5c26eccb","sha256":"ljsQ-S_P0VwcyVspCE0EjLG1iY-r4JiE6gbyb1-kjIA","ext":".png","mime":"image/png","size":"129.94","url":"/uploads/3f00b79f1c1a44ac950a40df5c26eccb.png","provider":"local","public_id":null,"created_at":"2019-08-07T21:40:05.514Z","updated_at":"2019-08-07T21:40:05.551Z"},"postingredients":[{"id":1,"ingredient":1,"ingredient_unit":"2 Litre","post":1,"created_at":"2019-08-07T22:46:42.714Z","updated_at":"2019-08-07T23:09:33.391Z"},{"id":2,"ingredient":2,"ingredient_unit":" |
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
AttributeError at /api/childlist/ | |
'OneToOneField' object has no attribute 'rel' | |
Request Method: GET | |
Request URL: http://127.0.0.1:8000/api/childlist/?customer_id=2 | |
Django Version: 2.0.1 | |
Exception Type: AttributeError | |
Exception Value: | |
'OneToOneField' object has no attribute 'rel' | |
Exception Location: C:\Users\MyUsername\Documents\MyFiles\Company Projects\TDM\tdmve_py36\lib\site-packages\url_filter\filtersets\django.py in _build_filterset_from_related_field, line 126 | |
Python Executable: C:\Users\MyUsername\Documents\MyFiles\Company Projects\TDM\tdmve_py36\Scripts\python.exe |
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 { Component, ChangeDetectionStrategy, ChangeDetectorRef } from '@angular/core'; | |
import { IonicPage, NavController } from 'ionic-angular'; | |
import { WpApiPosts } from 'wp-api-angular'; | |
import { Observable } from 'rxjs'; | |
import { URLSearchParams } from '@angular/http'; | |
import { AppearIn } from './../../../src/utils/animations'; | |
import { IListComponent } from './../../../src/interfaces'; | |
import { ListParentComponent } from './../../../src/ListParent'; |
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 { Component } from '@angular/core'; | |
import { IonicPage, NavController, NavParams } from 'ionic-angular'; | |
import { wpApiPosts } from 'wp-api-angular'; | |
/** | |
* Generated class for the CustomHomePage page. | |
* | |
* See https://ionicframework.com/docs/components/#navigation for more info on | |
* Ionic pages and navigation. | |
*/ |
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
/** | |
* Implements hook_menu(). | |
*/ | |
function module_categories_menu() { | |
var items = {}; | |
items['categories_view'] = { | |
title:'Subscribed Products', | |
page_callback: 'module_categories_articles_page' | |
}; | |
return items; |