使用MySQLdb遇到以下错误 ImportError: dlopen(/Users/jackey/Documents/Xiaomi/Code/wda_python/lib/python2.7/site-packages...mysql.so, 2): Library not loaded: /usr/local/mysql/lib/libmysqlclient.20.dylib Referenced from: /Users/jackey...usr/local/mysql/lib/libmysqlclient.20.dylib 我们看下_mysql.so是怎么找的 (wda_python) bash-3.2$ otool -L /Users/jackey.../Documents/Xiaomi/Code/wda_python/lib/python2.7/site-packages/_mysql.so /Users/jackey/Documents/Xiaomi...change /usr/local/mysql/lib/libmysqlclient.20.dylib /usr/local/mysql/lib/libmysqlclient.21.dylib /Users/jackey
Checking Service Status) API: curl -X GET $JSON_HEADER $DEVICE_URL/status 使用示范: Jackeys-MacBook-Pro:~ jackey...}, "sessionId" : "FB941AE9-551D-437E-A376-191DDDB354FB", "status" : 0 }Jackeys-MacBook-Pro:~ jackey...}, "sessionId" : "C7844276-1CB0-4165-9621-65B9B1E10E64", "status" : 0 }Jackeys-MacBook-Pro:~ jackey...session) API: curl -X GET $JSON_HEADER $DEVICE_URL/session/$SESSION_ID 使用示范: Jackeys-MacBook-Pro:~ jackey...}, "sessionId" : "C7844276-1CB0-4165-9621-65B9B1E10E64", "status" : 0 }Jackeys-MacBook-Pro:~ jackey
示例1: 一维数组 import numpy as np a = np.array([1,2,3]) print a 输出: /usr/bin/python2.7 /Users/jackey/Documents...示例2:二维数组 import numpy as np a = np.array([[1,2,3],[4,5,6]]) print a 输出: /usr/bin/python2.7 /Users/jackey...示例3:二维数组 import numpy as np a = np.array([1,2,3],ndmin = 2) print a 输出: /usr/bin/python2.7 /Users/jackey...numpy as np a = np.array([1,2,3],ndmin = 2, dtype = complex) print a 输出: /usr/bin/python2.7 /Users/jackey...a = np.array([(10,),(20,),(30,)], dtype=dt) print(a) print(a['age']) 输出: /usr/bin/python2.7 /Users/jackey
进去,打开 id_rsa.pub,复制里面的 key vi /Users/jackey/.ssh/id_rsa.pub 复制里面的所有内容, 然后回到github网页选择setting ?...key按钮完成添加 现在回到终端, 测试下是否能连接到github服务器 ssh -T git@github.com 看到这样的提示就说明设置好了 bogon:ZXTabBarController jackey...ZXTabBarController.git 推送文件到远程仓库 git push -u origin master 显示100%. done就可以了 bogon:ZXTabBarController jackey
获取设备已安装app的bundleID ideviceinstaller -l 演示: Jackeys-MacBook-Pro:/ jackey$ ideviceinstaller -l Total:...Jackeys-MacBook-Pro:Code jackey$ 2....打开里面就是我们的Documents目录 使用umount可卸载 umount /Users/jackey/Documents/Xiaomi/myapp 4....如果需要自动提取沙盒日志,这里我们可以写脚本使用挂在的目录去获取里面的内容 Jackeys-MacBook-Pro:xiaoailite jackey$ pwd /Users/jackey/Documents...tmp Jackeys-MacBook-Pro:xiaoailite jackey$
1 jackey staff 17M 11 13 10:57 codis-admin -rwxr-xr-x 1 jackey staff 18M 11 13 10:56 codis-dashboard...-rw-r--r-- 1 jackey staff 5B 11 21 18:06 codis-dashboard.pid -rwxr-xr-x 1 jackey staff 16M...11 13 10:57 codis-fe -rw-r--r-- 1 jackey staff 5B 11 21 18:24 codis-fe.pid -rwxr-xr-x 1 jackey...-r-- 1 jackey staff 5B 11 21 18:08 codis-proxy.pid -rwxr-xr-x 1 jackey staff 1.1M 11 13 10:...56 codis-server -rwxr-xr-x 1 jackey staff 98K 11 13 10:56 redis-benchmark -rwxr-xr-x 1 jackey
================== platform darwin -- Python 2.7.15, pytest-4.1.0, py-1.7.0, pluggy-0.8.0 -- /Users/jackey...Documents/iOS/code/iOS-Auto/MyPyEnv/wda_python/bin/python2.7 cachedir: .pytest_cache rootdir: /Users/jackey...================== platform darwin -- Python 2.7.15, pytest-4.1.0, py-1.7.0, pluggy-0.8.0 -- /Users/jackey...Documents/iOS/code/iOS-Auto/MyPyEnv/wda_python/bin/python2.7 cachedir: .pytest_cache rootdir: /Users/jackey...============== warnings summary ============================================================ /Users/jackey
Jenkins 首先检查是否有Jenkins依赖的java环境 java -version 出现java version "1.8.xx"说明已经安装了java Jackeys-MacBook-Pro:~ jackey...1.8.0_101-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode) Jackeys-MacBook-Pro:~ jackey...javase/downloads/jdk8-downloads-2133151.html 检查是否有安装HomeBrew brew -v 有显示brew版本就可以 Jackeys-MacBook-Pro:~ jackey...2019-01-18) Homebrew/homebrew-cask (git revision 2d5950; last commit 2019-01-18) Jackeys-MacBook-Pro:~ jackey...com.apple.finder AppleShowAllFiles YES 直接编辑查看初始密码,密码最好备份一下,后续可能会用到(18c9aa9ac364481cb8a588a07ad03aa1) vi /Users/jackey
================== platform darwin -- Python 2.7.15, pytest-4.1.0, py-1.7.0, pluggy-0.8.0 -- /Users/jackey...Documents/iOS/code/iOS-Auto/MyPyEnv/wda_python/bin/python2.7 cachedir: .pytest_cache rootdir: /Users/jackey...================== platform darwin -- Python 2.7.15, pytest-4.1.0, py-1.7.0, pluggy-0.8.0 -- /Users/jackey...Documents/iOS/code/iOS-Auto/MyPyEnv/wda_python/bin/python2.7 cachedir: .pytest_cache rootdir: /Users/jackey...================== platform darwin -- Python 2.7.15, pytest-4.1.0, py-1.7.0, pluggy-0.8.0 -- /Users/jackey
查看下adnroid sdk tools的版本 Jackeys-MacBook-Pro:~ jackey$ ls ~/Library/Android/sdk/build-tools 29.0.0 #4...输入aapt检查是否配置成功 Jackeys-MacBook-Pro:~ jackey$ aapt Android Asset Packaging Tool Usage: aapt l[ist] [...使用aapt获取apk的包名 aapt dump badging 示例: Jackeys-MacBook-Pro:desktop jackey$ aapt dump badging
last): File "setup.py", line 17, in metadata, options = get_config() File "/Users/jackey...MySQL-python-1.2.5/setup_posix.py", line 43, in get_config libs = mysql_config("libs_r") File "/Users/jackey
创建索引 curl -X PUT "localhost:9200/jackey?...方式一: curl -X PUT "localhost:9200/jackey?...curl -X DELETE "localhost:9200/jackey?pretty" 你可以在路径中指定具体索引,也可以使用通配符,需要删除多个索引时,可以使用逗号分隔。...具体的操作如下: curl -X POST "localhost:9200/jackey/_open?...pretty" curl -X POST "localhost:9200/jackey/_close?
Redis怎么执行Lua脚本 EVAL命令 Redis中可以使用EVAL命令执行相应的Lua脚本 > EVAL 'local val="Hello Jackey" return val' 0 "Hello...Jackey" 你可以像这样在交互模式下执行Lua脚本,这样更方便处理错误。...1] local result=greet.." "..name return result > redis-cli --eval hello.lua my_name , Hello "Hello Jackey
的请求参数和get相同,只是需要在请求体中指定doc的相关检索条件 request GET /_mget { "docs" : [ { "_index" : "jackey...", "_id" : "1" }, { "_index" : "jackey", "_id" :..."2" } ] } response { "docs" : [ { "_index" : "jackey", "_type" : "_doc...user" : "ja", "tool" : "ES", "message" : "qwer" } }, { "_index" : "jackey
class ManagerTest { public static void main(String[] args) { Manager boss = new Manager("Jackey...System.out.println("名字 = " + staff.getName() + ", 薪水 = " + staff.getSalary()); } } } 程序运行后打印输出结果为: 名字 = Jackey
最近新申请了一台iPhone XR, 测试时发现使用ideviceinstaller命令老是报错: Jackeys-MacBook-Pro:~ jackey$ ideviceinstaller -u 00008020...autogen.sh --disable-openssl make sudo make install 这样就OK了, 再试试操作手机 Jackeys-MacBook-Pro:ideviceinstaller jackey
5 def method(): 6 return jsonify({'Result': 'OK'}) 7 8 app.run(port=8100,ssl_context=('/Users/jackey.../Downloads/BackHomeServer/server.crt', '/Users/jackey/Downloads/BackHomeServer/server.key')) 好了, 上面这些就差不多做了个简单的
============ platform darwin -- Python 2.7.15, pytest-4.1.0, py-1.7.0, pluggy-0.8.0 rootdir: /Users/jackey...============ platform darwin -- Python 2.7.15, pytest-4.1.0, py-1.7.0, pluggy-0.8.0 rootdir: /Users/jackey...>>>>>>>>>>>>>> entering PDB >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > /Users/jackey...============ platform darwin -- Python 2.7.15, pytest-4.1.0, py-1.7.0, pluggy-0.8.0 rootdir: /Users/jackey
length needs to be 40 characters 如下: ifuse -u 0000xx20-001250C80xx1002E --container com.xxxx.xxxx /Users/jackey
127.0.0.1:6379> SET key1 "jackey" OK 127.0.0.1:6379> SET key2 "zhe" OK 127.0.0.1:6379> DEL key1 key2...如果值不存在则会返回nil 127.0.0.1:6379> SET key1 "jackey" OK 127.0.0.1:6379> DUMP key1 "\x00\x06jackey\b\x00\xec...127.0.0.1:6379> SET key1 "jackey" OK 127.0.0.1:6379> SET key2 "zhe" OK 127.0.0.1:6379> EXISTS key1 (integer...127.0.0.1:6379> MSET key1hello jackey key2hello zhe age 3 OK 127.0.0.1:6379> KEYS key?
领取专属 10元无门槛券
手把手带您无忧上云