concat()
- Joins two or more strings, and returns a copy of the joined strings

indexOf()
- Returns the position of the first found occurrence of a specified value in a string

replace()
- Searches a string for a specified value, or a regular expression, and returns a new string where the specified values are replaced

split()
- Splits a string into an array of substrings

substring()
- Extracts the characters from a string, between two specified indices

trim()
- Removes whitespace from both ends of a string



- Javascript String Method

- Javascript String Function

- Javascript 스트링 메소드


http://hangaebal.blogspot.kr/2014/06/javascript-string-object-methods.html
http://www.w3schools.com/jsref/jsref_obj_string.asp
http://icoon22.tistory.com/219

'Blogger 이사' 카테고리의 다른 글

[SQLite] SQLite Syntax Documentation  (0) 2016.01.14
[SQLite]Web SQL error handling  (0) 2016.01.14
[SQL] SQL get last row  (0) 2016.01.14
[JavaScript] key, value Array Sort  (0) 2016.01.14
[Javascript] key value Array  (0) 2016.01.14
SELECT * FROM table ORDER BY column DESC LIMIT 1;

http://hangaebal.blogspot.kr/2014/06/web-sql-get-last-row.html


'Blogger 이사' 카테고리의 다른 글

[SQLite]Web SQL error handling  (0) 2016.01.14
[JavaScript] String Object Methods  (0) 2016.01.14
[JavaScript] key, value Array Sort  (0) 2016.01.14
[Javascript] key value Array  (0) 2016.01.14
[jQuery] jQuery 이벤트 호출  (0) 2016.01.14

var points = [40, 100, 1, 5, 25, 10];
points.sort(function(a, b){return b-a});


var status = new Array();
status.push({name: 'BOB', val: 10});
status.push({name: 'TOM', val: 3});
status.push({name: 'ROB', val: 22});
status.push({name: 'JON', val: 7});
status.sort(function(a,b) {
    return a.val - b.val;
});





http://hangaebal.blogspot.kr/2014/06/javascript-array-sort.html
http://www.w3schools.com/jsref/jsref_sort.asp
http://stackoverflow.com/questions/12788051/how-to-sort-an-associative-array-by-value

'Blogger 이사' 카테고리의 다른 글

[JavaScript] String Object Methods  (0) 2016.01.14
[SQL] SQL get last row  (0) 2016.01.14
[Javascript] key value Array  (0) 2016.01.14
[jQuery] jQuery 이벤트 호출  (0) 2016.01.14
[Javascript] window.load vs document.ready  (0) 2016.01.14

 There are two ways to add new properties to an object:

var obj = {
    key1: value1,
    key2: value2
};



Using dot notation:

obj.key3 = "value3";



Using square bracket notation:
obj["key3"] = "value3";






http://hangaebal.blogspot.kr/2014/06/javascript-key-value-array.html

http://stackoverflow.com/questions/1168807/how-can-i-add-a-key-value-pair-to-a-javascript-object-literal



'Blogger 이사' 카테고리의 다른 글

[SQL] SQL get last row  (0) 2016.01.14
[JavaScript] key, value Array Sort  (0) 2016.01.14
[jQuery] jQuery 이벤트 호출  (0) 2016.01.14
[Javascript] window.load vs document.ready  (0) 2016.01.14
[SQLite] Web SQL INSERT OR ...  (0) 2016.01.14


.trigger( eventType [, extraParameters ] );



- jQuery 이벤트 호출

- jQuery 이벤트 발생



http://hangaebal.blogspot.kr/2014/06/jquery-click.html


http://api.jquery.com/trigger/

'Blogger 이사' 카테고리의 다른 글

[JavaScript] key, value Array Sort  (0) 2016.01.14
[Javascript] key value Array  (0) 2016.01.14
[Javascript] window.load vs document.ready  (0) 2016.01.14
[SQLite] Web SQL INSERT OR ...  (0) 2016.01.14
[SQLite] Web SQL 여러줄 삽입  (0) 2016.01.14
 $(document).ready(function() {

 // executes when HTML-Document is loaded and DOM is ready
 alert("document is ready");
});


$(window).load(function() {
 // executes when complete page is fully loaded, including all frames, objects and images
 alert("window is loaded");
});



-  window.load vs document.ready 

- window.load document.ready  차이점

- window.load document.ready  비교



http://hangaebal.blogspot.kr/2014/06/windowload-vs-documentready.html

http://stackoverflow.com/questions/8396407/jquery-what-are-differences-between-document-ready-and-window-load

'Blogger 이사' 카테고리의 다른 글

[JavaScript] key, value Array Sort  (0) 2016.01.14
[Javascript] key value Array  (0) 2016.01.14
[jQuery] jQuery 이벤트 호출  (0) 2016.01.14
[SQLite] Web SQL INSERT OR ...  (0) 2016.01.14
[SQLite] Web SQL 여러줄 삽입  (0) 2016.01.14
"INSERT OR IGNORE" (="INSERT ON CONFLICT IGNORE")

> 초기값 셋팅에 활용

"INSERT OR UPDATE"
> 중복시 값 변경에 활용




- INSERT OR IGNORE

- INSERT OR UPDATE


http://hangaebal.blogspot.kr/2014/06/web-sql-insert-or.html



'Blogger 이사' 카테고리의 다른 글

[JavaScript] key, value Array Sort  (0) 2016.01.14
[Javascript] key value Array  (0) 2016.01.14
[jQuery] jQuery 이벤트 호출  (0) 2016.01.14
[Javascript] window.load vs document.ready  (0) 2016.01.14
[SQLite] Web SQL 여러줄 삽입  (0) 2016.01.14
insert multiple rows at a time in an SQLite database

MySQL example:
INSERT INTO 'tablename' ('column1', 'column2') VALUES
  ('data1', 'data2'),
  ('data3', 'data4'),
  ('data5', 'data6'),
  ('data7', 'data8');

This can be recast into SQLite as:
INSERT INTO 'tablename'
      SELECT 'data1' AS 'column1', 'data2' AS 'column2'
UNION SELECT 'data3', 'data4'
UNION SELECT 'data5', 'data6'
UNION SELECT 'data7', 'data8'


http://hangaebal.blogspot.kr/2014/06/web-sql.html

http://stackoverflow.com/questions/1609637/is-it-possible-to-insert-multiple-rows-at-a-time-in-an-sqlite-database


'Blogger 이사' 카테고리의 다른 글

[JavaScript] key, value Array Sort  (0) 2016.01.14
[Javascript] key value Array  (0) 2016.01.14
[jQuery] jQuery 이벤트 호출  (0) 2016.01.14
[Javascript] window.load vs document.ready  (0) 2016.01.14
[SQLite] Web SQL INSERT OR ...  (0) 2016.01.14
OpenJDK

sudo apt-get install openjdk-7-jdk




JRE vs OpenJDK vs Oracle JDK

Before we go on seeing the process to install Java, let’s quickly understand the difference between JRE, OpenJDK and Oracle JDK.

- JRE (Java Runtime Environment) is what you would need normally to run a Java based application. This is all you need if you are not a programmer.
- JDK stands for Java Development Kit and this is what you need to if you have to do some development (read programming) related to Java.
- OpenJDK is Open Source implementation of Java Development Kit while Oracle JDK is the official Oracle version of Java Development Kit. While OpenJDK is sufficient for most of the cases, some programs such Android Studio suggests to use Oracle JDK to avoid UI/performance issue.



Oracle JDK

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer
sudo apt-get install oracle-java7-set-default




- ubuntu jdk 1.7 install
- ubuntu jdk install
- ubuntu jdk 설치


참고 :

http://itsfoss.com/install-java-ubuntu-1404/



sudo apt-get install tomcat7





- ubuntu tomcat install
- ubuntu tomcat7 install



+ Recent posts