This file contains hidden or 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
func1 a, b | |
func2 c, d |
This file contains hidden or 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
func1: (param1, param2) -> | |
// do something | |
func2: (param1, param2) -> | |
// do something |
This file contains hidden or 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
ClientBannerWithSidebarController = ClientBaseController.extend ( | |
yieldTemplates: _.extend { | |
'banner' : to: 'banner' | |
'sidebar' : to: 'sidebar' | |
}, ClientBaseController::yieldTemplates | |
) | |
ClientNoBannerWithSidebarController = ClientBaseController.extend ( | |
yieldTemplates: _.extend { | |
'sidebar' : to: 'sidebar' |
This file contains hidden or 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
# | |
# Layout Controllers | |
# | |
AdminBaseController = RouteController.extend ( | |
layoutTemplate: 'admin-layout' | |
yieldTemplates: | |
'admin-navbar' : to: 'admin-navbar' | |
'admin-header' : to: 'admin-header' | |
) |
This file contains hidden or 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
<template name="layout"> | |
<div id="client"> | |
{{>yield region="navbar"}} | |
<div class="container"> | |
<div class="row row-offcanvas row-offcanvas-right"> | |
<div class="col-xs-12 col-sm-9"> |
This file contains hidden or 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
=============== SETUP =============== | |
1. Install git | |
2. Install JDK 8 by using wget | |
3. Set the JAVA_HOME environment variable (~/.bashrc) | |
4. Install mysql server | |
5. Install maven by using apt-get (remember to use update-alternatives to set back the java compiler to jdk, not open-jdk) or from internet (wget) | |
6. Retrieve the source code from git repository | |
https://github.com/bubuzzz/SpringTutorial.git | |
7. Find the pom files and set the driver to suitable driver |
This file contains hidden or 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
package com.thenet.training.threads; | |
import java.util.ArrayList; | |
import java.util.Collections; | |
import java.util.HashMap; | |
import java.util.List; | |
import java.util.Map; | |
import java.util.concurrent.ConcurrentHashMap; | |
import com.thenet.training.ass6.Person; |
NewerOlder