码迷,mamicode.com
首页 >  
搜索关键字:angularjs helloworld    ( 8759个结果
AngularJS学习--- 动画操作 (Applying Animations) ngAnimate step 12
1.切换目录git checkout step-12npm start2.效果图这里在点击右边的缩略图时,会有一个很明显的从下向上的动画过程.3.代码实现:step11和step12之间的代码差异:https://github.com/angular/angular-phonecat/compare...
分类:移动开发   时间:2014-05-19 23:43:00    阅读次数:695
AngularJS tutorial - Lesson 2
AngularJS DirectivesDirectivesare one of the most powerful ofAngularJS. They allow us to extend HTML to answer the needs of web applications. Directiv...
分类:Web程序   时间:2014-05-17 15:26:40    阅读次数:436
Java:基础
Hello World //HelloWorld.java文件 public class HelloWorld { public static void main(String[] args) { System.out.println(“Hello World!”); } } 编译运行 javac ...
分类:编程语言   时间:2014-05-16 04:11:27    阅读次数:306
C Primer Plus (第四章总结)
1.定义字符串可以直接在头文件下定义,如:#include<stdio.h>#definehello"helloworld!"2.sizeof()和strlen()sizeof运算符是以字节为单位给出数据的大小,strlen()是以字符为单位给出长度。<string.h>包含许多与字符串相关的函数的原型,包括strlen()sizeof运算..
分类:其他好文   时间:2014-05-16 02:39:31    阅读次数:211
cocos2dx游戏开发学习笔记2-从helloworld开始
一、新建工程 具体安装和新建工程的方法在cocos2dx目录下的README.md文件中已经有详细说明,这里只做简单介绍。 1、上官网下载cocos2dx-3.0的源码,http://www.cocos2d-x.org/ 2、安装python2.7 3、运行setup.py安装 4、执行cocos new helloworld -p helloworld -l cpp,生成新工程...
分类:其他好文   时间:2014-05-15 23:08:25    阅读次数:421
chrome扩展程序开发之在目标页面运行自己的JS
大家都知道JS是运行在客户端的,所以,如果我们自己写一个浏览器的话,是一定可以往下载下来的网页源代码中加入js的。可惜我们没有这个能力。不过幸运的是,chrome的扩展程序可以帮我们做到这件事。本文会做一个chrome插件开发的入门介绍,利用chrome扩展实现在目标网页运行我们的js的功能。关于chrome扩展的详细内容,可以通过官网了解。...
分类:Web程序   时间:2014-05-15 20:24:57    阅读次数:462
C语言回顾一“Hello world”
每个学程序的人都是冲“Helloworld”开始进入神奇编程的世界!简单的代码:#include<stdio.h>intmain(){printf("HelloWorld\n");}#include<stdio.h>将从编译器的安装文件夹下的include文件夹下去搜索stdio.h头文件。stdio.h是标准的输入输出流文件。intmain()是整..
分类:编程语言   时间:2014-05-15 19:09:59    阅读次数:280
cocos2d-x 绘制图形
绘制图形如下:   程序代码: 需要重新定义父类虚函数draw() 1、在HelloWorldScene.h头文件加入: virtual void draw(); 2、定义实现: void HelloWorld::draw() { //add your code.... CHECK_GL_ERROR_DEBUG(); CCSize size = CC...
分类:其他好文   时间:2014-05-15 09:10:32    阅读次数:285
冯斌:JavaFx实例(一)“HelloWorld”
本段代码是JavaFx入门最常见的代码,它的作用是在“窗体”中央显示一个Button按钮,单击这个Button按钮,在控制台输出"HelloWorld",详细代码如下:importjavafx.application.Application; importjavafx.event.ActionEvent; importjavafx.event.EventHandler; importjavafx.scen..
分类:编程语言   时间:2014-05-15 08:51:59    阅读次数:301
AngularJS学习---REST和自定义服务(REST and Custom Services) ngResource step 11
1.切换目录git checkout step-11npm start2.效果图效果图和step 10的没有什么差别,这里主要的改动都是代码,代码做了很多优化,这里效果图就不再贴出来了.3.实现代码step-10和step-11之间的差别:https://github.com/angular/ang...
分类:Web程序   时间:2014-05-15 07:36:21    阅读次数:385
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!