What is the Windows version of cron?

What is the Windows version of cron?

A Google search turned up software that performs the same functions as cron, but nothing built into Windows.I'm running Windows XP Professional, but advice for any version of Windows would be potentially helpful to someone.Is there also a w

jQuery AJAX file upload PHP

jQuery AJAX file upload PHP

I want to implement a simple file upload in my intranet-page, with the smallest setup possible.This is my HTML part:and this is my JS jquery script:$("#

Command not found error in Bash variable assignment

Command not found error in Bash variable assignment

I have this script called test.sh:#!/bin/bashSTR = "Hello World"echo $STRwhen I run sh test.sh I get this:test.sh: line 2: STR: command not foundWhat am I doing wrong? I look at extremely basic/beginners bash scripting tutorials online and

How to concatenate text from multiple rows into a single text string in SQL server?

How to concatenate text from multiple rows into a single text string in SQL server?

Consider a database table holding names, with three rows:PeterPaulMaryIs there an easy way to turn this into a single string of Peter, Paul, Mary? 1:I had a similar issue when I was trying to join two tables with one-to-many relationship

Python 3.3 Mysql Connector [duplicate]

Python 3.3 Mysql Connector [duplicate]

Possible Duplicate: MySQL-db lib for Python 3.0? I use python3.3 and can't connect to MySQL, because I don't find module for MySQL connector.How do I connect to MySQL with python3.3? 1:There is a module called Pymysql which you may lik

Cannot start LocalDB

Cannot start LocalDB

Cannot start LocalDB instance, I have installed and re-installed over and over. Keep getting this error : Start of LocalDB instance "v11.0" failed because of the following error: Error occurred during LocalDB instance startup: SQL Server

Assertion Error in Android Studio when trying to compile the working project

Assertion Error in Android Studio when trying to compile the working project

While I was trying to build my working project in the updated Android Studio (0.3.6), I got the below error message. It works fine when I build via CLI.java.lang.AssertionErrorat com.android.tools.idea.gradle.compiler.AndroidGradleBuildProc

Asp.Net MVC3 RC Razor views : syntax for embedding code inside  block

Asp.Net MVC3 RC Razor views : syntax for embedding code inside block

Having trouble embedding c# code inside a javascript block with MVC3 RC1 razor view. What syntax should I use to make this working? I get warnings eg. Expected constant on the isOk variable among other. (Without text tag, the following code

Entity framework Include command - Left or inner join?

Entity framework Include command - Left or inner join?

As I was investigating the difference between Include and Join I found that : If the DB does not include a Foreign Keys -it has no navigation props so it's better to use JoinIf It does have a navigation props - then use Include. ( it also

Is it possible to specify custom error log format in nginx?

Is it possible to specify custom error log format in nginx?

I can specify custom log format for access log in nginx, but it won't work for error log. I wish I always saw time when error occur. Is it possible? 1:You can't specify your own format, but in nginx build-in several level's of error_log-

Heroku + Sidekiq: ActiveRecord::StatementInvalid: PG::UnableToSend: SSL SYSCALL error: EOF detected

Heroku + Sidekiq: ActiveRecord::StatementInvalid: PG::UnableToSend: SSL SYSCALL error: EOF detected

Hi we are running on Heroku's Cedar stack with Unicorn and Sidekiq. We intermittently get the following errorsBurnThis ActiveRecord::StatementInvalid: PG::UnableToSend: SSL SYSCALL error: EOF detectedActiveRecord::StatementInvalid: PG::Conn

Ubuntu equivalent of Yum's WhatProvides, to find which package provides a file

Ubuntu equivalent of Yum's WhatProvides, to find which package provides a file

Fedora's yum package management tool has a nice option called whatprovides, which lets you find what package has installed a specific binary or file. What is the equivalent command on Ubuntu?For example, say I'd like to find what package pr

Samples/tutorial for DRM framework in Android

Samples/tutorial for DRM framework in Android

Android 4.0 brings drm framework to smartphones. I'm interested to write a code that plays video protected by the DRM, but can't find enough information.Are there any tutorials on using the DRM framework? Sample code?How to set up an enviro

Mongoose & unique field

Mongoose & unique field

I have the following schema with mongoose:var SimSchema = new Schema({ msisdn : { type : String , unique : true, required : true }, imsi : { type : String , unique : true, required : true }, status : { type : Boolean,

How do I fix “ssl handshake failed” with ApacheBench?

How do I fix “ssl handshake failed” with ApacheBench?

When I use ApacheBench to test https, the error is returned, "ssl handshake failed".How can I use ApacheBench to test https? 1:ApacheBench doesn't seem to be capable of ignoring certificate problems (at least some of them) so I wrote thi

how to use jQuery installed with npm in Express app?

how to use jQuery installed with npm in Express app?

I have a node.js + express app and I installed jQuery with npm.in the app.js file I usedvar jquery = require('jquery');In the html file header I included javascript that uses jQuery and I get `jQuery is not defined'.Is it a metter of order

Database project deploy fails in Visual Studio 2013

Database project deploy fails in Visual Studio 2013

I have a database project in a solution which will not deploy from Visual Studio 2013. It fails with an error message "Unable to connect to target server". The same project, when opened in Visual Studio 2012 deploys without an issue.The dat

Convert strings to UPPERCASE in SQL Server

Convert strings to UPPERCASE in SQL Server

What is the T-SQL function for converting strings into upper case in SQL Server? 1:UPPERSELECT UPPER(LastName) + ', ' + FirstName AS NameFROM Person.Person 2:Query: select UPPER('Hello world!!!')Result: HELLO WORLD!!!

How can I fix the T-SQL editor in VS 2012 after installing SQL Server 2012 SP1?

How can I fix the T-SQL editor in VS 2012 after installing SQL Server 2012 SP1?

I can suddenly no longer open .sql files in VS 2012 by simply double clicking in the Solution Explorer. I get the error message: Unable to open Transact-SQL file in custom editorI strongly suspect this is after installing SP1 for SQL Serve

Django error - matching query does not exist

Django error - matching query does not exist

I finally released my project to the production level and suddenly I have some issues I never had to deal with in the development phase.When the users posts some actions, I sometimes get the following error.Traceback (most recent call last)

WAMP Server virtual hosts configuration

WAMP Server virtual hosts configuration

OK, I have my wamp installed and simply can't setup my virtual hosts properly.Here's what I have:Wamp install dir: F:\wampProjects dir: F:\www# F:\wamp\bin\apache\apache2.4.2\conf\extra\httpd-vhosts.conf AllowOverride AuthConfig FileInfo

how to get onUploadProgress in axios?

how to get onUploadProgress in axios?

I am little bit confused that how to upload progress evt with axios.Actually I am storing huge number files into aws s3.For that how to get uploaded progress I need this function onUploadProgress Currently my Post request is like thisexport

Installing ruby gem less-rails on windows machine using therubyracer

Installing ruby gem less-rails on windows machine using therubyracer

since a while I am trying to install the less-rails gem on my windows7 machine.I already managed to install the needed therubyracer.gem using this binary file: https://github.com/stereobooster/therubyracer/downloadsI also downloaded the v8.

How do you set up neo4j to work with Google Compute Engine?

How do you set up neo4j to work with Google Compute Engine?

I'm wondering how one would get neo4j to work with Google Compute Engine. Has anybody done this? What problems did you encounter? 1:Here you go,Basic SetupInstall and setup gcloudInstall py2neoCreate your GCE Instance (https://console.de

Meteor collectionfs insert server side

Meteor collectionfs insert server side

hi everyone i using collectionfs + gridfs + cfs filesystem,on collectionfs documentation i find how to insert file on client side like this : Template.myForm.events({ 'change .myFileInput': function(event, template) { FS.Utility.eachFil