自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(230)
  • 资源 (1)
  • 收藏
  • 关注

原创 android好用的开源demo

IT蓝豹http://www.itlanbao.com/codes.aspx#1,0泡在网上的日子http://www.jcodecraeer.com/

2017-03-16 13:36:33 549

原创 工具类网站

提供一个可以下载app的地址http://fir.im/

2017-02-27 14:17:21 883

原创 前端教程好的自学网站

http://angular-ui.github.io/bootstrap/#!#getting_started汤姆大叔的博客http://www.cnblogs.com/TomXu/javascript作用域 闭包http://www.cnblogs.com/wangfupeng1988/p/3977924.htmlhttp://www.cnblogs.com/PeunZhang/p/45178...

2016-01-18 14:35:37 1294

原创 web图标字体库

http://iconfont.cn/今天无意间看到的一个让我震惊的网址!!这还要啥美工了!!太牛了!!

2016-01-04 15:53:24 2521

原创 Json、FaseJson

JSONArray转为包含Java对象的ListList<T> list = JSONArray.parseArray(jsonArray.toString(),T.class);使用FastJson对JSON字符串、JSON对象、JSONArray及JavaBean之间的相互转换_我的啊民的博客-CSDN博客_fastjson jsonarray

2021-09-16 14:14:19 170

转载 android 将Json数据动态的添加到String[]数组当中

//先声明一个arraylist,保存数据,然后在转换成String[] 数组ArrayList&lt;String&gt; stringArrayList = new ArrayList&lt;String&gt;();    for (int i=0; i&lt;jArray.length(...

2018-03-24 14:11:22 6261

转载 moment.js的使用方法

https://itbilu.com/nodejs/npm/4k1vtctZl.html

2018-03-14 14:26:14 12022

转载 Android开发之多Fragment切换优化

一直在简书里看别人的技术贴,今天我也来写点自己的心得!最近在写一个项目用到大量的Fragment后的总结!我想刚刚接触安卓的同学或许会这么写:FragmentManager     fragmentManager=getSupportFragmentManager();FragmentTransaction fragmentTransaction=fragmentManager.beginTra

2018-01-19 13:43:00 4880

转载 nodejs的http.request使用post方式提交数据请求

https://www.cnblogs.com/sunwubin/archive/2013/11/09/3416246.html官方api文档 http://nodejs.org/docs/v0.6.1/api/http.html#http.request虽然也有POST例子,但是并不完整。直接上代码:http_post.js1234

2017-12-08 11:37:38 31556

转载 Nodejs TimeZone 相关设置(修改时区)

http://blog.csdn.net/u010668495/article/details/50817136这篇文章写于2016年3月,本文叙述的方法在Node新版本中已经无法得到预期结果,请看文末的解决方法旧版本(0.12/5.3.0)最近遇到了时区设置的问题 在Nodejs中,取当前时间(GMT格式)可以使用Datevar GMTDate = new Date(

2017-12-04 11:25:25 16483

转载 JS当前时间推迟半小时的算法

https://segmentfault.com/q/1010000005819688var now = new Date();var time = now.getTime() + 1000*60*30;console.log(new Date(time))

2017-11-28 14:33:30 8114

转载 计算两个时间戳之间相差的时间

https://www.cnblogs.com/gaoxiaoniu/p/5870363.html//功能:计算两个时间戳之间相差的日时分秒//$begin_time 开始时间戳//$end_time 结束时间戳function timediff($begin_time,$end_time){ if($begin_time < $end_time){ $st

2017-11-28 14:09:38 23654 2

转载 javascript 如何判断比较当天24小时的时间大小

function CompareDate(t1,t2) { var date = new Date(); var a = t1.split(":"); var b = t2.split(":"); return date.setHours(a[0],a[1]) > date.setHours(b[0],b[1]); }

2017-11-28 12:57:52 5144

转载 nodejs模块 node-schedule使用,定时任务

http://blog.csdn.net/zzwwjjdj1/article/details/51898257一. 安装npm install node-schedule二. 使用例子通过定时访问url展示首先引入2个模块和访问的方法:[javascript] view plain copy var http     = require(

2017-11-20 17:21:54 9746 3

转载 nodejs模块nodemailer基本使用-邮件发送(支持附件)

转自 http://blog.csdn.net/zzwwjjdj1/article/details/51878392nodemailer是nodejs中的邮件发送模块,本文使用的版本为2.5.0--下载模块npm install nodemailernpm下载模块后,在项目中引入就可以使用: var nodemailer = require('nodemailer');以Q

2017-11-20 11:28:49 2946

转载 NodeJS如何发送HTTPS请求

http://blog.csdn.net/baby97/article/details/49702379微信的接口都使用HTTPS协议,使用NodeJS需创建HTTPS对象.详细使用参考官网文档https://nodejs.org/api/https.html代码如下:[javascript] view plain copy var https = 

2017-11-09 11:31:35 21542

转载 The SDK platform-tools version (24.0.4) is too old to check APIs compiled with API 25

http://blog.csdn.net/janine_z/article/details/62237785刚用 Android Studio 进行开发,感觉比别人慢半拍。打开 AS 在包名的地方老是出现一条红色的波浪线,运行过多次并不影响代码的正确性。 看着很不爽,从网上找了一些方法,挺管用的,分享给大家。解决步骤:1.点开SDK Manager,打开SDK Tools面

2017-09-28 15:04:54 1684

转载 解决Mac上adb: command not found问题

http://blog.csdn.net/weixin_38327562/article/details/71057276使用mac进行开发的时候,有时候需要使用adb指令来进行一些操作,但是如果没有配置过Android环境变量,可能会出现adb: command not found的问题,查了一些资料,这里记录一下mac上配置Android环境变量的方法:打开mac的termin

2017-09-27 14:37:18 1597

转载 AngularJS访问服务器获取数据遍历生成表格,附Demo源码

http://blog.csdn.net/sinat_28147421/article/details/52496185初学angular.js,觉得真是一个强大的前端框架,可结合BootStrap,下面的代码看起来还是挺多,但是除去BootStrap布局代码的话,会精简很多,才学了几天,目前只可以实现排序、筛选、弹窗、全选、取消全选,备注比较全面,适合初学人员,因为从服务器端获取数据需要

2017-09-05 09:29:42 1171

原创 Angularjs表单验证

ng-invalidhttp://itindex.net/detail/51049-angularjshttp://www.cnblogs.com/netxiaohui/p/5768362.html        angular基本操作http://www.cnblogs.com/rohelm/p/4033513.html

2017-09-05 09:27:07 286

原创 angularjs 的一些方法

控制超过文字个数显示“...”http://sparkalow.github.io/angular-truncate/

2017-09-05 09:24:24 365

转载 javascript 日期格式化

function formatDate(date) { var d = new Date(date), month = '' + (d.getMonth() + 1), day = '' + d.getDate(), year = d.getFullYear(); if (month.length < 2) month = '0' + month; if (

2017-09-04 14:21:03 240

转载 angular,使用directive实现,将input的数字保留两位小数,不足两位补0.

https://www.oschina.net/code/snippet_929096_53265angular.module('app').directive('numFormat',function() { return { scope:{ model : '=ngModel' }, link: functio

2017-09-04 14:16:57 2420

转载 angular应用,一个input上有自定义directive和ng-model,怎么在directive更新input的value时更新model

https://segmentfault.com/q/1010000000347476wise.directive('upload', function ($parse) { return { link: function ($scope, iElement, iAttrs, controller) { iElement.upload({

2017-08-17 16:41:58 1387

转载 angularjs filters on ng-model in an input

app.directive('customValidation', function(){ return { require: 'ngModel', link: function(scope, element, attrs, modelCtrl) { modelCtrl.$parsers.push(function (inputValue) {

2017-08-16 13:55:10 386

转载 $state.go页面传递参数

http://studygolang.com/articles/8153方法1A页面向PAGE1页面传递参数id .state('page1', { url: '/page1', templateUrl: 'tpl/page1.html', params: {id:nul

2017-08-02 09:42:57 3353

转载 AngularJS过滤器filter-时间日期格式-渲染日期格式-$filter

http://www.cnblogs.com/BeautifulBoy/p/6257800.htmlhttp://www.cnblogs.com/94cool/p/5895813.html  // new Date() 获取当前时间   yyyy-MM-ddd //是返回的格式 下面会一 一列出 这种返回格式$scope.wwwwwww = $filter(new Date(),

2017-07-25 16:08:12 5915

转载 (译) 在AngularJS中使用的表单验证功能

http://www.cnblogs.com/woshinidezhu/p/Form-validation-with-AngularJS.html验证功能是AngularJS里面最酷炫的功能之一,它可以让你写出一个具有良好用户体验的Web应用。在AngularJS中,有许多用于验证的指令。我们将先学习几个最流行的内置指令,然后再创建一个自定义验证规则的指令。form nam

2017-07-20 17:52:55 289

转载 AngularJS 最常用的八种功能

http://blog.csdn.net/w329300817/article/details/51981955第一 迭代输出之ng-repeat标签ng-repeat让table ul ol等标签和js里的数组完美结合{{person.name}} is {{person.age}} years old.你甚至可以指定输出的顺序:第二 动态

2017-07-20 17:51:40 469

原创 正则表达式

限制文本框只能输入正数,负数,小数onkeyup="value=value.replace(/[^\-?\d.]/g,'')" 限制文本框只能输入正数,小数onkeyup="value=value.replace(/[^\d.]/g,'')"

2017-07-17 10:29:35 327

原创 angularjs UI select 多选后页面闪动的解决方案

.ui-select-multiple.ui-select-bootstrap { height: auto; min-height: 34px; /* padding: 3px 3px 0 3px;*/ padding: 4px 4px 3px 4px;}.ui-select-multiple.ui-select-bootstrap input.ui-sele

2017-07-14 16:49:40 2506

转载 angularjs ui-select 如果select的内容为空 则禁止点击

https://stackoverflow.com/questions/29534698/ui-select-disable-if-emptyI usually use ng-disable on myArray.length to get a 0 or !0 and use it as false and true. Always worked for me. ng-model="m

2017-07-14 15:06:04 3988 1

原创 AngularJs ui select 禁止search

https://angular-ui.github.io/ui-select/demo-disable-search.html参考上面的文档 {{$select.selected.name}}

2017-07-14 14:01:17 1627

转载 在 Angularjs 中 ui-sref 和 $state.go 如何传递参数

http://www.cnblogs.com/jager/p/5293225.html1 ui-sref、$state.go 的区别ui-sref 一般使用在 ...;a ui-sref="message-list">消息中心a>$state.go('someState')一般使用在 controller里面;.controller('firstCtrl', f

2017-07-10 15:37:24 563

转载 jquery滚动条插件slimScroll的使用方法总结

http://blog.csdn.net/qq_31851435/article/details/53096933simScroll插件项目下载地址:https://github.com/rochal/jQuery-slimScrollTIP:1.slimScroll在使用的时候要依赖JQ,所以首次使用的时候要引入JQ再引入simScroll插件2.不支持resiz

2017-06-29 16:17:48 11255

转载 Cordova 3 架构学习 定义plugin

官网文档:http://cordova.apache.org/核心java类CordovaActivity:Cordova Activity入口,已实现PluginManager、WebView的相关初始化工作, 只需继承CordovaActivity实现自己的业务需求。PluginManager: 插件管理ExposedJsApi :JavaScript调用NativeN

2017-06-28 15:50:33 406

转载 Angularjs轻松实现表格按指定列排序

http://www.tuicool.com/articles/q6JJNzy使用Angularjs的过滤器,可以很容易的实现在表格中,点击某一列标题进行排序,实现过程如下:html代码:table class="table table-border" ng-app="myapp" ng-controller="orderByCtrl"> thead>

2017-06-23 11:49:43 2180

转载 细说Angular ng-class

http://www.cnblogs.com/whitewolf/archive/2013/05/22/3092184.html在前面Angularjs开发一些经验总结中我们说到在angular开发中angular controller never 包含DOM元素(html/css),在controller需要一个简单的POJO(plain object javascript object

2017-06-23 11:48:50 301

转载 AngularJS的Filter用法详解

http://www.tuicool.com/articles/vmmeQvj上一篇讲了自定义Directive, 本篇是要讲到AngularJS的Filter。 Filter简介Filter是用来格式化数据用的。Filter的基本原型( '|' 类似于Linux中的管道模式):{{ expression | filter }}Filter可以被链式使用(即连续

2017-06-23 09:26:52 593

转载 Angularjs Filter

http://www.cnblogs.com/lvdabao/p/3475426.htmlhttp://www.tuicool.com/articles/vmmeQvjhttp://www.jb51.net/article/77076.htmhttp://blog.csdn.net/bboyjoe/article/details/50455906过滤器(filt

2017-06-23 09:26:01 313

简单的读写包

这是kettas培训内部资料 kettas_common.jar 对于输入文件有着很好的帮助

2013-04-06

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除