2015년 12월 29일 화요일

Sublime text 3, package control

1. 설치

sudo add-apt-repository ppa:webupd8team/sublime-text-3
sudo apt-get update 
sudo apt-get install sublime-text-installer

2. 다양한 Plugin 을 손쉽게 검색, 설치 할수 있는 Package Control을 설치 합니다.

    Install package control : https://packagecontrol.io/installation
    Ctrl + ` 혹은 View > Show Console 메뉴에서 Console을 열고, 아래 Python code 입력

paste the appropriate Python code for your version of Sublime Text into the console.
SUBLIME TEXT 3SUBLIME TEXT 2
import urllib.request,os,hashlib; h = '2915d1851351e5ee549c20394736b442' + '8bc59f460fa1548d1514676163dafc88'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( 'http://packagecontrol.io/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by)
3. Package 검색하고, 설치 하기

    Ctrl + Shift + P 에서 Install Package 를 입력하여,
    "Package Control:Install Package"를 선택, 클릭합니다.
   
    잠시 기다리면 Package list 가 보입니다. 입력창에 Package 를 검색하여 설치 합니다.


4. 유용한 Package 
    인기있는 package list : https://packagecontrol.io/browse/popular

2015년 12월 23일 수요일

Ubuntu Application Switcher (Alt Tab)

Ubuntu 14.04

Remove grouping of Applicatin Switcher(Alt-tab)

1. Install "compizconfig-settings-manager" and run.
2. Remove Unity Application-switcher
    Go DeskTop / Ubuntu Unity Plugin
    Switcher Tab
    Disable key switcher
    Go Back to Main
3. Go Window Management
    Check, Enable Static Application Switcher and Enter
    Enable key application switcher
   

http://askubuntu.com/questions/84880/how-can-i-make-alt-tab-browse-through-all-my-windows-without-grouping-them


Ubuntu Install ApacheMySQLPHP

https://help.ubuntu.com/community/ApacheMySQLPHP

2015년 11월 12일 목요일

Logitech Unifying 수신기 관리도구 Solaar


Solaar 는 로지텍 마우스,키보드 리시버를 페어/언페어 관리하고, 베터리 정보 등을 가져올수 있는 툴입니다. 공식 사이트는 https://pwr.github.io/Solaar/ 입니다.

아쉽게도 이 관리툴은 리눅스 기반에서만 지원됩니다.

Linux devices manager for the Logitech Unifying Receiver.

Solaar is a Linux device manager for Logitech’s Unifying Receiver peripherals. It is able to pair/unpair devices to the receiver, and for most devices read battery status.

It comes in two flavors, command-line and GUI. Both are able to list the devices paired to a Unifying Receiver, show detailed info for each device, and also pair/unpair supported devices with the receiver.

아래는 설치 및 사용방법이 정리, 소개된 사이트입니다.
cli 및 gui 방법이 아주 자세히 나와있습니다.

http://gihyo.jp/admin/serial/01/ubuntu-recipe/0397
14.04 이전의 경우 먼저 PPA를 추가
$ sudo add-apt-repository ppa : daniel.pavel / solaar
$ sudo apt-get update
Solaar 패키지 설치
$ sudo apt-get install solaar solaar-gnome3


Unifying Receiver 를 잃어버렸을때, 새로운 리시버와 페어 관리 할때 사용하면 좋을 것 같네요.

2015년 11월 11일 수요일

About IOS Core Bluetooth

Core Bluetooth Overview

https://developer.apple.com/library/ios/documentation/NetworkingInternetWeb/Conceptual/CoreBluetooth_concepts/CoreBluetoothOverview/CoreBluetoothOverview.html#//apple_ref/doc/uid/TP40013257-CH2-SW1


iOS 7 SDK: Core Bluetooth - Theoretical Overview

http://code.tutsplus.com/tutorials/ios-7-sdk-core-bluetooth-theoretical-overview--mobile-20728http://code.tutsplus.com/tutorials/ios-7-sdk-core-bluetooth-practical-lesson--mobile-20741http://www.raywenderlich.com/52080/introduction-core-bluetooth-building-heart-rate-monitor


Core Bluetooth Background Processing for iOS Apps

Use Background Execution Modes Wisely

Although declaring your app to support one or both of the Core Bluetooth background execution modes may be necessary to fulfill a particular use case, you should always perform background processing responsibly. Because performing many Bluetooth-related tasks require the active use of an iOS device’s onboard radio—and, in turn, radio usage has an adverse effect on an iOS device’s battery life—try to minimize the amount of work you do in the background. Apps woken up for any Bluetooth-related events should process them and return as quickly as possible so that the app can be suspended again.
Any app that declares support for either of the Core Bluetooth background executions modes must follow a few basic guidelines:
  • Apps should be session based and provide an interface that allows the user to decide when to start and stop the delivery of Bluetooth-related events.
  • Upon being woken up, an app has around 10 seconds to complete a task. Ideally, it should complete the task as fast as possible and allow itself to be suspended again. Apps that spend too much time executing in the background can be throttled back by the system or killed.
  • Apps should not use being woken up as an opportunity to perform extraneous tasks that are unrelated to why the app was woken up by the system.
For more-general information about how your app should be behave in the background state, see Being a Responsible Background App in App Programming Guide for iOS.


Android NFC

http://developer.android.com/guide/topics/connectivity/nfc/index.html

NFC offers three different operating modes:

  1. Reader/writer mode, allowing the NFC device to read and/or write passive NFC tags and stickers. 
  2. P2P mode, allowing the NFC device to exchange data with other NFC peers; this operation mode is used by Android Beam. 
  3. Card emulation mode, allowing the NFC device itself to act as an NFC card. The emulated NFC card can then be accessed by an external NFC reader, such as an NFC point-of-sale terminal. 

Reader Writer Mode is already available in Android since the first Gingerbread release in December 2010. Card Emulation Mode, which is actually required for Google Wallet, is not yet available for public. Peer-2-Peer Mode as defined in ISO 18092 is now finding its way into Android devices, also known as “Android Beam”.

http://www.nfc.cc/2011/12/28/development-android-beam-and-nfc-peer-2-peer/
http://www.hardroid.net/archives/71

Android Studio, Gradle 빠르게 하기


1. gradle.properties 파일 생성
        /home/<username>/.gradle/ (Linux)
        /Users/<username>/.gradle/ (Mac)
        C:\Users\<username>\.gradle (Windows)

        org.gradle.daemon=true


2. Android Studio 에서 Gradle offline 설정

        Android Studio 에서, File 메뉴 > Settings
        gradle 메뉴에서, offline work 체크

2015년 7월 21일 화요일

디지털 노마드, Digital nomad

디지털 노마드, 당신이 원하는 곳에서 일하고 살아갈 자유를 허하라


디지털 노마드(Digital Nomad):
첨단 기술을 의미하는 디지털에 유목민을 뜻하는 노마드를 합성한 말로 휴대폰과 노트북, 디지털카메라 등과 같은 첨단 디지털 장비를 갖추고 장소에 구애 받지 않은 채 일하는 사람들을 의미

출처:
http://dareyourself.net/1697
http://ppss.kr/archives/50667
http://www.theguardian.com/money/2014/aug/15/out-of-office-people-work-wherever-want?CMP=twt_gu


2015년 6월 17일 수요일

읽어볼만한 글



[KBS 대담한 경제]
내 돈 지키는 설명서


한 페이지로 모아보는 연재

2015년 1월 15일 목요일

Be Honest - Jazon Mraz




http://www.viralviralvideos.com/2015/01/03/jason-mraz-invites-audience-member-on-stage-to-perform-be-honest/

파이패드(PiPad) Raspberry pi tablet

라즈베리파이로 직접 만든 테블릿이라고 합니다.



아래는 초기에 만든 프로토 타입 이라고 합니다.




그리고, 아래는 테블릿 내부 모습입니다.
베터리, 라즈베리파이 본체, USB 허브등이 보이네요.



비록 기존의 있는 부품들을 이용해서 만든거고, 만드는 비용만도 요즘 나오는 기성품보다 더 비싸지만 스스로 만든 즐거움과, 성취 만족감은 그 돈에 비할바가 못되지요.
한번 도전해보고 싶네요. ^^

http://www.mkcastor.com/2014/01/02/pipad-build/





2015년 1월 2일 금요일

우분투 한글(HWP) 뷰어


우분투를 사용하실 정도라면, Libre Office 를 사용하시겠지만,
종종 hwp 파일을 열어야 하는경우가 있습니다.

우분투 한글 뷰어입니다.
PlayOnLinux를 이용하거나 VirtualBox 를 띄워 윈도우로 사용하곤 했는데,
공식 사이트에서 리눅스 버전이 제공됩니다.

http://hanfriends.com/ 에 접속하시고,
좌측에 '뷰어 다운로드'를 누르시면, 우측에 다양한 버젼의 해당 파일(.deb)이 있습니다.
시스템에 맞는 버전을 받아 설치하시면 됩니다.
(다운받으시고, 실행하시면, 보통 Ubuntu Software Center로 연결되어 설치할수 있습니다.)




공지사항 : http://www.hancom.com/downLoad.downView.do?mcd_save=002&seqno=4068

<한컴오피스 한/글 2014 뷰어 for Linux 저작권 안내>
 한컴오피스 한/글 2014 뷰어'에 포함된 모든 프로그램과 부속물에 대한 저작권과 지적소유권은 ()한글과컴퓨터 또는 해당 개발사가 가지고 있으며이 권리는 대한민국의 저작권법과 국제 저작권 조약에 의해 보호받고 있습니다따라서 ()한글과컴퓨터의 사전 서면 동의 없이 부속된 자료 파일이나 문서 내용의 전부 또는 일부를 수정변형 및 복사할 수 없습니다또한 ()한글과컴퓨터는 이 제품에 포함된 기능이 고객의 특정 목적에 적합할 것이라는 보증은 하지 않으며본 제품의 사용으로 인해 초래된 모든 결과에 대하여 책임지지 않습니다.
  
<지원 파일 형식>
 워드프로세서 문서: *.hwp, *.hwt, *.hwpx, *.hml, *.frm, *.docx , *.doc, *.txt
  
<시스템 사용 환경>
 운영체제: Ubuntu 14.04 LTS(32/64bit)
하드디스크 설치 용량 100MB 이상 권장