This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action( 'init', 'usefulpa_add_kakao_provider_to_wsl' ); | |
function usefulpa_add_kakao_provider_to_wsl() { | |
if ( function_exists ('wsl_version') ) { | |
global $WORDPRESS_SOCIAL_LOGIN_PROVIDERS_CONFIG; | |
$WORDPRESS_SOCIAL_LOGIN_PROVIDERS_CONFIG[] = ARRAY( | |
"provider_id" => "Kakao", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter( 'validate_username', 'usefulpa_validate_username_fix' ); | |
function usefulpa_validate_username_fix( $valid, $username ) { | |
if ( empty($username) ) return false; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// main.js | |
// Change Underscore's default delimiters | |
// 'cause ERB-style delimiters aren't my cup of tea | |
// http://documentcloud.github.io/underscore/#template | |
_.templateSettings = { | |
interpolate: /\{\{(.+?)\}\}/g | |
}; | |
var App = (function() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// In a post context | |
<?php $img = get_feed_meta('face'); if (strlen($img) > 0): ?> | |
<img src="<?=$img?>" alt="" /> | |
<?php endif; ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<meta property="og:title" content="기업용으로 활용가능한 오픈소스 SNS 솔루션들" /> | |
<meta property="og:site_name" content="유스풀패러다임" /> | |
<meta property="og:description" content="시중에 출시되어 있는 많은 소셜 네트워킹(SNS) 솔루션들 중 기업이나 공공기관, 학교, 비영리단체 등 조직 내부에서 사용할 수 있는 오픈소스 기반 SNS 솔루션들을 몇 가지 소개합니다." /> | |
<meta property="og:type" content="article" /> | |
<meta property="og:url" content="http://usefulparadigm.com/2011/06/21/oss-social-networking-solutions-for-enterprise/" /> | |
<meta property="og:image" content="http://usefulparadigm.com/wp-content/uploads/2011/06/yammericon1.jpg" /> | |
<meta property="fb:admins" content="[여기에 관리자 ID를 등록합니다]" /> | |
<meta property="fb:app_id" content="[여기에 APP_ID를 등록합니다]" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
inside('app/assets/javascripts') do | |
run "mkdir models" | |
run "mkdir views" | |
run "mkdir routes" | |
run "touch app.js" | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<Module> | |
<ModulePrefs title="HelloWorld"> | |
<Require feature="opensocial-0.9"/> | |
</ModulePrefs> | |
<Content type="html"> | |
<![CDATA[ | |
Hello World! | |
]]> | |
</Content> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html xmlns:fb="https://www.facebook.com/2008/fbml"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Fan Event</title> | |
<script src="http://code.jquery.com/jquery-1.6.2.min.js" type="text/javascript"></script> | |
</head> | |
<body> | |
<div id="fb-root"></div> | |
<script src="http://connect.facebook.net/ko_KR/all.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%%%------------------------------------------------------------------- | |
%%% @author Martin & Eric <erlware-dev@googlegroups.com> | |
%%% [http://www.erlware.org] | |
%%% @copyright 2008-2010 Erlware | |
%%% @doc RPC over TCP server. This module defines a server process that | |
%%% listens for incoming TCP connections and allows the user to | |
%%% execute RPC commands via that TCP stream. | |
%%% @end | |
%%%------------------------------------------------------------------- |
OlderNewer