haoqicat.com 源码
- client 浏览器主站
- admin 后台管理系统
- api 服务器端代码
haoqicat.com 代码
Home Page: http://haoqicat.com
haoqicat.com 源码
帐户
ID: admin
PW: 111111
然后到 http://www.hpcasts.com/write_blog 就可以开始写了
This time rails3.1 gives us has_secure_password
, things get much sweeter!
http://railscasts.com/episodes/250-authentication-from-scratch-revised?autoplay=true
又是 rails 社区的
Mainly working on #12
now we have
hpcasts.com/0123-course-name
hpcasts.com/blog/1-site-news
tags or category, this is a question?
http://twitter.github.com/bootstrap/scaffolding.html#responsive
you don't have to write media query yourself, cause bootstrap provides .visible-phone
and the like.
one step one time, learning should be fun!
onestep is just the codename, but I love it, this give me a feeling of solid work.
from @asmcos 这周我准备花钱找个美工制作hpcasts首页面。如何?
There is a super admin named admin
then common users have a "afmin" fileld in db, if it's not Null ( say 1 )
then user.admin?
return true.
On top of that I can use cancan
我的意思就是,照抄 github,除非必要,github 上怎么写,我们就怎么写。
但是:
http://www.youtube.com/watch?v=XZDUWd_ezcI
GA tutotial
From @asmcos
我希望在公益网站首页添加 《千人免费学》 公益活动。
内容:
1. 展现各个学习课程;
2. 点击可以进入到每个课程;
3.课程页面,包含:授课老师,课程资源(教材,视频,网络资源),学生(已经学习的,将要学习的),课程讨论问答
check also issue #25
每次去检查 img url 是否是 200 太慢了,用 File.exists(‘file/patch') 又太死板了。
参照 https://github.com/daqing/rabel 的 has_avatar?
函数
http://jqueryair.com/levels/5 has "chapter list" for each video, nice but not as nice as lynda.com style.
Why not we just have many micro videos, and organize them with a book-like index.
If each video is short, it's also to update some, if some errors occur.
当用户点击某门课时,整个页面刷新,太晃眼。弄成只有播放器部分刷新才爽。
Cool UI design, shared by @asmcos
github 是这种格式的 link:
https://github.com/blog/1311-html-pipeline-chainable-content-filters
由于咱们这里的博客以中文为主,所以就这样吧:
http://hpcasts.com/blog/2
http://openclipart.org/detail/168617/silhouette-of-horse-by-keistutis
I love horses
a lynda.com course on logo design
http://www.lynda.com/Illustrator-tutorials/designing-a-logo-hands-on-workshop/673-2.html
CSS kongfu!
部署工具
@asmcos said it's quite we want.
下面是一些测试用的视频,大家可以创建一门新课测一下。
http://media.happycasts.net/course-name/intro.mov
http://media.happycasts.net/course-name/v1.mov
http://media.happycasts.net/course-name/v2.mov
http://media.happycasts.net/course-name/v3.mov
有一个问题是,在极端糟糕的网络条件下,播放器会只缓冲,不播放。大家在自己的机器上帮我看一下,有没有视频打不开的情况?
@limingth @asmcos @luckyyang
github : github.com/username/projectname
lynda.com: lynda.com/category/classname
udemy: udemy.com/classname
Which is the best for us?
Yes!
by @asmcos
我们做3级页面?
一级:首页,
二级:展示某门课程:例如,rails入门blog, 5天 ,ruby基础的3次课程,rails基础3次课程,数据库,模板,。。。。
三级:展示 ruby基础的3次的第一次,安装和使用
gem 'carrierwave', "~> 0.6.2"
gem 'carrierwave-upyun', '~> 0.1.6'
gem 'rmagick'
gem 'mime-types'
Lynda.com does not have commeting area, and udemy has reviews, not for each of the video, for the whole course.
No light-box, user must be able to write comments while watching the video.
it will be like github
url/happypeter
if user try to signup using my shit in route.rb, like they want to use logout
as his username,
the site will tell him "Username is a reserved word", like github does.
一下是一些知名网站的做法:
lynda.com use 16:9
railscasts.com user 120:75,最早也用 4:3,现在用宽屏,不过比 16:9 窄一点
teamtreehouse 16:9
优酷: 16:9
codeschool.com: 标屏 4:3
by @asmcos
最近我邀请了4、5位好友为hpcasts.com录制视频。
大家会问到:hpcasts.com将来做成什么样?商业?非商业?如果是商业如何盈利?
我把我的想法说说,大家讨论讨论。
hpcasts.com 是提供视频学习的社区。
不仅仅是视频,还有在线编程,在线答题、答疑。
学习内容包含如下:
(1)按照级别分类
基础、中级、高级。也是所谓的从入门到精通。
(2) 按照老师分类
海外IT专家(主要是华人)、国内IT专家、高校老师、普通IT工程师
(3)内容分类
IT基础知识,编程语言,独立项目
费用:
(1) 收费比例
20% 内容 免费
80% 内容 收费
(2)收费方式
包月每个月100-200元,观看任何视频
老师收益:
按照月收入结算;
总收入减去 运营比例(30%)剩下70% 分配给全站老师。
每位老师的费用按单月视频观看量平均分配。
观看量的计算方法:
视频播放5分钟以上才计算次数;
每位学生 重复观看同一视频的只能算1次。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.