Table Of Contents
- What's a pattern ?
- Positional characters
- Common matching characters
- Ranges, character sets and logic
- Quantifiers
- Capture groups
- Examples
| const fs = require('fs') | |
| const Arweave = require('arweave/node') | |
| const argv = require('yargs').argv | |
| const arweave = Arweave.init({ | |
| host: argv.arweaveHost ? argv.arweaveHost : 'arweave.net', | |
| port: argv.arweavePort ? argv.arweavePort : 443, | |
| protocol: argv.arweaveProtocol ? argv.arweaveProtocol : 'https' | |
| }) |
See https://subject.network/posts/urbit-windows-docker/ for an enhanced take on this guide, with screenshots and more.
| -- We can re-use metatables where possible | |
| local lookupCache = { | |
| __index = function(self, i) | |
| local v = { __index = i } | |
| self[i] = v | |
| return v | |
| end | |
| } | |
| local function use_aho_corasick(automaton, str) |
| local Cached = {} | |
| local Properties = { | |
| "AttachmentForward", | |
| "AttachmentPoint", | |
| "AttachmentPos", | |
| "AttachmentRight", | |
| "AttachmentUp", | |
| "AlignType", | |
| "MaxAngularVelocity", | |
| "MaxTorque", |
| const rcctalk = require("rcctalk") | |
| const path = require("path") | |
| const uuid = require("uuid") | |
| // If you omit the WSDL, then rcctalk will assume that the RCCService instance is a RCCService from 2018 or higher that does not use SOAP and instead uses the newer JSON format. | |
| var client = rcctalk.connect({ ip: "127.0.0.1", port: 64989, wsdl: path.join(__dirname, "RCCServiceSoap.wsdl") }) | |
| /* HelloWorld */ | |
| if (await client.hello() != "Hello World") { |
| using System; | |
| using System.Drawing; | |
| class NameColors | |
| { | |
| private static Color[] BasePalette = { | |
| Color.FromArgb(107, 50, 124), | |
| Color.FromArgb(218, 133, 65), | |
| Color.FromArgb(245, 205, 48), | |
| Color.FromArgb(232, 186, 200), |
| const func = (...args) => args |
| A little help in Smali | |
| (To be supplemented) | |
| # | |
| general information | |
| # | |
| Smali | |
| Types | |
| Dalvik bytecode has two main type classes, primitive types and reference types. Reference types are objects and arrays, everything else is primitive. |
| // ==UserScript== | |
| // @name Git Archive | |
| // @namespace http://wingysam.xyz/ | |
| // @version 2.4 | |
| // @description Mirror every git repo you look at to gitea | |
| // @author Wingy <git@wingysam.xyz> | |
| // @include * | |
| // @grant GM_xmlhttpRequest | |
| // @grant GM_notification | |
| // @grant GM_openInTab |