Consider this expression:
x == yThen,
| # coding=utf-8 | |
| """ | |
| LAPZBOT Restful | |
| Handles the inter process communications between Lapzbot and the Console, without having to rely on the database | |
| for Server / User information. This is intended to be run in a thread. | |
| Typical UseCase: | |
| ---------------- | |
| import lapzbotAPI |
| const h2 = document.querySelectorAll("h2"); | |
| const infoH2 = (() => { | |
| for (let i = 0; i < h2.length; i++) { | |
| if (h2[i].innerText === "Information") return h2[i]; | |
| } | |
| })(); | |
| // holds the elements between the Information (H2) and the next H2 | |
| const elList = []; | |
| // start from the element after the H2 | |
| let now = infoH2.nextElementSibling; |
I hereby claim:
To claim this, I am signing this object:
| #!/bin/sh | |
| # A simple shell wrapper for Windows Defender | |
| defender_path="/c/Program Files/Windows Defender/MpCmdRun.exe" | |
| if [ $1 == "--help" ] | |
| then | |
| echo "Usage:" | |
| echo " ./defender_scan /full/path/to/file_or_directory" | |
| echo "Note:" |
| const http = require("http"); | |
| const fs = require("fs"); | |
| const path = require("path"); | |
| const util = require("util"); | |
| const PORT = process.argv[2] || 8080; | |
| const __cwd = process.cwd(); | |
| const _access = util.promisify(fs.access); | |
| const _readdir = util.promisify(fs.readdir); |
| @echo off | |
| set MSYSTEM=MSYS | |
| set MSYS2_PATH_TYPE=inherit | |
| set SHELL=/usr/bin/zsh | |
| set MSYS=winsymlinks:nativestrict | |
| "D:\msys64\usr\bin\zsh.exe" -i --login |
| javascript:(document.querySelectorAll("h1[id],h2[id],h3[id],h4[id],h5[id],h6[id]").forEach(x => x.innerHTML = `<a href="#${x.id}">${x.innerHTML}</a>`)) |
| const generateId = (len=16) => { | |
| const allowedRanges = [[48, 57], [65,90], [97, 122]]; | |
| let str = ""; | |
| let expand = allowedRanges.reduce((acc, each) => { | |
| let [start, end] = each; | |
| let nums = []; | |
| for(let i = start; i <= end; i++) { | |
| nums.push(i); | |
| }; | |
| return acc.concat(nums); |
| /** | |
| * nanoWS | |
| * A very basic websocket client. Its does not fully cover rfc6455 so | |
| * it must not used for any real world work. I wrote it to find out | |
| * how websockets actually worked. | |
| * | |
| * @licence MIT | |
| * @author Jewel Mahanta <[email protected]> | |
| */ |