This file contains hidden or 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
/** | |
* Basic Login Updates Styles | |
* by White Whale Web Services | |
* http://whitewhale.net | |
* When using this file, place it in a /styles sub-folder of the module folder | |
* containing the above PHP file so that it can be found by the module code. | |
**/ | |
/* Card Styles */ |
This file contains hidden or 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
\livewhale (backend) | |
\client | |
\modules | |
\login_updates | |
\private.application.login_updates.php (contents below) | |
\styles | |
\login_updates.css (contents below) | |
\core | |
... |
This file contains hidden or 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
function convertCharset($contents) { | |
iconv_set_encoding("internal_encoding", "ISO-8859-15"); | |
iconv_set_encoding("output_encoding", "ISO-8859-1"); | |
ob_start("ob_iconv_handler"); | |
echo $contents; | |
$contents = ob_get_clean(); | |
$contents = strtr($contents, array( | |
"\x80" => "e", | |
"\x81" => " ", | |
"\x82" => "'", |
This file contains hidden or 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
<?php | |
$_LW->REGISTERED_APPS['public_notifier']=array( | |
'title'=>'PublicNotifier', | |
'handlers' => array('onAfterPublicSubmission') | |
); | |
class LiveWhaleApplicationPublicNotifier { | |
// These two arrays are for including the users and/or groups that |
This file contains hidden or 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
# GET /entries/:hashtag/receiver | |
# POST /entries/:hashtag/receiver.json | |
def receiver | |
if request.method == 'GET' and !params['hub.challenge'].blank? and params['hub.mode'] == 'subscribe' | |
if !params['hub.verify_token'].blank? | |
game = Game.find_by_token(params['hub.verify_token']) | |
if !game.nil? and game.hashtag == params[:hashtag] | |
render :status => 200, :text => params['hub.challenge'] | |
else | |
InstagaMe::Log.rails "bad token match for #{params['hub.verify_token']}; returning status 406" |
This file contains hidden or 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
# Services # | |
############ | |
*.sassc | |
.sass-cache | |
# Generic # | |
########### | |
/log/* | |
/tmp/* | |
/pids/* |
NewerOlder