git config --global user.name "Swetank Mohanty"
git config --global user.email "swetank.mohanty@gmail.com"
-
git config --global user.email
# swetank.mohanty@outlook.com -
git config --global user.name
# Swetank Mohanty
<Context> | |
<!-- maxTotal: Maximum number of database connections in pool. Make sure you | |
configure your mysqld max_connections large enough to handle | |
all of your db connections. Set to -1 for no limit. | |
--> | |
<!-- maxIdle: Maximum number of idle database connections to retain in pool. | |
Set to -1 for no limit. See also the DBCP documentation on this | |
and the minEvictableIdleTimeMillis configuration parameter. | |
--> |
<web-app xmlns="http://java.sun.com/xml/ns/j2ee" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee | |
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" | |
version="2.4"> | |
<description>MySQL Test App</description> | |
<resource-ref> | |
<description>DB Connection</description> | |
<res-ref-name>jdbc/TestDB</res-ref-name> |
import java.util.Calendar; | |
import java.util.concurrent.Executors; | |
import java.util.concurrent.ScheduledExecutorService; | |
import java.util.concurrent.ThreadFactory; | |
import java.util.concurrent.TimeUnit; | |
import java.util.concurrent.atomic.AtomicBoolean; | |
public class ReschedulingDailyTask implements Runnable { |
$authProvider.httpInterceptor = function() { return true; }, | |
$authProvider.withCredentials = false; | |
$authProvider.tokenRoot = null; | |
$authProvider.baseUrl = '/'; | |
$authProvider.loginUrl = '/auth/login'; | |
$authProvider.signupUrl = '/auth/signup'; | |
$authProvider.unlinkUrl = '/auth/unlink/'; | |
$authProvider.tokenName = 'token'; | |
$authProvider.tokenPrefix = 'satellizer'; | |
$authProvider.tokenHeader = 'Authorization'; |
var server = new Pretender(function() { | |
this.post('/session', function(request) { | |
switch(request.requestBody) { | |
case 'username=admin&password=secret': | |
return [201, {'Content-Type': 'application/json'}, '{"token":"admin","user":{"role":"admin","name":"Administrator"}}']; | |
case 'username=user&password=secret': | |
return [201, {'Content-Type': 'application/json'}, '{"token":"user","user":{"role":"user","name":"User"}}']; | |
default: |
var API = { | |
token: null, | |
login: function(username, password) { | |
var self = this; | |
var payload = { | |
username: username, | |
password: password | |
}; |
{ | |
"compileOnSave": false, | |
"compilerOptions": { | |
"target": "es5", | |
"module": "system", | |
"declaration": false, | |
"removeComments": true, | |
"noLib": false, | |
"emitDecoratorMetadata": true, | |
"experimentalDecorators": true, |
git config --global user.name "Swetank Mohanty"
git config --global user.email "swetank.mohanty@gmail.com"
git config --global user.email
# swetank.mohanty@outlook.com
git config --global user.name
# Swetank Mohanty
mvn archetype:generate -DgroupId={project-packaging} -DartifactId={project-name} -DarchetypeArtifactId=maven-archetype-webapp -Dversion={project-version} -Dpackage={project-packaging} -DinteractiveMode=false
mvn archetype:generate -DgroupId={project-packaging} -DartifactId={project-name} -DarchetypeArtifactId=maven-archetype-quickstart -Dversion={project-version} -Dpackage={project-packaging} -DinteractiveMode=false
<div class="waiting-dots"> | |
Loading Application<span>.</span><span>.</span><span>.</span> | |
</div> | |
<style> | |
@keyframes blink { | |
/** | |
* At the start of the animation the dot | |
* has an opacity of .2 | |
*/ | |
0% { |