1. Install nginx
2. Install minio
3. Install mc client
$ mc mb myminio/static
Bucket created successfully ‘myminio/static’.
| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
| Version 2, December 2004 | |
| Copyright (C) 2011 Jed Schmidt <http://jed.is> | |
| Everyone is permitted to copy and distribute verbatim or modified | |
| copies of this license document, and changing it is allowed as long | |
| as the name is changed. | |
| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
| var dns = require('dns'); | |
| function reverseLookup(ip) { | |
| dns.reverse(ip,function(err,domains){ | |
| if(err!=null) callback(err); | |
| domains.forEach(function(domain){ | |
| dns.lookup(domain,function(err, address, family){ | |
| console.log(domain,'[',address,']'); | |
| console.log('reverse:',ip==address); |
| # xcode-build-timestamp.sh | |
| # @desc Set a timestamp as the build number when the project is compiled. | |
| # @usage | |
| # 1. Select: your Target in Xcode | |
| # 2. Select: Build Phases Tab | |
| # 3. Select: Add Build Phase -> Add Run Script | |
| # 4. Paste code below in to new "Run Script" section | |
| # 5. Drag the "Run Script" below "Target dependencies" | |
| buildNumber=$(date +%Y%m%d%H%M) |
| #!/usr/bin/env bash | |
| progname=$(basename $0) | |
| version="1.0 (2014-08-17)" | |
| step=2 | |
| function create_hash { | |
| openssl dgst -sha1 -binary <<< "$1" | xxd -p | |
| } |
| package br.com.criativasoft.eduaccess.util; | |
| import android.util.Log; | |
| import java.io.BufferedReader; | |
| import java.io.ByteArrayOutputStream; | |
| import java.io.Closeable; | |
| import java.io.DataOutputStream; | |
| import java.io.IOException; | |
| import java.io.InputStream; |
| /** | |
| * MacEditorTextView | |
| * Copyright (c) Thiago Holanda 2020-2025 | |
| * https://bsky.app/profile/tholanda.com | |
| * | |
| * (the twitter account is now deleted, please, do not try to reach me there) | |
| * https://twitter.com/tholanda | |
| * | |
| * MIT license |
The package that linked you here is now pure ESM. It cannot be require()'d from CommonJS.
This means you have the following choices:
import foo from 'foo' instead of const foo = require('foo') to import the package. You also need to put "type": "module" in your package.json and more. Follow the below guide.await import(…) from CommonJS instead of require(…).