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 "ibase.h" | |
#include <string> | |
#include <boost/thread.hpp> | |
#define BOOST_TEST_MODULE LegacyTests | |
#include <boost/test/included/unit_test.hpp> | |
using std::string; | |
using boost::thread; |
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 cfg = require("./config").cfg; | |
var fb = require('firebird'); | |
var util = require('util'); | |
var events = require('events'); | |
var http = require('http'); | |
var con = fb.createConnection(); | |
con.connectSync(cfg.db, cfg.user, cfg.password, cfg.role); | |
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
" Vim syntax file | |
" Language: SQL | |
" Maintainer: Scott Morgan < blumf7 at gmail dot com > | |
" Last Change: 2014-06-13 | |
" Version: 1.0 | |
" For version 5.x: Clear all syntax items | |
" For version 6.x: Quit when a syntax file was already loaded | |
if version < 600 | |
syntax clear |
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 cfg = require("./config").cfg; | |
var fb = require('../node_firebird/firebird'); | |
var util = require('util'); | |
var events = require('events'); | |
var http = require('http'); | |
var con = fb.createConnection(); | |
con.connectSync(cfg.db, cfg.user, cfg.password, cfg.role); | |
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
# encoding: UTF-8 | |
# Place in config/deploy.rb | |
# See: https://gist.github.com/joost/9343156 | |
# Adapted to work with rbenv | |
namespace :rails do | |
desc "Open the rails console on primary app server" | |
task :console do | |
on roles(:app), primary: true do | |
rails_env = fetch(:stage) | |
execute_interactively "#{bundle_cmd} #{current_path}/script/rails console #{rails_env}" |
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 language="JavaScript"> | |
// Determine browser. | |
var isMinNS4 = 0; | |
var isMinIE4 = 0; | |
var NS6 = 1; | |
var origWidth; // Vars for NS resizing | |
var origHeight; |
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
diff --git a/debian/control b/debian/control | |
index 57fcc0c..f3642a9 100644 | |
--- a/debian/control | |
+++ b/debian/control | |
@@ -9,7 +9,7 @@ Build-Depends: | |
bison, | |
debhelper (>= 8.1.3), | |
docbook-to-man, | |
- dpkg-dev (>= 1.16.1), | |
+ dpkg-dev, |
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
#!/usr/bin/env python | |
import sys | |
import urllib2 | |
import json | |
from collections import defaultdict | |
from nltk import word_tokenize | |
IGNORED_WORDS = ["!", ".", ",", "(", ")", "'s", ":", "?", "...", "$", |