2015년 3월 4일 수요일

Google + Android

구글에서 안드로이드 기기 기록 보기
https://maps.google.com/locationhistory

구글에서 안드로이드 위치 찾기

https://www.google.com/android/devicemanager

2015년 3월 1일 일요일

구글 검색 방법

출처 : http://www.mapelli.info/ultimate-google-search-tips-guide

Things to Know

  • google is not case sensitive: searching for doughnut is the same as DoughNuT
  • search operators are case sensitive: searching for doughnuts OR donuts uses OR as the google operator, while doughnuts or donuts does not.
  • google default is to search for pages that include all of your search terms. Also the order of your search term is somehow relevant.
  • google excludes common words (also called stop words) like “I” , “the” etc.
  • some operators can be combined, while others must be used alone.

Basic Operators

+

forces words to be included in search results. Useful with stop words that otherwise will be discarded

-

prevents a search term to show in results, for example searching for doughnut -cream can help you to avoid creamy doughnuts

OR

returns documents with one of the given terms, like doughnut OR donut. You can also use | instead of OR:doughnut | donut

” “

using quotes forces google to search for the exact phrase (including stop words), try “doughnut at midnight”and doughnut at midnight (actually, using quotes is similar, but not equals, to doughnut-at-midnight … it would be interesting to know what is the exact difference in SERP)

~

allow to search also for synonyms of the given word. searching for doughnut ~tips finds also pages with the word help or guide etc.

*

means every word. try “doughnuts with *”

..

Used to search in a range of numbers, “2..20 doughnuts” will find pages containing “I eat 3 doughnuts a day” and “I’ll never eat more than 15 doughnuts in a month”
This operators can be combined to create advanced queries, for example “I eat 1..100 doughnut OR doughnuts OR donut OR donuts each *”

Advanced google operators

daterange:
Returns documents modified in the given time interval. Dates should be entered in julian format (so geeky, but a bit unusable).
Using doughnuts daterange:2454091-2454101 you can find who talked about doughnuts in the last ten days of 2006 :)

filetype:

returns links to documents with the given file type.
For example searching for doughnuts filetype:java will find portable and object-oriented doughnuts.
Currently officially supported file types are pdf, ps, wk1, wk2, wk3, wk4, wk5, wki, wks, wku, lwp, mw, xls, ppt, doc, wks, wps, wdb, wri, rtf, swf, ans, txt, but other are supported as well, like xml, cpp, java etc.

site:

restricts the results to the given domain. site:mapelli.info will find all indexed page on www.mapelli.info, whilesite:mapelli.info doughnuts will find all doughnuts-related pages on www.mapelli.info .
update: you can use the site operator also to find your supplemental results using this query:site:www.mapelli.info *** -sljktf. (taken from an intresting article about Google Supplemental Index Results by Aaron Wall)

cache:

shows the cached version of given webpage. Other words in the query will be highlighted in the returned page, try cache:www.mapelli.info doughnuts

link:

lists webpages that link to the given webpage. link:http://en.wikipedia.org/wiki/Doughnut will list webpages with links pointing to wikipedia’s voice for Doughnut

related:

returns pages that google somehow thiks are related to the given page. Not always accurate.

info:

returns some informations about the given web page. Typically website and description.

define:

returns the definition of a given word. Try define:doughnuts (in case you are an alien and you don’t know what a Doughnut is 8) )

phonebook:

search in residential phone book. sample: phonebook:smith Los Angeles

stoks:

returns stock info: try stocks:goog

weather:

weather informations for the given city. weather:los angeles

movie:

returns all movies related to the search term given. Sample: movie:doughnuts
You can also find movies by locations: movie:nyc , movie 10015

flights

you can search for flights inside USA using the airport code (does not work for every airport). sample: jfk lax

SEO-oriented Operators

allintitle:

Search for documents with the given words in their title. allintitle:doughnuts chocolate will find all the documents with title containing ‘doughnuts’ and ‘chocolate’. This operator cannot be combined with others.

intitle:

Search for documents with the first word after the intitle operator in their title. intitle:doughnuts chocolate will find all the documents with title containing ‘doughnuts’ and talking about chocolate. Note that the word ‘chocolate’ is not necessarily in the title.

allintext:

Search for documents with the given words in their text. allintext:doughnuts chocolate will find all the documents with text containing ‘doughnuts’ and ‘chocolate’.This operator cannot be combined with others.

intext:

Search for documents with the first word after the intext operator in their text. intext:doughnuts chocolate will find all the documents with text containing ‘doughnuts’ and talking about chocolate. Note that the word ‘chocolate’ is not necessarily in the text

allinurl:

Search for documents with the given words in their url. allinurl:doughnuts chocolate will find all the documents with url containing ‘doughnuts’ and ‘chocolate’. This operator cannot be combined with others.

inurl:

Search for documents with the first word after the inurl operator in their url. inurl:doughnuts chocolate will find all the documents with url containing ‘doughnuts’ and talking about chocolate. Note that the word ‘chocolate’ is not necessarily in the text

allinanchor:

Search for documents with the given words in an anchor. allinurl:doughnuts chocolate will find all the documents with anchor text containing ‘doughnuts’ and ‘chocolate’. This operator cannot be combined with others.

inanchor:

Search for documents with the first word after the operator in an anchor. inanchor:doughnuts chocolate will find all the documents with anchor containing ‘doughnuts’ and talking about chocolate. Note that the word ‘chocolate’ is not necessarily in an anchor.

Google Calculator Guide

+ – * / % ^

you can use Google as a calculator, using standard symbols, for example
3+2 returns 5
4-1 returns 3
6*8 returns 48
15/5 returns 3
3^2 returns 9 (3 raised to power 2)
5%2 returns 1 (the remainder after division)

sqrt,nth root ofx

sqrt(49) returns 7, if you need non-square roots you can use for example 3th root of 27.

sin, cos, arctan, tan…

google calculator supports various trigonometic functions, expecting a radians value, that can be expressed also using the pi constant: sin(pi/2)tan (2/3*pi)

ln

returns natural (base e) logarithm: ln(e^5)

log

returns base 10 logarithm: log(100)

!

returns n factorial: 3!
Numbers can be entered also in hexadecimal, octal and binary base, using 0x, 0o and 0b prefixes, for example 5 +0xf+0b1001

Conversions

Google supports a lot of conversion tools, here is a small guide:

in degrees / in radians

you can convert radians to degrees: pi/2 in degrees or convert degrees into radians: 90 degrees in radians

in hex / in binary / in octal / in decimal

you can convert to each of the given bases: 16 in hex , 16 in octal16 in binary0×11 in decimal
you can also use 2007 in roman numerals (in case you’re building a temple and you need to know how to write the year on it)

distance conversions

you can use 100miles in km , 1m in mm, but also 200000 km in light-second etc.

speed, time, temperature

currency

cooking

There are a lot of others possible conversions, just try! :)

Blogsearch

Have a look at my google blogsearch tips

Resources


2015년 1월 7일 수요일

flash builder error - AAM

adobe flash builder 를 설치하고 [amtlib.dll]를 바꿔치기해서 실행할 경우
아래와 같은 에러 메시지가 발생한다.
-- 아래 -----------------------------------------
adobe application manager required to verify your license,
is missing or damaged
-----------------------------------------------

이 경우 AAM-adobe application manager- 를 설치해 주어야 한다.
    * 설치 전 지워줘야 할 항목이 있음.
    1. 윈도우 로고를 누른 상태에서 R 키를 누르면 실행창이 나오는데
        Appdata 라고 입력 후 확인을 누른다.
    2. [C:\Users\Administrator\AppData\Local\Adobe] 가 윈도우 탐색기로 열림.
    3. AAMUpdater 폴더 및 OOBE 폴더를 지워준다. 있는것만 지운다.
    4. [C:\Program Files (x86)\Common Files\Adobe] 위치로 이동한다.
    5. AAMUpdaterInventory 폴더 및 OOBE 폴더를 지워준다.
    6. AAM 파일을 받아 설치한다.
        설치할 때 추출할 위치등을 물어보기도 하는데 가뿐하게 그냥 아무데나 위치를
        지정해 준다.
        위치 :
http://www.adobe.com/support/downloads/thankyou.jsp?ftpID=447&fileID=4437
    7. 끝 !

2014년 12월 14일 일요일

mavan install for MSSQL case.

1. maven install at MAC
1-1 download maven
    http://maven.apache.org/download.cgi > apache-maven-3.x.x-bin.tar.gz
1-2 압축풀기
    압축을 /usr/local 에 푼다.
1-3 링크만들기
ln -s apache-maven-3.2.3 maven
-----------------------------------------------------------------------------
ls -l

lrwxr-xr-x   1 root       owner   18 12  8 18:05 maven -> apache-maven-3.2.3
-----------------------------------------------------------------------------
1-4 프로파일 수정
/User 안의 .profile 을 편집하여 아래 내용을 넣기
* 참고 : 자바의 경로는 다를 수 있음.
vi .profile
-----------------------------------------------------------------------------
export M3_HOME=/usr/local/maven
export M3=$M3_HOME/bin
export PATH=$PATH:$M3
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_55.jdk/Contents/Home

alias ls="ls -v"
alias ll="ls -lv"
-----------------------------------------------------------------------------

1-5 프로파일 적용
source .profile
1-6 메이븐 설치 확인
mvn -version

2. maven install at Windows
2-1  download maven
    http://maven.apache.org/download.cgi > apache-maven-3.x.x-bin.zip
2-2 압축풀기
    압축을 특정 폴더에 푼다. (예 D:\maven\)
2-3 환경변수 등록
    2-3-1 컴퓨터 아이콘에 오른클릭 후 속성 (혹은 윈도우 로고 + pause키)
    2-3-2 고급 시스템 설정 > 고급 탭 > 환경변수 버튼
    2-3-3 시스템 변수 부분에서 새로 만들기 버튼
    2-3-3-1 변수이름: MAVEN_HOME // 변수 값 : MAVEN을 압축 해제한 폴더
    2-3-4 기존 시스템 변수에 추가
    2-3-4-1 기존 변수이름 : Path // 추가 할 변수 값 : %MAVEN_HOME%\bin;
         ** 변수 값 추가 전 끝 부분이 세미콜론(;)으로 되어 있는지 확인하고
             추가 후 마지막 부분을 세미콜론(;)으로 해 주어야 함.
    2-3-5 java가 설치되어 있어야 하며 JAVA_HOME이 설정되어 있어야 함
              설정방법은 메이븐과 동일 단 이름과 변수의 폴더 위치만 바뀜
              예) 변수이름: JAVA_HOME // 변수 값 : JAVA를 압축 해제한 폴더
2-4 설치 확인
    2-4-1 [윈도우 로고 + R] 로 실행창을 열고 cmd 입력 후 확인
    2-4-2 자바 버젼 확인 : java -version
    2-4-3 메이븐 버젼 확인 : mvn -version

-- !끝! --

2. MSSQL
Microsoft SQL은 메이븐이 자동으로 배포를 안해준다 ㅡㅡ
해당 jar를 수동으로 설치해 주고 pom.xml에 등록 후 확인해 보면 된다....
각 PC에서 죄다 해줘야 한다 ㅠㅠ
일단 다운로드~
2-1 다운로드 (참고로 3.0 이랑 4.0 이랑 지원하는 자바 버젼이 다르다.)
http://www.microsoft.com/en-us/download/details.aspx?id=11774
2-2 터미널로 다운받고 압축을 푼 jar 위치로 가서
mvn install:install-file -Dfile=sqljdbc4.jar 
 -DgroupId=com.microsoft.sqlserver -DartifactId=sqljdbc4 -Dversion=4.0 
 -Dpackaging=jar

-- !끝!--



2014년 12월 4일 목요일

Microsoft SQL Server IP로 접속 설정

* management studio 에서 IP로 접속을 하기 위해서는
[구성관리자]에서 설정이 필요하다.
1. TCP/IP 를 사용으로 설정
2. TCP/IP 속성의 IP 주소 탭에서 해당하는 IP주소에 대하여 속성변경
3. 서비스 재 시작

1. 네트워크 구성 > SERVER에 대한 프로토콜 > TCP/IP를 사용으로 설정
















2. TCP/IP를 마우스 오른클릭 > 속성 선택 >사용하고자 하는 IP 주소를 찾아서
    * TCP 동적 포트 : 0
    * TCP 포트 : 1443
    * 사용 : 예
    * 활성 : 예

3. 서비스 탭의 SQL SERVICE 항목 오른클릭 > 다시 시작 선택















2014년 10월 14일 화요일

mysql character setting for mac

1. 터미널을 연다 (응용프로그램 > 유틸리티)
2. MySQL 실행 
    2-1. 프로파일 열기 : vi ~/.profile
    2-2. i 를 눌러 편집 모드로 진입
    2-3. 편집 : export PATH=/opt/local/bin:/opt/local/sbin:/usr/local/mysql/bin:$PATH
    2-4. 저장하고 닫기 : esc 버튼을 누르고 콜론(:)을 입력 > wq 누르고 엔터버튼
3. 터미널 종료 후 다시 시작
4. 관리자로 접속 : mysql -uroot  
    ** " mysql> " 이라고 나와야 함
5. root 외의 사용자 삭제 : delete from mysql.user where not (host="localhost" and user ="root");
6. 적용 : FLUSH PRIVILEGES;
7. 비밀번호 설정 : SET PASSWORD FOR 'root'@'localhost' = PASSWORD('1234');
8. 적용 : FLUSH PRIVILEGES;
9. 터미널 종료 : exit
10. 터미널 다시 접속 : mysql -uroot -p1234
11. 상태확인 : status
        characterset 부분을 보면 초기 설정 시 latin1로 되어 있을 것임.
12. 터미널 종료 : exit
13. 터미널에서 root 계정으로 my.cnf 파일 변경
    13-1. 터미널을 열고 root 접속 : su -root
        13-1-1. 비밀번호를 설정한 적이 없다면 sudo -s
    13-2. 문서 편집 명령 : vi/ect/my.cnf
    13-3. 아래 문구를 붙여넣기 :
[mysqld]
character-set-server=utf8
collation-server=utf8_general_ci
init_connect=SET collation_connection=utf8_general_ci
init_connect=SET NAMES utf8
[client]
default-character-set=utf8
[mysql]
default-character-set=utf8
    13-4. 저장하고 닫기 : esc 버튼을 누르고 콜론(:)을 입력 > wq 누르고 엔터버튼
    13-5. 터미널 종료 후 다시 시작
14. 터미널 재 접속 후 root 계정으로 로그인 : mysql -uroot -p1234 
15. 상태 확인 : status

2014년 8월 10일 일요일

마우스 오른 버튼 잠김 풀기

즐겨찾기에 아무 페이지나 북마크 생성 후 주소를 아래의 값으로 변경 ^^

== 아래 ==
javascript:function r(d){d.oncontextmenu=null;d.onselectstart=null;d.ondragstart=null;d.onkeydown=null;d.onmousedown=null; d.body.oncontextmenu=null;d.body.onselectstart=null;d.body.ondragstart=null;d.body.onkeydown=null; d.body.onmousedown=null;};function unify(w){r(w.document);if(w.frames.length>0){for(var i=0;i<w.frames.length;i++){try{unify(w.frames[i].window);}catch(e){}};};};unify(self);alert("ok");