git - gitignore

IDE & Build/Git 2015. 12. 16. 09:17

* git repository에 등록 전 생성


* A sample of eclipse maven project

$ cat .gitignore

.classpath

.project

.settings

.springBeans

target/


* A sample of eclipse gradle project

$ cat .gitignore

.classpath

.project

.settings

.gradle

bin/

target/

build/

logs/


* defualt by Spring STS

target/

!.mvn/wrapper/maven-wrapper.jar


### STS ###

.apt_generated

.classpath

.factorypath

.project

.settings

.springBeans


### IntelliJ IDEA ###

.idea

*.iws

*.iml

*.ipr


### NetBeans ###

nbproject/private/

build/

nbbuild/

dist/

nbdist/



Posted by linuxism
,

* install

# rpm -Uvh sqldeveloper-4.1.3.20.78-1.noarch.rpm

# sqldeveloper


 Oracle SQL Developer

 Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.



Found /usr/local/jdk1.6/bin/java to run this product, and the major version of this Java is 1.6.

The mandatory minimum major version to run this product is 1.8.

This product cannot run with this Java.


Type the full pathname of a JDK installation (or Ctrl-C to quit), the path will be stored in /root/.sqldeveloper/4.1.0/product.conf

/usr/local/jdk1.8/


* recovery a db connection

# cp /home/hskim/.sqldeveloper/system4.1.1.19.59/o.jdeveloper.db.connection.12.2.1.0.42.150520.751/connection.xml

recovery the connection.xml file at sqldeveloper




'DB > Oracle' 카테고리의 다른 글

oracle - 트리거(trigger)  (0) 2012.07.15
오라클 11g 기본 계정  (0) 2012.03.13
뇌를 자극하는 오라클 프로그래밍 내용 정리  (0) 2012.02.29
Pro*C 개요  (0) 2012.02.24
Pro*C 파헤치기  (0) 2012.02.24
Posted by linuxism
,

Q.

I have two JavaScript arrays:

var array1 = ["Vijendra","Singh"];
var array2 = ["Singh", "Shakya"];

I want the output to be:

var array3 = ["Vijendra","Singh","Shakya"];

The output array should have repeated words removed.

How do I merge two arrays in JavaScript so that I get only the unique items from each array in the same order they were inserted into the original arrays?


A.

This is simple and can be done in one line with jquery

var arr1 = ['Vijendra', 'Singh'], arr2 =['Singh', 'Shakya'];

$.unique(arr1.concat(arr2))//one line

["Vijendra", "Singh", "Shakya"]



source - http://stackoverflow.com/questions/1584370/how-to-merge-two-arrays-in-javascript-and-de-duplicate-items

Posted by linuxism
,