I hereby claim:
- I am petermikitsh on github.
- I am petermikitsh (https://keybase.io/petermikitsh) on keybase.
- I have a public key ASAqwMNwoRSaTkH2qQHqmaFYJsmo3F77EghGYGYT6c5f5wo
To claim this, I am signing this object:
| const express = require('express'); | |
| const app = express(); | |
| const port = 3000; | |
| app.get('/', (req, res) => { | |
| res.setHeader('Content-Type', 'text/html'); | |
| res.send(` | |
| <form action="/Form.do" method="POST"> | |
| <div> | |
| <button>Submit the form</button> |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>React + Shadow DOM</title> | |
| </head> | |
| <body style="margin: 0"> | |
| <global-navigation> | |
| <div slot="breadcrumbContent" style="color: red">Breadcrumbs</div> | |
| <div slot="pageContent" style="color: blue">Page Content</div> | |
| </global-navigation> |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Angular 8</title> | |
| </head> | |
| <body> | |
| <app-root></app-root> | |
| <script src="https://unpkg.com/[email protected]/Reflect.js"></script> | |
| <script src="https://unpkg.com/[email protected]/dist/zone.js"></script> | |
| <script src="https://unpkg.com/@reactivex/[email protected]/dist/global/rxjs.umd.js"></script> |
| ( | |
| function() { | |
| const lagRadar = ( config = {} ) => { | |
| const { | |
| frames = 50, | |
| speed = 0.0017, | |
| size = 300, | |
| inset = 3, | |
| parent = document.body, | |
| } = config; |
| // Welcome! require() some modules from npm (like you were using browserify) | |
| // and then hit Run Code to run your code on the right side. | |
| // Modules get downloaded from browserify-cdn and bundled in your browser. | |
| var timm = require('timm'); | |
| var obj = {foo: ''}; | |
| var newObj = timm.setIn(obj, ['foo', 'bar'], 'baz'); | |
| console.log('the object is', newObj); |
| // AirBNB Linting Rules | |
| // See more @ https://gist.github.com/nkbt/9efd4facb391edbf8048 | |
| { | |
| "env": { | |
| "browser": true, | |
| "node": true, | |
| "es6": true | |
| }, |
I hereby claim:
To claim this, I am signing this object:
| // Find the height of the deepest DOM node | |
| function getHeight(node) { | |
| var children = node.children; | |
| if (children.length === 0) { | |
| return 1; | |
| } else { | |
| var childHeights = Array.from(children).map(function (child) { | |
| return getHeight(child); | |
| }); | |
| return 1 + Math.max.apply(null, childHeights); |
| class Cairo < Formula | |
| desc "Vector graphics library with cross-device output support" | |
| homepage "https://cairographics.org/" | |
| url "https://cairographics.org/releases/cairo-1.14.6.tar.xz" | |
| mirror "https://www.mirrorservice.org/sites/ftp.netbsd.org/pub/pkgsrc/distfiles/cairo-1.14.6.tar.xz" | |
| sha256 "613cb38447b76a93ff7235e17acd55a78b52ea84a9df128c3f2257f8eaa7b252" | |
| revision 1 | |
| bottle do | |
| sha256 "88383b86fdf914d59dcf249403d7358ff3bcc84098186dd10a58fbb1da07d98d" => :sierra |
| /* SAML Authentication Flow | |
| * - Open GET /SSO/SAML2 in an iframe | |
| * - this will redirect to the identity provider ("IdP") | |
| * - The user will insert their credentials in the IdP's website | |
| * - The IdP will redirect to POST /SSO/SAML2 | |
| * - The response is validated | |
| * - A user is created (should check if it exists first) | |
| * - Set the JWT cookie | |
| * - Send HTML response to instruct parent window to close the iframe | |
| */ |