全文搜索
标题搜索
全部时间
1小时内
1天内
1周内
1个月内
默认排序
按时间排序
为您找到相关结果35个

详解iOS使用Keychain中的kSecClassGenericPassword存储数据_IOS_脚本...

__OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_2_0); extern const CFStringRef kSecClassInternetPassword __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_2_0); extern const CFStringRef kSecClassCertificate __OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_2_0); extern const CFStringRef...
www.jb51.net/article/981...htm 2025-3-22

node.js文件操作系统实例详解_node.js_脚本之家

在linux、osx上,fs.watch()监听的是inode。如果文件被删除,并重新创建,那么删除事件会触发。同时,fs.watch()监听的还是最初的inode。(API的设计就是这样的) 结论:怎么看都感觉这个API很不靠谱,虽然性能比fs.watchFile()要高很多。 先来个例子,在osx下测试了一下,简直令人绝望。。。无论是创建、修改、删除文...
www.jb51.net/article/1735...htm 2025-3-23

编写shell脚本将VPS上的数据备份到Dropbox网盘的方法_linux shell_脚本...

#Returns the free space on DropBox in bytes function db_free_quota { $CURL_BIN $CURL_ACCEPT_CERTIFICATES -s --show-error --globoff -i -o "$RESPONSE_FILE" --data "oauth_consumer_key=$APPKEY&oauth_token=$OAUTH_ACCESS_TOKEN&oauth_signature_method=PLAINTEXT&oauth_signature=$APPSECRET%26$...
www.jb51.net/article/686...htm 2025-3-24

在Mac OS下搭建LNMP开发环境的步骤详解_php技巧_脚本之家

Accept-Ranges: bytesnginx的相关操作如下:1 2 sudo nginx //启动nginx sudo nginx -s reload|reopen|quit //重新加载|重启|退出四、安装php-fpm 因为brew并没有php-fpm的源,所以首先要添加源:1 2 brew tap homebrew/dupes brew tap homebrew/php然后...
www.jb51.net/article/1080...htm 2025-3-18

linux烧写、配置、搭建Edison环境_Linux_脚本之家

Download [===] 100% 4194304 bytes Flashing U-Boot Download [===] 100% 237568 bytes Flashing U-Boot Environment Download [===] 100% 65536 bytes Flashing U-Boot Environment Backup Download [===] 100% 65536 bytes Rebooting to apply partition changes...
www.jb51.net/article/1282...htm 2025-3-22

Linux中dd命令使用实例教程_Linux_脚本之家

0+1 records in 0+1 records out 296 bytes (296 B) copied, 0.00203881 s, 145 kB/s #与拆分前的文件进行校验 [oracle@rhel6 ~]$ diff 1.sql db1_db_links.sql [oracle@rhel6 ~]$6、在输出文件中指定的位置插入数据,而不截断输出文件需要使用conv=notrunc参数 1...
www.jb51.net/article/1142...htm 2025-3-5

详解golang执行Linux shell命令完整场景下的使用方法_Golang_脚本之家

var stdoutBuf, stderrBuf bytes.Buffer cmd := exec.Command("bash", "-c", "for i in 1 2 3 4;do echo $i;sleep 2;done") stdoutIn, _ := cmd.StdoutPipe() stderrIn, _ := cmd.StderrPipe() var errStdout, errStderr error stdout := io.MultiWriter(os.Stdout, &stdoutBuf) stder...
www.jb51.net/article/2536...htm 2025-3-19

在Mac OS上搭建Nginx+PHP+MySQL开发环境的教程_php实例_脚本之家

'$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for"'; access_log /usr/local/var/log/nginx/access.log main; port_in_redirect off; sendfile on; keepalive_timeout 65; include /usr/local/etc/nginx/conf.d/*.conf; }default.conf文件内容,1...
www.jb51.net/article/767...htm 2025-3-25

基于python调用psutil模块过程解析_python_脚本之家

顾名思义,psutil = process and system utilities,它不仅可以通过一两行代码实现系统监控,还可以跨平台使用,支持Linux/UNIX/OSX/Windows等,是系统管理员和运维小伙伴不可或缺的必备模块。 代码如下 oshelper.py 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28...
www.jb51.net/article/1768...htm 2025-3-7

Vue详细的入门笔记_vue.js_脚本之家

-moz-osx-font-smoothing: grayscale; text-align: center; color: #2c3e50; margin-top: 60px; } (四) Vue + ElementUi 基本使用 创建名字为 vue_03_vue_elementui 的项目,同时安装 vue-router、e1ement-ui、sass-loader 、node-sass 插件 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 # 创建...
www.jb51.net/article/2118...htm 2025-3-21