随笔分类 -  HTML5 JavaScript CSS

摘要:关于Email的预备知识:原贴地址:http://www.cnblogs.com/lonelycatcher/archive/2012/02/09/2343480.html#########################################################################可以使用Python的email模块来实现带有附件的邮件的发送。SMTP (Simple Mail Transfer Protocol) 邮件传送代理 (Mail Transfer Agent,MTA) 程序使用SMTP协议来发送电邮到接收者的邮件服务器。SMTP协议只能用来发送. 阅读全文
posted @ 2013-07-22 23:59 spaceship9 阅读(2442) 评论(0) 推荐(0) 编辑
摘要:This tutorial is copied from youtube.comHere is the link: http://www.youtube.com/watch?v=RXqo3lC-JPI&list=PL6-GrNvaJuAhLWFJVwCC2qHCECEWUJtU6&index=5I uploaded it to youku.comHope you guys enjoy it.And here is the source codes:Take notice of the list comprehensions :[v for k, v in something.i 阅读全文
posted @ 2013-06-24 23:52 spaceship9 阅读(890) 评论(0) 推荐(0) 编辑
摘要:很有用的命令。很给力的说。http://vim.wikia.com/wiki/Making_a_list_of_numbers我在 html中需要增加新的标签的时候,就有用到过。原来的html代码为: <div class="edit_box" id="box1"> <label> <h1 class="title">Title1</h1> <p class="description">很好</p> </label> ... 阅读全文
posted @ 2013-06-21 01:05 spaceship9 阅读(919) 评论(0) 推荐(0) 编辑
摘要:how to make them work together?To make jQuery can request to different domain-name server, we use $.ajax and other things.For example here:Basic Ajax in jQuery: http://learn.jquery.com/ajax/jquery-ajax-methods/------------------------ the link above includes examples about how to manipulate json wit 阅读全文
posted @ 2013-06-13 19:58 spaceship9 阅读(578) 评论(0) 推荐(0) 编辑
摘要:the lastest Django framework is 1.5.1 while some references are still based on previous distributes.You could find the newest guideness here: https://docs.djangoproject.com/en/1.5/howto/deployment/wsgi/modwsgi/But you may need some old references since the lastest one can't cover most.Here is a 阅读全文
posted @ 2013-06-11 17:56 spaceship9 阅读(449) 评论(0) 推荐(0) 编辑
摘要:http://learn.jquery.com/javascript-101This is really helpful for people to learn JavaScript. JS has nothing to do with Java actually !And some JS data operationing methods are somehow very handy just like other programming languages such as PHP, python and etc.. You could find its awesome functional 阅读全文
posted @ 2013-06-10 19:17 spaceship9 阅读(265) 评论(0) 推荐(0) 编辑
摘要:this is an easy implementation of "tuple to JSON"并不是所有的东西都能转换为一个JSON字符串。例如,方法就不能转换为JSON,不过所有的基本类型,比如数字、字符串和数组都可以转换。下面创建一个对象,然后把它转换为一个串。 1 function Movie(title, genre, rating, showtimes) { 2 this.title = title; 3 this.genre = genre; 4 this.rating = rating; 5 this.showtimes = showtimes... 阅读全文
posted @ 2013-05-29 02:18 spaceship9 阅读(519) 评论(0) 推荐(0) 编辑
摘要:Learned a lot. Gonna compose more tonight. 03:55 P.M. 阅读全文
posted @ 2013-05-28 15:55 spaceship9 阅读(109) 评论(0) 推荐(0) 编辑
摘要:先写一个关于定位时间测试的程序,看看到底花了多长时间定位的。timeout_test.html 1 <!-- 2 To change this template, choose Tools | Templates 3 and open the template in the editor. 4 --> 5 <!DOCTYPE html> 6 <html> 7 <head> 8 <title></title> 9 <meta http-equiv="Content-Type" content=&qu 阅读全文
posted @ 2013-04-04 13:38 spaceship9 阅读(230) 评论(0) 推荐(0) 编辑
摘要:marker on google MapsPage 186在谷歌地图上增加你的地理坐标。更多有关Google Maps JavaScript APIhttp://code.google.com/apis/maps/documentation/javascript/使用方法如下。需要在原来的基础上增加一个方法在上一篇博客的showMap()函数中。是加入function addMarker(map, position, title, content){}map => map = new google.maps.Map(mapDiv, mapOptions); 是用谷歌地球api创建的 特定 阅读全文
posted @ 2013-04-03 09:00 spaceship9 阅读(550) 评论(0) 推荐(0) 编辑
摘要:终于来到第五章了,这里将学习怎么调用谷歌地球的API,在HTML5中实现地理定位。This is so freakin' exciting!!!!终于来了。前面几章还好有面向对象的经验,所以看起来并不是很痛苦,很快就看完了。javascript的函数有很多。先学习怎么用,拿来主义是坐标。好了,开始辉煌的第五章了。开始实现HTML位置感知!!!-----------------------------02:15 A.M.-----------------------------------------Google Maps API 是Google 提供的一个javascript 库,与需 阅读全文
posted @ 2013-04-02 02:59 spaceship9 阅读(640) 评论(0) 推荐(0) 编辑
摘要:On Page 113看到140页实在看不下去了。javascript有很强的格式化功能。这本书把变量叫成对象object。对象这个词意也太浑浊了。js是一个非常不严谨的语言。用法倒是不少,看起来很痛。前端来说,还需要套用很多模板才行。简单的浏览器交互,还是直接拿来用好点,如果是build from scratch, 真是太killing brain了。————————————————————April 1st, 04:54 P.M. To Be Continued---------------------------- 阅读全文
posted @ 2013-04-01 04:54 spaceship9 阅读(168) 评论(0) 推荐(0) 编辑
摘要:on page 85现在分别贴出代码playlist.htmlplaylist.jsplaylist_store.jsplaylist.css他们的代码。放到一个文件夹下playlist.html 1 <!-- 2 To change this template, choose Tools | Templates 3 and open the template in the editor. 4 --> 5 <!DOCTYPE html> 6 <html lang="en"> 7 <head> 8 <title>&l 阅读全文
posted @ 2013-04-01 03:19 spaceship9 阅读(416) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示