首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往
您找到你想要的搜索结果了吗?
是的
没有找到

国外轻量级开源论坛系统vanilla Forums介绍

简介: vanilla Forums 是一套php+Mysql开源论坛。它的特点在于各种配置,功能,操作界面风格(Themes)都很简洁,素雅。另外vanilla默认会在首页中直接列出所有贴子,按照时间顺序,把最新的讨论贴放在最前面和概念中的论坛相比更加像博客。vanilla所有的功能和模块都是通过应用(Applications)和插件(plugins)来实现,是一款灵活的轻量级论坛程序。 这两天都是在捣鼓这个东西,再加上家里有人来装修什么的,原本的计划都被打乱了。最初看到vanilla Forums(注目:不是吃的草莓……)是在煎蛋最初的论坛上面,当然那时还不知道这就是vanilla Forums,正式知道叫做vanilla Forums还是在09年的时候,当时在家无聊,于是就想搭个论坛玩玩什么的(当然后来并没有实行),当时国内的主流论坛程序大概有下面这些吧:phpwind 、Discuz、Dvbbs 、BBSMAX、BBSXP等,但一直以来都觉得这些论坛程序大多都是臃肿恶心的,尤其是当时SNS大行其道,有些论坛自然也连SNS也功能也整合进去了实在是无法忍受,现在回看,这些论坛带SNS的模式没有多少个是成功的。而我心中的论坛,外观上最起码应该是百度贴吧或者天涯或者水木清华或者小百合那样的,方便简单、明了直观。

02

一个sql生成hive日期维度表

set hive.execution.engine=tez; with dates as ( select date_add("2010-01-01", a.pos) as d from (select posexplode(split(repeat("o", datediff("2030-12-31", "2010-01-01")), "o"))) a ) insert overwrite table dim.dim_date select     d   , date_format(d, 'yyyyMMdd000000') as to_pt            -- 指定分区格式   , date_format(d, 'yyyyMMdd')       as date_yyyymmdd   , trunc(d,'MM')                    as month_first_day    , last_day(d)                      as month_last_day   , date_format(last_day(d),'yyyyMMdd000000')   as month_last_pt   , date_format(d, 'yyyyMM')  as month_yyyymm   , date_format(d, 'yyyy-MM') as month_yyyy_mm   , month(d) as month   , date_format(d, 'u') as week   , date_format(d, 'E') as week_long      , weekofyear(d) as week_of_year   , year(d) as year   , floor(substr(d,6,2)/3.1)*3+1 as quarter   -- , concat_group('"',date_format(d, 'yyyyMM'),'"') as date_yyyymmdd_list   -- 低版本hive group_concat 不可用 from dates

03
领券