Skip to content

Instantly share code, notes, and snippets.

View naeluh's full-sized avatar
🌐
Busy

nick hulea naeluh

🌐
Busy
View GitHub Profile
<?php
require ('mollom.php');
Mollomss::setPublicKey('key');
Mollomss::setPrivateKey('key');
$servers = Mollomss::getServerList();
Mollomss::setServerList($servers);
if(Mollomss::checkCaptcha($_POST[mollom_captcha_id], $_POST[mollom_captcha_val])){
function mollomCaptcha() {
var mollom_captcha = $("#mollom_input");
var mollom_captcha_id = $("#captcha_id");
mollom_captcha.keyup(function () {
console.log(mollom_captcha.val());
$.post("/mollom_check.php", {
mollom_captcha_val: mollom_captcha.val(),
mollom_captcha_id: mollom_captcha_id.val()
}, function (data) {
<?php
require ('/path/to/mollom.class.inc');
class MollomMyPlatform extends Mollom {
public function loadConfiguration($name) {
<!DOCTYPE HTML>
<!--
Strongly Typed 1.1 by HTML5 UP
html5up.net | @n33co
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
-->
<html>
<head>
<title></title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
@naeluh
naeluh / gist:9904276
Created March 31, 2014 22:59
captcha.php
<?php
class MollomMyPlatform extends Mollom
{
public function loadConfiguration($name)
{
// You may also hard-code your settings like this:
$config = array(
<?php
class MollomMyPlatform extends Mollom
{
public function loadConfiguration($name)
{
// You may also hard-code your settings like this:
$config = array(
@naeluh
naeluh / index.html
Created August 20, 2014 19:07
Gif Painting Working 082014 Updated // source http://jsbin.com/lehiyo/2
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="Gif Painting Working 082014 Updated" />
<meta charset="utf-8">
<title>JS Bin</title>
<style id="jsbin-css">
canvas {
position:absolute;
top:0px;
@naeluh
naeluh / index.html
Created September 19, 2014 22:07
Test JSON.minify() // source http://jsbin.com/koyut/1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Test JSON.minify()</title>
<script type="text/javascript" src="http://d19f655061aacf3d944b-31672e88ffa6478039e94d7b09f1f706.r22.cf5.rackcdn.com/json2.js"></script>
<script type="text/javascript" src="http://d19f655061aacf3d944b-31672e88ffa6478039e94d7b09f1f706.r22.cf5.rackcdn.com/minify.json.js"></script>
</head>
@naeluh
naeluh / index.html
Created September 24, 2014 07:14
Golf Course Reserve Run - Poland, OH // source http://jsbin.com/wofowa/48
<!DOCTYPE HTML>
<html lang="en-gb" dir="ltr" data-config='{"twitter":0,"plusone":0,"facebook":0,"style":"121"}'>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<base href="" />
<meta name="keywords" content="Reserve Run - Poland, OH" />
<meta name="author" content="1-2-1 Development" />
<meta name="description" content="Reserve Run - Poland, OH" />
@naeluh
naeluh / index.html
Created September 24, 2014 07:16
Golf Course Reserve Run - Poland, OH // source http://jsbin.com/wofowa/48
<!DOCTYPE HTML>
<html lang="en-gb" dir="ltr" data-config='{"twitter":0,"plusone":0,"facebook":0,"style":"121"}'>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<base href="" />
<meta name="keywords" content="Reserve Run - Poland, OH" />
<meta name="author" content="1-2-1 Development" />
<meta name="description" content="Reserve Run - Poland, OH" />