Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
import SwiftUI | |
struct SmashableView: NSViewRepresentable { | |
typealias NSViewType = _SmashableNSView | |
let text: String | |
class _SmashableNSView: NSView { | |
# 你可以从该 URL 下载这个配置文件: http://surge.run/config-example/ios.conf | |
# 用编辑器编辑后,再通过 iTunes, URL, AirDrop 或者 iCloud Drive 复制回 iOS 设备 | |
# Version 2.0 | |
[General] | |
# 日志等级: warning, notify, info, verbose (默认值: notify) | |
loglevel = notify | |
# 跳过某个域名或者 IP 段,这些目标主机将不会由 Surge Proxy 处理。(在 macOS | |
# 版本中,如果启用了 Set as System Proxy, 那么这些值会被写入到系统网络代理 | |
# 设置中.) |
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<parent> | |
<groupId>net.gtidev.sandbox</groupId> | |
<artifactId>boot101</artifactId> | |
<version>1.0-SNAPSHOT</version> |
var fs = require("fs"); | |
var fd = fs.openSync("template.html","r"); | |
fs.readFile("template.html", {encoding:"utf-8"},function(err,data){ | |
if(err) { | |
console.err("error in open file with:" + err); | |
return; | |
} | |
data = data.replace(/\n/g, '\\n') | |
.replace(/<%=([\s\S]+?)%>/,function(match,code){ | |
return "' + " + code + " + '"; |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.