Giter Site home page Giter Site logo

haoduoshipin's Introduction

jekyll site

haoduoshipin's People

Contributors

billie66 avatar dependabot[bot] avatar happypeter avatar itsalongstory avatar robinhwang avatar seabornlee avatar yesmeck avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

haoduoshipin's Issues

capistrano

now deployment is a big pain, since I need to do the following manually

ssh 
git pull
rake assets:precompile
apachectl graceful

signup form

Use some js to do validation of password things

cache image

why it's so fast to open ruby-china.org frontpage?
and images on happycasts/users take a year to load?

happycasts.net trys to get images from gravatar.com, while ruby-china local-cached for these avatars.

DEPRECATION WARNING: plugin

peter:~/cc$ rails generate mailer HappyMailer
DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released.

asset pipeline, and browers cache

Now I have this in application.css:

@import "vendor/pygments";
@import "vendor/bootstrap_and_overrides";
@import "peter"

peter.css.scss is not working in my chrome, and it works in my firefox, puuuu, messy

login throgh github failed

NoMethodError in UsersController#login_with_github

undefined method `strip' for nil:NilClass

Rails.root: /home/peter/happycasts
Application Trace | Framework Trace | Full Trace

app/models/user.rb:57:in `strip_blanks'
app/models/user.rb:24:in `create_from_omniauth'
app/controllers/users_controller.rb:26:in `login_with_github'

Request

Parameters:

{"code"=>"e60696decd7040e7f375",
 "state"=>"",
 "provider"=>"github"}

sublimevideo

move the test site top of http.conf, then point firefox localhost, then I can test sublimevideo locally

email subscribe

But I already have RSS feed, how can I check my rss subscibers?

Too slow

chrome developer tool tells me:

  1. the tokyo machine takes much longer to response than the US machine
  2. all the pics takes lots of time to download, better to use sprite, or use a web hosting service to host my images
  3. js files is the same, time to use production mode from asset pipline

how to handle revsied episodes

railscasts add a position db attr to handle this, the logic is quite complex, I am now prefer just treat it as a whole new episode, all I need is to add a link on the first version of the episode, nice enough, clean enough.

remove twitter bootstrap

I now hate bootstrap, I will replace all the feathers I use in my code, and remove it finally

  1. too slow to load
  2. my time will be better spent to learn some real css skill, not reading BS often-changing docs

No edit button for new comment

it's ajax issue, when you want to edit the comment you submitted just now, you won't get the buttons,
have to refresh.

video player

sublime video is too slow in China, and also you can not test it locally, that's also stupid, so close issue #10
now going to check jplayer.

TODO:

  1. still too many clicks to get the video play, the "play" button should do autoplay for me
  2. horrible background
  3. space to pause and resume
  4. prettify things a bit

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.