Skip to content

Instantly share code, notes, and snippets.

<div id="checkin-container">
<form action="" method="get" accept-charset="utf-8">
<h3>What are you doing?</h3>
<ul id="checkin-actions" class="">
<li>
<input type="radio" name="site-action" value="action1"/>Action1
</li>
<li>
<input type="radio" name="site-action" value="action1"/>Action2
</li>
@agustinhaller
agustinhaller / extension.js
Created March 12, 2012 15:34
testing gists
@include "https://chkin.at/static/css/style.css"
@include "https://chkin.at/static/js/jquery-ui-1.8.17.custom.min.js"
@include "https://chkin.at/static/js/geoplugin.js"
//window.onerror = function(){return true;};
var sites_list = [],
excluded_list = [],
site_id = null,
$ = $jquery,
<!-- VENU CURRENT KING -->
<div id="venueMayor" class="box translate">
<img src="<?php echo(STATIC_BASE_URL); ?>/images/new_layout/king-crown.png" height="32" width="32" class="mayorIcon" alt="">
<div class="mayorImage">
<a href="<?php echo($venue_king_user_profile_url); ?>">
<img src="<?php echo($venue_king_user_image); ?>" alt="<?php echo($venue_king_user_name); ?>" width="55" class="notranslate" height="55">
</a>
</div>
<p>
King: <strong class="notranslate"><a href="<?php echo($venue_king_user_profile_url); ?>"><?php echo($venue_king_user_name); ?></a></strong>
@agustinhaller
agustinhaller / htacces chkin.at
Created April 9, 2012 18:45
htacces chkin.at
DirectoryIndex index.php
# remove the next 3 lines if you see a 500 server error
php_flag register_globals off
php_flag magic_quotes_gpc off
php_value display_errors 0
FileETag none
ServerSignature Off
<?php
ini_set('display_errors', 1);
ini_set('error_reporting', E_ALL);
require_once("includes/all.inc.php");
?>
<!doctype html>
<div id="wrapper">
<?php
require_once("./templates/top-bar.php");
?>
<div class="wrap information" id="top-message" >
<h4><?php echo translate("COMPLETE_DATA_TO_CREATE_DRAW"); ?></h4>
<p>
<?php echo translate("CREATE_DRAW_HELP_1"); ?>
@agustinhaller
agustinhaller / max_is stuff
Created September 24, 2012 15:03
max_id stuff
function getOrganizerTweets($search_query, $draw_start_date, $draw_end_date, $organizer_username)
{
$search_results_aux = array();
$tmhOAuth = initTmhOAuth($organizer_username);
// print_str($tmhOAuth, $organizer_username." CREDENTIALS");
// Now perform the search
$last_page = 1;
@agustinhaller
agustinhaller / fancybox
Created September 28, 2012 15:06
fancybox
// Open all mighty fancybox
$.fancybox(
'<div id="create-rule-wrapper">'+
'<div class="top-message blue">'+
'<h4 class="title"><?php echo translate("DEFAULT_HINT_TITLE", null, null, false); ?></h4>'+
'<div class="description">'+
'<p>'+
'<?php echo translate("DEFAULT_HINT_DESCRIPTION", null, null, false); ?>'+
'</p>'+
'</div>'+
@agustinhaller
agustinhaller / follow
Created September 28, 2012 16:43
follow
function followUser($user_id, $tw_username_to_follow)
{
$response_array = array();
$tmhOAuth = new tmhOAuth(array(
'consumer_key' => TWITTER_CONSUMER_KEY,
'consumer_secret' => TWITTER_CONSUMER_SECRET,
));
$response_array = array(
<?php
$config = array();
$config["site_url"] = "JuegoKickButtowski.com.ar";
$config["site_name"] = "JuegoKickButtowski.com.ar";
$config["full_domain"] = "http://juegokickbuttowski.com.ar";
$config["domain_extension"] = "com";
$config["domain_country"] = "ar";
$config["primary_keyword"] = "Juegos de KICK BUTTOWSKI";
$config["secondary_keyword"] = "KICK BUTTOWSKI";