随笔分类 -  HTML/css/js/nodejs/apicloud

摘要:Amaze UI Admin 404 Examples 取消 fasd fasd2 fasd3 fasd4 阅读全文
posted @ 2016-08-26 16:38 Ali.Blacken
摘要:if(isset($_SERVER["HTTP_X_REQUESTED_WITH"]) && strtolower($_SERVER["HTTP_X_REQUESTED_WITH"])=="xmlhttprequest"){ // ajax 请求的处理方式 }else{ exit( "invalid call 1!... 阅读全文
posted @ 2016-08-25 16:22 Ali.Blacken
摘要:Amaze UI Admin 404 Examples Amaze UI 后台管理模板 导航切换 收件箱 5 管理员 ... 阅读全文
posted @ 2016-08-21 16:55 Ali.Blacken
摘要:var db = openDatabase('MyData','','My Database',102400); //首先它创建一个数据库表,里面有3个字段 db.transaction(function(tx){ tx.executeSql('CREATE TABLE IF NOT EXISTS InfoData(name TEXT,info TEXT,... 阅读全文
posted @ 2016-07-14 18:30 Ali.Blacken
摘要:CentOS系统更换软件安装源第一步:备份你的原镜像文件,以免出错后可以恢复。 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup第二步:下载新的CentOS-Base.repo 到/etc/yu 阅读全文
posted @ 2016-06-22 15:54 Ali.Blacken
摘要:if ((navigator.userAgent.match(/(MicroMessenger)/i))) { //微信浏览器 //location.href=""; } else if ((navigator.userAgent.match(/(iPhone|iPod|ios|iPad)/i))) { //苹果设备 //... 阅读全文
posted @ 2016-06-22 10:57 Ali.Blacken
摘要:1、在/ThinkPHP/Library/Think 目录下 新建一个文件,名为: BaseController.class.php 2、BaseController.class.php 内容为 3、把Controller 改为BaseController ,如以下代码 阅读全文
posted @ 2016-06-07 16:10 Ali.Blacken
摘要:Amaze UI Widget ... 阅读全文
posted @ 2016-06-03 17:01 Ali.Blacken
该文被密码保护。
posted @ 2016-05-14 23:02 Ali.Blacken
摘要:for($i=1;$i=0;$j--){ if($result[$j]['PNL']>$tmp){ $result[$j+1] = $result[$j] ; }else{ break; } ... 阅读全文
posted @ 2016-05-14 23:01 Ali.Blacken
摘要:Highstock Example 阅读全文
posted @ 2016-05-14 23:01 Ali.Blacken
摘要:百度云 search HTML5-upload.zip 阅读全文
posted @ 2016-05-14 23:00 Ali.Blacken
摘要:<?php header("Content-type:text/html;charset=utf-8"); //配置信息 $cfg_dbhost = 'localhost'; $cfg_dbname = 'demos'; $cfg_dbuser = 'root'; $cfg_dbpwd = 'roo 阅读全文
posted @ 2016-05-14 22:58 Ali.Blacken
摘要:thinkphp 多对多 数据库配置: ThinkPHP/Conf/convention.php 1 2 3 4 { backgroud:red; } { backgroud:red; } 根据表单插入 1 2 3 4 5 6 7 8 9 10 11 12 $Form = D('think_form 阅读全文
posted @ 2016-05-14 22:57 Ali.Blacken
摘要:进入 http://nwjs.io/ 下载 创建web项目,在项目根目录 创建文件package.json并填写 1 2 3 4 5 6 7 { "name": "nw-demo", "main": "abc.html", "window": { "toolbar": true //这个选项对于开发 阅读全文
posted @ 2016-05-14 22:55 Ali.Blacken
摘要:桌面通知 通知内容: 阅读全文
posted @ 2016-05-14 22:53 Ali.Blacken
摘要:html5:在创建html时为了防止页面缩放等不兼容效果,要创建个viewport <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initia 阅读全文
posted @ 2016-05-14 22:09 Ali.Blacken
摘要:1创建APP ID 等 2创建pruduction创建证书,用 这个证书导出P12格式的。。 3profile 证书,选 APP STORE AD-HOC ok... http://docs.apicloud.com/APICloud/%E6%8A%80%E6%9C%AF%E4%B8%93%E9%A 阅读全文
posted @ 2016-05-14 22:08 Ali.Blacken