码迷,mamicode.com
首页 >  
搜索关键字:one    ( 27922个结果
AngularJS开发环境搭建,出hello word
从接触AngularJS到现在已经有1年多的时间期间已经用这个框架开发了大大小小的好几个项目,参考了其他一些项目的结构模版和自己摸索尝试,从一开始项目结构错乱复杂到现在我自认为是比较良好的结构划分,现...
分类:Web程序   时间:2016-12-15 18:18:51    阅读次数:253
PHP isset, array_key_exists配合使用, 并解决效率问题
如果有一个数组, $arr = array('one' => null, 'two' => 1, 'three' => 2); 问题, 如果要判断数组中'one'这个键是否存在..如果单纯用 isset 判断会出现问题 if(isset($arr['one'])){ echo '存在'; }esle ...
分类:Web程序   时间:2016-12-15 14:38:23    阅读次数:182
修改ubuntu系统时区
ubuntu默认时区是Etc/UTC,和我们的北京时间相差8个时区,需要修改系统的时区,以下有两种简单方式修改系统时区: 1.修改/etc/timezone文件 vi /etc/timezone 把Etc/UTC改成Asia/Shanghai,然后保存(:wq),重启机器. 2.使用命令行交互界面修... ...
分类:系统相关   时间:2016-12-15 14:30:39    阅读次数:216
如何优雅的打开文件
文件的基本操作 这里讲主要是讲到如何打开文件,设置文件的打开权限以及方式 打开文件 打开文件的模式有: r,只读模式(默认)。 w,只写模式。【不可读;不存在则创建;存在则删除内容;】 a,追加模式。【可读; 不存在则创建;存在则只追加内容;】 "+" 表示可以同时读写某个文件 r+,可读写文件。【 ...
分类:其他好文   时间:2016-12-15 14:10:57    阅读次数:172
图表,列表在同一DIV里切换显示()
JS: function changeTable(){ $(".countTable").slideDown(); $(".countChart").css("display","none");} function changeChart(){ $(".countChart").slideDown( ...
分类:其他好文   时间:2016-12-15 13:52:31    阅读次数:175
Leetcode: Nested List Weight Sum II
Inspired by: https://discuss.leetcode.com/topic/49041/no-depth-variable-no-multiplication Instead of multiplying by depth, add integers multiple times ...
分类:其他好文   时间:2016-12-15 09:14:29    阅读次数:285
LeetCode 453. Minimum Moves to Equal Array Elements C#
Given a non-empty integer array of size n, find the minimum number of moves required to make all array elements equal, where a move is incrementing n  ...
分类:Windows程序   时间:2016-12-15 07:34:44    阅读次数:233
ckplayer
html: 娇嫩的花.mp4: ...
分类:其他好文   时间:2016-12-15 07:25:55    阅读次数:1206
简单的购物车小程序
1 # -*- coding:utf-8 -*- #简单的购物车小程序 author:李学松 2 shopping_cart =[] 3 product_list_tatol = "---product list----" 4 welcome = "-----------welcome to sho... ...
分类:其他好文   时间:2016-12-15 00:22:24    阅读次数:123
java--调整JVM内存的大小
默认占用:64M的内存 修改内存的方式: 1、某一类,右键选择--Run Configurations 2、选择--Arguments 3、在VM argments中输入内容,如:-Xmx80m ...
分类:编程语言   时间:2016-12-14 21:54:51    阅读次数:334
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!