win10技巧
1)同步时间地址ntp.sjtu.edu.cn
1)同步时间地址ntp.sjtu.edu.cn
1)给typecho增加编辑当前文件功能,修改index.php或者post.php文件,添加
<li>
<div class="edit">
<?php if($this->user->hasLogin()):?>
<a href="<?php $this->options->adminUrl(); ?>write-post.php?cid=<?php echo $this->cid;?>" target="_blank">编辑</a>
<?php endif;?>
</div>
</li> 1)修改hostsC:\Windows\System32\drivers\etc,更改本地域名指向ip
127.0.0.1 www.huanqiu.com
127.0.0.1 huanqiu.com
127.0.0.1 news.baidu.com
127.0.0.1 baijiahao.baidu.com react入门学习及总结,快速开始 https://zh-hans.reactjs.org/docs/getting-started.html
小程序不兼容背景图片,只能新加一个image来解决问题
<view class="" style="position: relative;">
<image src="xxbg.jpg" style="width: 750rpx;height: 320rpx;position: absolute;"></image>
<view class="" style="position: relative;">
// do something
</view>
</view> <view class="uni-row" style="flex-wrap: wrap;flex-flow: 1;">
<view v-for="(it, idx) in arrSdata" :key="idx" style="padding: 10rpx;width: auto">
<view class="">
<text>{{it}}</text>
</view>
</view>
</view> .field private isFlay:z 定义变量
[!] Unable to add a source with url https://github.com/CocoaPods/Specs.git named
关于CocoaPods,是OS X和iOS下的一个第三方类库管理工具,它的好处这里不多说,主要说下如何安装CocoaPods。
1)v-for 2个一行,一行两列
https://github.com/Tencent/puerts
Unity里面使用Ts,牛逼
点击“Filter”按钮,也就是图中的漏斗形状的按钮。下面会多出一系列选项,这样就显示窗口出来了。
https://flutter.cn 现在学习flutter2,你就是最初的专家,坚持5年肯定飞黄腾达。Flutter 是 Google 开源的 UI 工具包,帮助开发者通过一套代码库高效构建多平台精美应用,支持移动、Web、桌面和嵌入式平台。
基于dart.cn语言,Flutter2可以发布到5个平台。
https://mp.weixin.qq.com/s/tJe2ScLgKWFTybpBtDl2TA
小数点后保留2位小数的正则表达式
一、前提
整数和小数,保留两位小数的正则表达式:/^(([1-9]{1}\d*)|([0]{1}))(\.(\d){0,2})?$/g
jarsigner -verbose -keystore abc.keystore -signedjar abc.apk abc_nosign.apk keyAlias
jarsigner位jdk下的bin目录里面的命令。
1)cmd,ping一下github.com,修改目录C:/Windows/System32/drivers/etc/hosts文件,新增一行13.229.188.59 github.com
2)cmd,输入ipconfig/flushdns刷新DNS缓存解析。搞定!
1) pod install No such module
使用pod以后,项目的旧打开方式就不行了,必须到项目目录里面,打开“项目名. xcworkspace”这种方式来操作项目了.
太久没用mac,这个都忘记了。。。