Skip to content

Instantly share code, notes, and snippets.

Pablo Cornehl seinoxygen

Block or report user

Report or block seinoxygen

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
seinoxygen / fb-subscription.htm
Created Oct 20, 2014
Suscribe via Facebook Connect
View fb-subscription.htm
<div id="fb-root"></div>
<script src=""></script>
appId : 'APP_ID',
status : true, // check login status
cookie : true, // enable cookies to allow the server to access the session
xfbml : true // parse XFBML
seinoxygen / comment.php
Last active Dec 27, 2015
Simple function to avoid junk content in comments.
View comment.php
* Return how much compression was applied to the comment.
function repetitive($comment){
if(strlen($comment) / strlen(gzcompress($comment)) > 10) {
return true;
return false;
You can’t perform that action at this time.