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
| import math | |
| regex = 'parameter_1' | |
| user_function = math.sqrt(math.sqrt(16) * math.sin(0.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
| regex = 'parameter_1' | |
| def serialize_function(func): | |
| pass | |
| def foo(): | |
| user_function = '' \ | |
| 'test_to_print = \'HELLO WORLD\' \n' \ |
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
| nav class="navbar navbar-default" role="navigation" id="nav" | |
| div class="container-fluid" | |
| <!-- Brand and toggle get grouped for better mobile display --> | |
| div class="navbar-header" | |
| button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" | |
| span class="sr-only" Toggle navigation | |
| span class="icon-bar" | |
| span class="icon-bar" | |
| span class="icon-bar" |
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
| .secondary-nav-place { | |
| width: 100%; | |
| height: 60px; | |
| position: fixed; | |
| top: 109px; | |
| left: 0; | |
| min-width: 160px; | |
| padding: 5px 0; | |
| margin: 0 auto; | |
| background-color: $gray-darker; |
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
| getFiltersOnPage: function(urlArray, callback) { | |
| var arrayOfFilters = []; | |
| console.log(urlArray); | |
| (itr = function() { | |
| if (urlArray.length > 0) { | |
| var temp = urlArray.pop(); | |
| request(temp.Url, function(err, resp, body) { |
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
| saveGunListings: function(arrayOfAuctionItems, callback) { | |
| if (err) { | |
| console.log("Error connecting to DB: " + err); | |
| } else { | |
| (itr = function() { | |
| if (arrayOfAuctionItems.length > 0) { | |
| var temp = arrayOfAuctionItems.pop(); | |
| console.log(temp); | |
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
| $("#hugo").click(function(e) { | |
| var data = $("#urlForm").serialize(); //saves current form element | |
| console.log("REQ: " + data); | |
| $.post("/add_new_url", data, function(data, textStatus,jqXHR) { | |
| // console.log("RES: " + JSON.stringify(data)); | |
| console.log(data); | |
| }); | |
| }); |
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
| /* sites.js */ | |
| var | |
| mongoose = require('mongoose') | |
| , Schema = mongoose.Schema | |
| , update = require('./updates') | |
| ; | |
| //Define the site model | |
| var siteSchema = new Schema({ | |
| client: String, |