avatar
文章
109
标签
41
分类
12
📝主页
📱作品
📬联系
🧑‍💻关于
👋Harry Blog
搜索
📝主页
📱作品
📬联系
🧑‍💻关于

👋Harry Blog

Nginx负载均衡配置
发表于2018-01-24|开发后端|Nginx
Nginx 负载均衡配置 upstream hcon.com { server localhost:8081 weight=10; server localhost:8082 weight=2; server localhost:8083;}server { listen 80; server_name localhost; location / { proxy_pass http://hcon.com }}
Nginx Load Balancing Config
发表于2018-01-24|DevelopmentBackend|nginx
Basic upstream block with weighted round robin and proxy_pass usage.
WeChat Mini Program Location Permission Handling
发表于2017-09-15|DevelopmentFrontend|wechat
Prompt user to re-authorize location in a WeChat Mini Program when permission was previously denied.
微信小程序 兼容用户拒绝获取位置权限 用户拒绝权限处理
发表于2017-09-15|开发前端
微信小程序 兼容用户拒绝获取位置权限 用户拒绝权限处理 function getAuthor() { wx.getSetting({ success(res) { if (!res.authSetting['scope.userLocation']) { wx.openSetting({ success: (res) =>{ console.log(res) if (!res.authSetting['scope.userLocation']) { wx.showModal({ title: '温馨提醒', content: '需要获取您的地理位置才能使用小程序', cancelText: '不使用', ...
JS判断设备 检查手机系统 检测系统
发表于2016-08-15|开发前端
JS 判断设备 检查手机系统 检测系统 if ( /AppleWebKit.*Mobile/i.test(navigator.userAgent) || /MIDP|SymbianOS|NOKIA|SAMSUNG|LG|NEC|TCL|Alcatel|BIRD|DBTEL|Dopod|PHILIPS|HAIER|LENOVO|MOT-|Nokia|SonyEricsson|SIE-|Amoi|ZTE/.test( navigator.userAgent )) { if (window.location.href.indexOf("?mobile") < 0) { try { if (/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)) { window.location.href = "../m/index.html"; } else if (/iPad...
JS Detect Device and Platform via UserAgent
发表于2016-08-15|DevelopmentFrontend|javascript
Legacy userAgent pattern matching to redirect mobile users; prefer feature detection today.
Responsive Viewport Meta Tag
发表于2016-07-15|DevelopmentFrontend|html
Explanation of common viewport meta attributes for mobile responsive layout.
1…141516
avatar
Harry
文章
109
标签
41
分类
12
关于
最新文章
comfyui通过Api请求报错,通过comfyui界面执行正常2025-04-18
ComfyUI workflow fails via API but succeeds in UI2025-04-18
Edit Video Duration Metadata2025-03-16
修改视频元信息时长 duration修改2025-03-16
comfyui gemeni apikey 配置2025-03-15
分类
  • Development50
    • Backend29
      • Database2
    • Frontend19
    • Tools1
  • Note3
  • 开发53
    • 前端21
    • 后端31
      • 数据库3
    • 工具1
  • 随笔3
标签
字体 java video mysql uniapp struct Vue.js jar PHP go wechat 进程/线程 MQTT electron MySQL font canvas emoji php javascript 视频 apicloud vcard comfyui 绘图 ComfyUI vue nginx Go mqtt axios git windows html Nginx ApiCloud payment python concurrency JS
归档
  • 四月 2025 2
  • 三月 2025 3
  • 十月 2024 2
  • 五月 2024 6
  • 五月 2023 2
  • 四月 2023 8
  • 三月 2023 4
  • 十一月 2022 6
© 2017 - 2025 By Harry
搜索
数据加载中