Stella981 Stella981
4年前
ShellScript值传递参数
Shell传递参数摘自菜鸟教程:http://www.runoob.com/linux/linuxshellpassingarguments.html(https://www.oschina.net/action/GoToLink?urlhttp%
Wesley13 Wesley13
4年前
IOS 用户登录界面
导航AppDelegate.hAppDelegate.mViewController.hViewController.muserEnterView.xibAppDelegate.himport<UIKit/UIKit.h@class(http://my.oschina.net/liwenlong7758)View
Wesley13 Wesley13
4年前
15 个编程热点,和15 个渐冷的趋势
http://www.infoworld.com/article/2609017/applicationdevelopment/applicationdevelopment15hotprogrammingtrendsand15goingcold.htmltk.ifwinfsb(https://www.oschina.net/act
Wesley13 Wesley13
4年前
Java获取IP地址
importjava.net.Inet4Address;importjava.net.InetAddress;importjava.net.NetworkInterface;importjava.util.Enumeration;importjavax.servlet.http.HttpSe
Wesley13 Wesley13
4年前
ng配置301及反向代理示例
server{listen80;server_namefpb.com;return301http://www.fpb.com$request_uri;}server{listen80;
Stella981 Stella981
4年前
SpringBoot解决跨域的问题
最近用Axios做get请求时发现前台报XMLHttpRequestcannotloadhttp://127.0.0.1:8080/sayHello.No'AccessControlAllowOrigin'headerispresentontherequestedresource.Origin'http://127.0.
Stella981 Stella981
4年前
Angular2记录
对象转Observableimport'rxjs/add/observable/of'Observable.of(1,2,3)http请求后做处理import{map,catchError}from'rxjs/operators'
Wesley13 Wesley13
4年前
IOS之UI
1、循环利用cell的ID设置位置写错了。导致程序奔溃。!(http://static.oschina.net/uploads/img/201603/11172236_1E9t.png)2、对于除数算法,可以直接算出结果的就写上结果,不要偷懒写式子让计算机自己算,更何况是除数,会有算出无限小数的可能性。!(http://static.os
Wesley13 Wesley13
4年前
valgrind及graphviz分析c++性能瓶颈
使用valgrind进行性能分析,过程如下:\\\@Ubuntu(http://my.oschina.net/u/555627):~/Performance$valgrindtoolcallgrind./mt\7389Callgrind,acallgraphgeneratingcachepro
Stella981 Stella981
4年前
Devicemapper 源码分析和流程
整个流程大体如下:!(http://static.oschina.net/uploads/img/201506/05170153_QuAn.jpg)创建thinpool//Thisistheprogrammaticexampleof"dmsetupcreate"funccreatePool(poolNamestring,