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
let xbox_refreshtoken = null | |
let xbox_clientid = null | |
let xbox_clientsecret = null | |
let xbox_credential_base64 = null | |
let xbox_authorization = null | |
let xbox_id = null | |
let xbox_profileurl = 'https://peoplehub.xboxlive.com/users/me/people/xuids(<xid>)/decoration/detail,preferredColor,presenceDetail,multiplayerSummary' | |
let xbox_titleHistoryurl = 'https://titlehub.xboxlive.com/users/xuid(<xid>)/titles/titleHistory/decoration/GamePass,TitleHistory,Achievement,Stats' | |
let xbox_achievementsurl = 'https://achievements.xboxlive.com/users/xuid(<xid>)/achievements?orderBy=UnlockTime&unlockedOnly=true' | |
const xbox_tokenurl = 'https://login.live.com/oauth20_token.srf' |
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
Image Hosting :) |
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
let teamsListURL = "https://gist.github.com/saiteja09/71f47ed2714a4cad479f409b2f7d7bc2/raw/49ec450f7a2ad8d662a01863f6b5f7279bd06f3a/teams.json"; | |
let teamInfoURL = "https://hs-consumer-api.espncricinfo.com/v1/pages/team/home?lang=en&teamId="; | |
let matchInfoURL = "https://hs-consumer-api.espncricinfo.com/v1/pages/match/home?lang=en&seriesId=<sid>&matchId=<mid>"; | |
// WIDGET MAIN | |
mainWidget = await createWidget(); | |
if (config.runsInWidget) { | |
Script.setWidget(mainWidget); |
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,"name":"England"},{"id":2,"name":"Australia"},{"id":3,"name":"South Africa"},{"id":4,"name":"West Indies"},{"id":5,"name":"New Zealand"},{"id":6,"name":"India"},{"id":7,"name":"Pakistan"},{"id":8,"name":"Sri Lanka"},{"id":9,"name":"Zimbabwe"},{"id":10,"name":"Fiji"},{"id":11,"name":"U.S.A."},{"id":12,"name":"Bermuda"},{"id":13,"name":"Denmark"},{"id":14,"name":"E&C Africa"},{"id":15,"name":"Netherlands"},{"id":16,"name":"Malaysia"},{"id":17,"name":"Canada"},{"id":18,"name":"Gibraltar"},{"id":19,"name":"Hong Kong"},{"id":20,"name":"P.N.G."},{"id":21,"name":"Argentina"},{"id":22,"name":"Israel"},{"id":23,"name":"Singapore"},{"id":24,"name":"West Africa"},{"id":25,"name":"Bangladesh"},{"id":26,"name":"Kenya"},{"id":27,"name":"U.A.E."},{"id":28,"name":"Namibia"},{"id":29,"name":"Ireland"},{"id":30,"name":"Scotland"},{"id":31,"name":"Italy"},{"id":32,"name":"Japan"},{"id":33,"name":"Nepal"},{"id":34,"name":"France"},{"id":35,"name":"Uganda"},{"id":36,"name":"Germany"},{"id":37,"name":"Oman"},{"id":38,"nam |
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
// Variables used by Scriptable. | |
// These must be at the very top of the file. Do not edit. | |
// icon-color: deep-blue; icon-glyph: book; share-sheet-inputs: plain-text; | |
// Stock Ticker Widget | |
let stocksInfo = await getStockData() | |
let widget = await createWidget() | |
if (config.runsInWidget) { | |
// The script runs inside a widget, so we pass our instance of ListWidget to be shown inside the widget on the Home Screen. | |
Script.setWidget(widget) | |
} else { |
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 | first_name | last_name | gender | ||
---|---|---|---|---|---|
1 | Elsinore | Brolly | [email protected] | Female | |
2 | Vivianne | Pegler | [email protected] | Female | |
3 | Essa | Gillford | [email protected] | Female | |
4 | Brenna | Spincks | [email protected] | Female | |
5 | Thane | Taillard | [email protected] | Male | |
6 | Nydia | Tixier | [email protected] | Female | |
7 | Reece | Berthelmot | [email protected] | Male | |
8 | Joan | Norcott | [email protected] | Female | |
9 | Bryon | Legh | [email protected] | Male |
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
USE [Chinook2] | |
GO | |
/****** Object: StoredProcedure [dbo].[sp_stocksapi] Script Date: 3/29/2018 10:37:48 AM ******/ | |
SET ANSI_NULLS ON | |
GO | |
SET QUOTED_IDENTIFIER ON | |
GO |
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 sys | |
from awsglue.transforms import * | |
from awsglue.utils import getResolvedOptions | |
from pyspark.context import SparkContext | |
from awsglue.context import GlueContext | |
from awsglue.dynamicframe import DynamicFrame | |
from awsglue.job import Job | |
args = getResolvedOptions(sys.argv, ['JOB_NAME']) |