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
{{block type="evlike/cms_like" template="evlike/likebutton.phtml" name="cms.likebutton"}} | |
<div class="sidepromo ladies"> | |
<a href="http://www.ilovebrandsoutlet.com/index.php/brands/g-star-raw.html" class="promo-item"> | |
</a> | |
<a href="http://www.ilovebrandsoutlet.com/index.php/accessories/belts.html" class="promo-item bottom"> | |
</a> | |
</div> | |
<div class="bigimage image_carousel"> | |
<div id="foo ladies"> | |
<a href="/footwear.html" id="slide1"></a> |
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
(function() { | |
var giftAa, giftAb, giftQ; | |
giftQ = function() { | |
var buttons, giftBut1, giftBut2, q; | |
wipeConsole(); | |
saveProgress("giftQ"); | |
q = "You must be looking to buy a gift for a very lucky man. But there are two ways to do this "; | |
newQ(q); |
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
function getRealIpAddr() | |
{ | |
if (!empty($_SERVER['HTTP_CLIENT_IP'])) //check ip from share internet | |
{ | |
$ip=$_SERVER['HTTP_CLIENT_IP']; | |
} | |
elseif (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) //to check ip is pass from proxy | |
{ | |
$ip=$_SERVER['HTTP_X_FORWARDED_FOR']; | |
} |
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
'use strict'; | |
var ngMaleApp = angular.module('ngMaleApp', ['MyDirectives','DataServices','ui']) | |
.config(['$routeProvider', function($routeProvider) { | |
$routeProvider | |
.when('/', { | |
templateUrl: '/male/views/menu', | |
controller: 'MainCtrl' | |
}); | |
}]); |
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
NB: this is being generated by the server side MVC, so url is brandid.macbook.pro/male | |
<!-- deleted lots of header stuff --> | |
<body> | |
<div id="maleContainer" class="container withShadow"> | |
<div class="maleApp" ng-app="ngMaleApp"> | |
<div class="content" ng-view> | |
</div> |
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
// NEW ACCOUNT NOTIFICATION | |
<?xml version="1.0" encoding="UTF-8"?> | |
<new_account_notification> | |
<account> | |
<account_code>test@getbrandid.com</account_code> | |
<username nil="true"></username> | |
<email>test@getbrandid.com</email> | |
<first_name>a</first_name> | |
<last_name>a</last_name> |
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
FB.getLoginStatus(function(response) { | |
if (response.status === 'connected') { | |
alert("yes am connected"); | |
} else if (response.status === 'not_authorized') { | |
alert("logged into facebook but not authorized your app"); | |
} else { | |
alert("not logged into facebook"); | |
} | |
}); |
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
var crypto = require('crypto') | |
, uuid = require('node-uuid'); | |
function recurly () { | |
} | |
recurly.prototype.sign = function (privateKey, params) { | |
var protectedString = makeProtectedString(params); | |
var secureHash = makeHash(privateKey, protectedString); | |
var signature = secureHash+"|"+protectedString; |
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
info: Creating snapshot 0.0.1-22 | |
info Uploading: [=============================] 100% | |
info: Updating app shinobi | |
error: Error running command deploy | |
error: Nodejitsu Error (500): Internal Server Error | |
warn: Error returned from Nodejitsu | |
error: Error: App domain already exists | |
error: at module.exports.show.updateCounts.(anonymous function).updateCounts.(anonymous function) (/root/nodejitsu/lib/nodejitsu/resources/app/controller/update.js:89:28) | |
error: at Resource._request (/root/nodejitsu/node_modules/resourceful/lib/resourceful/resource.js:184:13) | |
error: at Function.Resource.runAfterHooks (/root/nodejitsu/node_modules/resourceful/lib/resourceful/resource.js:93:12) |
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
// You can do that in your Chrome Console | |
// Load the initial object, like an Attempt | |
var attempt = new Parse.Object("Attempt"); | |
attempt.id = "myId"; | |
attempt.fetch(); | |
// Get the relation "handler" from the attempt object | |
var relation = attempt.relation("products"); |