代码改变世界

随笔档案-2020年11月

mysql source命令可以导入比较大的文件

2020-11-18 21:19 by 在思考中成长, 136 阅读, 收藏,
摘要: mysql>use dbtest;mysql>set names utf8;mysql>source D:/www/sql/back.sql; 阅读全文

开源 小程序

2020-11-18 14:21 by 在思考中成长, 158 阅读, 收藏,
摘要: java https://gitee.com/fuyang_lipengjun/platform https://gitee.com/ZhongBangKeJi node。js https://github.com/iamdarcy https://zhuanlan.zhihu.com/p/1915 阅读全文

React-Native项目在Android真机上调试

2020-11-10 16:52 by 在思考中成长, 157 阅读, 收藏,
摘要: adb devices (查看链接的设备id) adb -s 897879(设备号) reverse tcp:8081 tcp:8081 (当设备断开重新链接) adb reverse tcp:8081 tcp:8081 清数据 gradlew clean 阅读全文

react-native中长度单位换算

2020-11-06 15:47 by 在思考中成长, 320 阅读, 收藏,
摘要: import { Dimensions, Platform } from 'react-native'; //获取屏幕大小 const { width, height } = Dimensions.get("window"); const ScreenWidth = Math.min( width, 阅读全文

webpack 去console

2020-11-04 15:48 by 在思考中成长, 209 阅读, 收藏,
摘要: new UglifyJsPlugin({ uglifyOptions: { compress: { warnings: false, drop_console: true,//console pure_funcs: ['console.log']//移除console } }, sourceMap: 阅读全文