Skip to content

Instantly share code, notes, and snippets.

View Epotignano's full-sized avatar
🎯
Focusing

Emiliano Potignano Epotignano

🎯
Focusing
View GitHub Profile
<nav-bar>
<dropdown class="visible-sm"></dropdown>
</nav-bar>
<side-bar class="col-md-3 hidden-sm">
<!--- elements of the menu -->
</side-bar>
<div class="container-fluid">
<div class="row">
<!-- the messages -->
<div>
<div>
<ul>
<li ng-repeat="message in ctrl.room.messages">
{{message.author}}: {{ message.content }}
</li>
</ul>
</div>
var binaryTree = new BTree(values) //values are a collection of values for the node of the binaryThree
var recursiveIteration = function(node, numberToSearch) {
if(node.value == numberToSearch) return node.position;
if(!!node.leftChild.exists() && !!node.rightChild.exists()) return 'Nothing matchs, check other branch'
recursiveIteration(node.child)
}
var searchValInTree = function (numberToSearch, tree ) { //number is the value to search
var top = tree.level(1)
serv.match = function(collection,propertyToMatch, query) {
var sync;
/*if(propertyToMatch.indexOf(".") != -1) {
var properties = propertyToMatch.split(".");
sync = $firebase(ref.child(collection).child(properties[0]).child(properties[1]).orderByChild(properties[1]).startAt(query).endAt(query+"~"));
} else {*/
sync = $firebase(ref.child(collection).orderByChild(propertyToMatch).startAt(query).endAt(query+"~"));
// }
var matchPromise = $q.defer();
/************** schemas/usersSchema *************
var mongoose = require('mongoose');
var Schema = require('mongoose').Schema;
var bcrypt = require('bcrypt-nodejs')
var util = require('util');
var fashionTypes = require('../configs/referenceValues').fashionTypes;
function AbstractUserSchema() {
Schema.apply(this, arguments);
// adentro de la directiva
$http.get(/*URL a donde pedis los datos*/)
.success(function(response){
scope.var = response
})
.error(function(response){
/**Handle error**/
})
Hello Daniel, I'm having a problem when I'm trying to run the server in my machine, I have ruby2.0.0 in Ubuntu 14.04
Bundler can't install this:
Gem::InstallError: byebug requires Ruby version >= 2.0.0.
An error occurred while installing byebug (2.7.0), and Bundler cannot continue.
Make sure that `gem install byebug -v '2.7.0'` succeeds before bundling.
When I run this