Skip to content

Instantly share code, notes, and snippets.

(function() {
var isCorsEnabled = function(tag) {
var corsEnabled;
var target = $(tag)[0];
var currentSrcUrl = target.src.split("_t=").join("_t=1"); // add a leading 1 to the ts
$.ajax({
url: currentSrcUrl,
async: false
})
sc.exe create MongoDB binPath= "C:\mongodb\bin\mongod.exe\" --service --config=\"C:\mongodb\mongod.cfg\"" DisplayName= "MongoDB 2.6 Standard" start= "auto"
@kyeljmd
kyeljmd / gist:8915157
Created February 10, 2014 12:40
Project Management Question 2: Interview Questions
1.) How do you define a success of a project
2.) What are the qualitites you are looking for a potential client?
3.) Once you have gained a customer, how do you retain them?
4.) How do you maintain the quality of the product or service throughout the project?
5.)How do you motivate burnt out employee/teams?
@kyeljmd
kyeljmd / gist:6096512
Created July 27, 2013 22:19
Spring - Beans, MVC,Schema,AOP ,Transaction Configuration File
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"
xmlns:aop="http://www.springframework.org/schema/aop" xmlns:tx="http://www.springframework.org/schema/tx"
xmlns:mvc="http://www.springframework.org/schema/mvc" xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.2.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.2.xsd
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.2.xsd
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.2.xsd
http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.2.xsd">
@kyeljmd
kyeljmd / Bare bones Beans Declartion for Spring 3.2
Created July 24, 2013 03:37
Bare bone configuration file for Spring beans (For Spring 3.2)
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.2.xsd">
</beans>
@kyeljmd
kyeljmd / Bare bones Deployment Desciptor For Servlets 3.0
Created July 24, 2013 03:30
Bare bones web.xml /deployment descriptor for Servlet 3.0
<?xml version="1.0" encoding="ISO-8859-1"?>
<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
version="3.0">
<display-name>Task List</display-name>
</web-app>