How to use:
./wordle.sh
Or try the unlimit mode:
| /* | |
| Copyright(c) June 2024 Anderson Mancini | |
| Permission is hereby granted, free of charge, to any person obtaining | |
| a copy of this software and associated documentation files (the | |
| "Software"), to deal in the Software without restriction, including | |
| without limitation the rights to use, copy, modify, merge, publish, | |
| distribute, sublicense, and/or sell copies of the Software, and to | |
| permit persons to whom the Software is furnished to do so, subject to | |
| the following conditions: |
| <head> | |
| <link href="https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css" rel="stylesheet" /> | |
| </head> | |
| <body class="h-full"> | |
| <div class=" | |
| flex | |
| w-full | |
| mt-40 | |
| mb-10 |
| <!-- Goes into viewer.html just before ending </body> --> | |
| <script> | |
| let pinchZoomEnabled = false; | |
| function enablePinchZoom(pdfViewer) { | |
| let startX = 0, startY = 0; | |
| let initialPinchDistance = 0; | |
| let pinchScale = 1; | |
| const viewer = document.getElementById("viewer"); | |
| const container = document.getElementById("viewerContainer"); | |
| const reset = () => { startX = startY = initialPinchDistance = 0; pinchScale = 1; }; |
| <!-- Goes into viewer.html just before ending </body> --> | |
| <script> | |
| let pinchZoomEnabled = false; | |
| function enablePinchZoom(pdfViewer) { | |
| let startX = 0, startY = 0; | |
| let initialPinchDistance = 0; | |
| let pinchScale = 1; | |
| const viewer = document.getElementById("viewer"); | |
| const container = document.getElementById("viewerContainer"); | |
| const reset = () => { startX = startY = initialPinchDistance = 0; pinchScale = 1; }; |
| const express = require('express'); | |
| const session = require('express-session'); | |
| const passport = require('passport'); | |
| const ntlm = require('express-ntlm'); | |
| const ActiveDirectory = require('activedirectory'); | |
| const CustomStrategy = require('passport-custom'); | |
| const PORT = process.env.PORT || 8080; | |
| const adconfig = { |
| import { Pipe, PipeTransform } from '@angular/core'; | |
| @Pipe({name: 'slugify'}) | |
| export class SlugifyPipe implements PipeTransform { | |
| transform(input: string): string { | |
| return input.toString().toLowerCase() | |
| .replace(/\s+/g, '-') // Replace spaces with - | |
| .replace(/[^\w\-]+/g, '') // Remove all non-word chars | |
| .replace(/\-\-+/g, '-') // Replace multiple - with single - | |
| .replace(/^-+/, '') // Trim - from start of text |
| # Generate tile files that can be used with https://www.marzipano.net | |
| # This is a config file for https://krpano.com/tools/kmakemultires/config/ - | |
| flash=false | |
| html=false | |
| xml=false | |
| panotype=autodetect | |
| tilesize=512 |
| <!doctype html> | |
| <html lang="en"> | |
| <body> | |
| <span id="output"></span> | |
| </body> | |
| <script> | |
| (function () { | |
| var workerBlob = new Blob( | |
| [workerRunner.toString().replace(/^function .+\{?|\}$/g, '')], | |
| { type:'text/javascript' } |