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
section .text | |
global _start | |
_start: | |
xor eax, eax | |
xor ebx, ebx | |
xor esi, esi | |
jmp _socket | |
_socket_call: |
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 prime n = | |
if n = 2 then true | |
else | |
let arr = [for i in 2..n-1 -> n%i=0] | |
List.contains true arr |> not | |
//let choiser elem = if elem > 0 then Some(elem) else None | |
//let f x = List.choose choiser x | |
let primes = List.choose (fun i -> if (prime i) then Some(i) else None) [2..500] |
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 System.Collections.Generic; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using System.Windows; | |
namespace BrokenLoader | |
{ | |
/// <summary> | |
/// Interaction logic for MainWindow.xaml | |
/// </summary> |
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 System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Xml; | |
using FrPluginImporter.SadUe; | |
using SAD; | |
namespace XMLStructure | |
{ |
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
@@grammar::Something | |
start = expression $ ; | |
expression = term [or ~ expression]; | |
term = factor [and ~ term]; | |
factor | |
= |
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 |
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
<!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
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
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 { |
OlderNewer