x250881478 最近的时间轴更新
x250881478's repos on GitHub
Vue · 488 人关注
PhpWebStudy
Powerful Web and PHP Development Environment for macOS
JavaScript · 8 人关注
ImageResize
Mac & Windows下快速批量调整图片尺寸 image resize
JavaScript · 2 人关注
js-scrollbar
js scrollbar 原生代码 自定义样式
JavaScript · 1 人关注
dom-points
DOM Tools Collection, include matrixToDeg pointsDistance pointToLineCross pointToLineDistance pointIsInPolygon polygonIsInPolygon clientDeg clientCenterPoint clientOriginalPoints clientBoundsPoints rectBoundsToRect...
1 人关注
homebrew-extensions
:beers: Homebrew tap for PHP extensions
HTML · 1 人关注
nestjs-i18n-bootstrap
Source code for an online multilingual adaptive website https://www.macphpstudy.com, using nestjs, nestjs-i18n, hbs, bootstrap
JavaScript · 1 人关注
ObjectObserver
JS Object Observer, Build on the basis of ES6 proxy, use like vue's watch. Support circular reference. Can set watch depth and silence watch
0 人关注
3d-book-image-css-generator
Generate a 3D image from a book cover and export to HTML/CSS to embed on your website.
JavaScript · 0 人关注
activity_wap
Java · 0 人关注
City-Android
Swift · 0 人关注
CityQ
0 人关注
ckeditor4
The best enterprise-grade WYSIWYG editor. Fully customizable with countless features and plugins.
0 人关注
CSS3PsExt
JavaScript · 0 人关注
docs
Generate documents from standard comments, Not limited to specific files, specific languages
HTML · 0 人关注
docs.github.io
0 人关注
DynamicQuillTools
DynamicQuillTools is a library that allows you to dynamically add or remove new custom elements to/from a Quill Editor's toolbar. For instance a button or a drop down menu.
0 人关注
elementor
The most advanced frontend drag & drop page builder. Create high-end, pixel perfect websites at record speeds. Any theme, any page, any design.
Java · 0 人关注
hlpp-android
JavaScript · 0 人关注
HLPP_PC
CSS · 0 人关注
HLPP_WAP
Ruby · 0 人关注
homebrew-cask
🍻 A CLI workflow for the administration of macOS applications distributed as binaries
0 人关注
homebrew-php
PHP formulae repo for Homebrew
Ruby · 0 人关注
homebrew-phpwebstudy
JavaScript · 0 人关注
iconfont-maker
0 人关注
image-editor-effects
💎 A WebGL example of image adjustment / effects shaders found in Photoshop, other image editors and game engines.
JavaScript · 0 人关注
jquery.autoscroll
jquery autoscroll jq走马灯插件 无缝循环滚动 上下左右方向 悬停暂停
JavaScript · 0 人关注
js-data-history
0 人关注
nanopop
🍦 Minimalistic, small, positioning engine. Build for high-performance, minimal footprint and maximum control over positioning behavior.
PHP · 0 人关注
php-curl
php curl framework
0 人关注
pickr
🎨 Flat, simple, multi-themed, responsive and hackable Color-Picker library. No dependencies, no jQuery. Compatible with all CSS Frameworks e.g. Bootstrap, Materialize. Supports alpha channel, rgba, hsla, hsva and more!
x250881478

x250881478

V2EX 第 495103 号会员,加入于 2020-06-17 14:09:31 +08:00
x250881478 最近回复了
看你们业务需求 粒度准备控制到多细了, 权限最终就是一个字符串或数字标识 根据这个标识, 前端判断是否能展示, 是否能发起请求. 后端判断是否响应请求.
粗粒度的可以用类似角色这种来控制, 判断的是用户是否是某个角色
细粒度的就可以非常精确了, 可以给页面, 按钮, tab, 接口等全部设置权限标识, 最终根据标识决定用户哪些功能可用
57 天前
回复了 hankli 创建的主题 程序员 纪念一下第一次上榜 GitHub Trending.
恭喜恭喜! 为撒你们的项目都有那么多贡献者. 羡慕啊
我的项目也有 node 版本切换, 支持 nvm 和 fnm. 不过是 GUI 的 https://github.com/xpf0000/PhpWebStudy
根据端口查进程:sudo -S lsof -nP -i:80
把找到的进程, 全部 sudo kill -9 进程 id1 进程 id2 进程 id3...
如果 up 是搞 web 开发, 可以看下我的工具, 自带端口查杀, 进程查杀
https://www.macphpstudy.com/
根据关键词查进程:sudo -S ps aux | grep "nginx"
@msg7086 原来没做这个软件之前, 整天到处找 MAMP pro, 现在只用这个就行. 而且星星这种东西, 谁也不嫌多啊. 当然星星这种东西对我来说确实没什么实际作用, 只是花费心血做的东西, 当然还是希望有人能认可的.
@Zien 确实, 对中国软件的信任问题. 这个完全感受到了. 前一段有个法国老哥, 在脸书群组上发了个帖子推荐这个软件, 一群人的回复就是不信任, 这种观念感觉根深蒂固.
224 天前
回复了 a412501665 创建的主题 酷工作 爬虫工程师兼职 (远程岗位) 3K 到 5K
我看很刑啊, 哈哈
作为上架过 homebrew cask 的人, 连带数据一起删除并不是个好主意, 比如我的软件, 是会创建数据库文件的, 如果和软件放到一起, 用户删除时候, 连个提示都没, 直接就没了, 肯定有问题吧
2023-03-07 11:36:58 +08:00
回复了 spikedingo 创建的主题 程序员 求教如何与 apple store 审核斗智斗勇
参照你们的回复, 自己弄了个方法, 去除 node-pty 生成的 node_gyp_bins 文件夹
electron-builder 配置项里的 afterPack:
afterPack: async (pack) => {
const dir = join(pack.appOutDir, 'PhpWebStudy.app/Contents/Resources')
const optdefault = { env: process.env, cwd: dir }
if (!optdefault.env['PATH']) {
optdefault.env['PATH'] =
'/opt:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin'
} else {
optdefault.env[
'PATH'
] = `/opt:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:${optdefault.env['PATH']}`
}
execSync('asar e app.asar app', optdefault)
execSync('rm -rf app/node_modules/node-pty/build/node_gyp_bins', optdefault)
execSync('rm -rf app.asar', optdefault)
execSync('asar pack app app.asar', optdefault)
execSync('rm -rf app', optdefault)
console.log('afterPack handle end !!!!!!')
return true
}
里面的 PhpWebStudy 换成自己的 app 名字
2022-03-17 11:11:23 +08:00
回复了 x250881478 创建的主题 分享创造 Electron+vue3+element-plus 造个图片尺寸调整应用的轮子
@kunkunzhang 回头看下 如果能解决安装包大小的问题 整体开发难易度适中的话 可以考虑 后续应该会造很多轮子 这些确实都是问题
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2239 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 22ms · UTC 02:44 · PVG 10:44 · LAX 19:44 · JFK 22:44
Developed with CodeLauncher
♥ Do have faith in what you're doing.