- Create project using the below commands.
npm create vite@latest my-project-name
> Vanilla
> JavaScript
; Version: 2023.04.20.1 | |
; Usages and examples: https://redd.it/s1it4j | |
Ini(Path, Sync := true) { | |
return new Ini_File(Path, Sync) | |
} | |
class Ini_File { |
{ | |
home.file."test-file" = { | |
text = "Hello world"; | |
force = true; | |
mutable = true; | |
}; | |
} |
国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。Docker 官方和国内很多云服务商都提供了国内加速器服务。
Dockerized 实践 https://github.com/y0ngb1n/dockerized
Ubuntu 16.04+、Debian 8+、CentOS 7+
Hex | ChainId (Decimal) | Network | |
---|---|---|---|
0x1 | 1 | Ethereum Main Network (Mainnet) | |
0x3 | 3 | Ropsten Test Network | |
0x4 | 4 | Rinkeby Test Network | |
0x5 | 5 | Goerli Test Network | |
0x2a | 42 | Kovan Test Network | |
0xAA36A7 | 11155111 | Sepolia Testnet | |
0x89 | 137 | Polygon Main Network | |
0x13881 | 80001 | Mumbai Test Network | |
0xA86A | 43114 | Avalanche C-Chain Main Network |
How to make an application icon for macOS using
iconset
&iconutil
import UIKit | |
import AVFoundation | |
class VideoWriter { | |
fileprivate var writer: AVAssetWriter | |
fileprivate var writerInput: AVAssetWriterInput | |
fileprivate var pixelBufferAdaptor: AVAssetWriterInputPixelBufferAdaptor | |
fileprivate let queue: DispatchQueue | |
static var ciContext = CIContext.init() // we reuse a single context for performance reasons | |
For some reason IDA executes FreeLibrary() to the plugin immediately after getting its PLUGIN structure's address, so later invocations of the plugin lead to calls to nowhere (that was supposed to be python3.dll). Simply patching the location of the FreeLibrary() call fixes the issue. The location is easy to find: go by cross-references to a place where the call to FreeLibrary is followed by a reference to the string "%s: incompatible plugin version..." and NOP it away.
/* arrows */ | |
.arrow-right {background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAJUlEQVR42mNgAILy8vL/DLgASBKnApgkVgXIkhgKiNKJ005s4gDLbCZBiSxfygAAAABJRU5ErkJggg==") no-repeat scroll 0 0 transparent} | |
.arrow-bottom {background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAG0lEQVR42mNgwAfKy8v/48I4FeA0AacVDFQBAP9wJkE/KhUMAAAAAElFTkSuQmCC") no-repeat scroll 0 0 transparent} |