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
exports.exec = function(command,args){ | |
var util = require('util'); | |
var app = require('../app'); | |
var Q = require('q'); | |
var client = app.get('db'); | |
var deferred = Q.defer(); | |
client.send_command(command, args, function(error,result){ | |
if (error) { |
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
#!/bin/bash | |
function dols() | |
{ | |
echo 'Title: '$3 >$2 | |
echo 'Category:'>>$2 | |
echo 'Slug: '$4 >>$2 | |
echo ''>> $2 | |
for file in `ls -t $1` |