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
ImportError: dlopen(/Library/Python/2.6/site-packages/_ldap.so, 2): Symbol not found: _ldap_create_assertion_control_value | |
Referenced from: /Library/Python/2.6/site-packages/_ldap.so | |
Expected in: flat namespace | |
in /Library/Python/2.6/site-packages/_ldap.so |
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
require 'formula' | |
class OpenldapLibs < Formula | |
url 'ftp://ftp.OpenLDAP.org/pub/OpenLDAP/openldap-stable/openldap-stable-20100719.tgz' | |
homepage 'http://www.openldap.org/' | |
md5 '90150b8c0d0192e10b30157e68844ddf' | |
version '2.4.23' | |
def install |
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 script=document.createElement('script');script.type='text/javascript';script.src='http://thekeesh.com/js/edges.js';document.getElementsByTagName('body')[0].appendChild(script);}()) |
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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#define TAM 100 | |
#define INF (0x3f3f3f3f) | |
int city[TAM][TAM], custo[TAM], visitados[TAM], n; | |
void dijkstra(int s, int d) { | |
int i, atual, minimo; |
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
//Selecionando o select pelo ID e configurando o popover. | |
$("#select").popover({html: "true", trigger: "manual", position: 10, placement: "right"}); | |
$("#select").mouseover(function() { | |
var self = $(this); | |
var html = ''; | |
$.get( | |
'/path/to/get', function(data) { | |
for(var i = 0; i < data.length; i++) { | |
html+='<li>'+data[i].info+'</li>'; |
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
<script src="1.4.0/bootstrap-popover.js"></script> | |
<select id="select" rel="popover" data-original-title="Título do popover"> </select> |
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 Controller() { | |
var self = this; | |
this.infos = []; | |
var socket = io.connect(); | |
socket.on('news', function(data){ | |
self.infos.push(data); | |
}); | |
} |
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
class Node: | |
def __init__(self, key, value): | |
self.key = key | |
self.value = value | |
class HashMap: | |
def __init__(self): | |
self.__size = 50 | |
self.__table = [[] for i in range(self.__size)] |
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
import unittest | |
from hash import HashMap | |
class HashMapTest(unittest.TestCase): | |
def setUp(self): | |
self.hash = HashMap() | |
def test(self): |
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
import unittest | |
from hash import HashMap | |
class HashMapTest(unittest.TestCase): | |
def setUp(self): | |
self.hash = HashMap() | |
def test(self): |
OlderNewer