- What is Growth Hack
- Customer Life Cycle
- Landing Page
- What is Landing Page
- Different types of Landing Page
- Copywriting
- Headline
- Tagline
- Resource
- Unbounce.com
require 'rubygems' | |
require 'yiban' | |
require 'tx_nlp' | |
keyword = ARGV[0] | |
json = Yiban::Text.new(keyword).json | |
title_list_array = json["title_list"] | |
new_array = title_list_array.sort_by { |hash| hash["score"] }.reverse |
Jim: What I really like is that there are so many Ruby podcasts out there that are newsy. This one dives into technical issues, and I really enjoy that.
Charles: Hey everybody, and welcome back to the Ruby Rhodes podcast. This is your host Charles Max Wood, and this week on our panel we have a special guest rogue. I met him at the Rocky Mountain Ruby Conference in Boulder. He actually suggested this week's topic, so we're going to welcome Jim Weirich to the podcast.
Jim: Thanks for having me. Glad to be here.
Charles: Do you want to introduce yourself really quickly Jim for those one or two people that don't know who you are?
Jim: Sure, absolutely. Jim Weirich. I'm from Cincinnati, Ohio. I've been doing Ruby for over ten years now. I work for EdgeCase. I'm the chief scientist, and I've probably written software that you are using, such as Rake and various mocking frame works and some XML builder stuff, too. You're probably using some of my code somewhere.
Hedge Fund Legend Ray Dalio On The Economy-5C43i3yclec.mp4
对冲基金联想-5C43i3Cyec.mp4
[00:00:00] Ray D'Alessio is the founder and chief investment officer of Bridgwater the world's largest and most successful hedge fund and he is a best selling author. Coming off the launch of principles which we'll talk about in a minute but Ray welcome. I see you've written one of the largest and I have no doubt most comprehensive analysis of debt crises that I have ever seen. You say this pattern repeats itself again
下一周我们全公司整间要搬迁,搬迁到一个新的地方去,离现在我们这个地方不是很远,但是它是一个沉淀了我们太多的劳累,总之就是那些词吧,你懂得。
各种不堪,各种光荣与梦想,但是我们觉得在搬迁之前,最应该跟大家交代的是我们干过的那些傻事,傻逼事,不靠谱的事,为什么要说这个话题?很多人都在问我们,说你们公司怎么创业几年来干什么,什么成,快刀每次遇到这个话,都会不怀好意的怼回去,说你是没看到我们干不成的那些事,我们没说而已。
所以上个星期我们就跟快刀商量,说要不你就梳理梳理,为什么让快刀梳理呢?因为我们想的任何一件不靠谱的主意,最后都是落实到快刀,要把它做在产品和技术上,所以他那儿的档案保存是最全的,翻他的工作日志就知道我们这个公司做了多少不靠谱的事,所以今天我们就是这个主题。
我们先请快刀来跟大家说说我们干了哪99件,但是99我估计是一个约略的数,只是为了凑个整,挑出来的这么一个数,其实远远不止,当然在快刀之前我必须声明,虽然傻逼事都是他干的,但是责任不归他,因为大多数傻逼事都是我想的。
class Users::OmniauthCallbacksController < Devise::OmniauthCallbacksController | |
def self.provides_callback_for(*providers) | |
providers.each do |provider| | |
class_eval %{ | |
def #{provider} | |
Rails.logger.warn(request.env["omniauth.auth"]) | |
if not current_user.blank? | |
current_user.bind_service(request.env["omniauth.auth"])#Add an auth to existing | |
redirect_to edit_user_registration_path, :notice => "成功绑定了 #{provider} 帐号。" |
class User | |
module OmniauthCallbacks | |
["slack"].each do |provider| | |
define_method "find_or_create_for_#{provider}" do |response| | |
uid = response["uid"] | |
data = response["info"] | |
if identity = Authorization.where("provider" => provider, "uid" => uid).first | |
user = identity.user |