Programming2015. 11. 18. 10:54

요즘 읽고 있는 책.

TDD는 어떠한 경우에도 유용한 개발방법론이고 따로 개발방법론이라고 부르지 않더라고 개발자의 생활이되는 날이 올것이라 믿습니다. 어떻게 숨쉬는지 가르치는 책이 없듯이 우리 아들이 컷을때는 왜 이런것이 책으로 따로 배워야하는 건지 묻게될터.


http://www.throwtheswitch.org/ ; Unity, C unit test

http://www.cpputest.org/

http://www.jamesgrenning.com/ ; author's website


----------------

Test-driven development (TDD) is a software development process that relies on the repetition of a very short development cycle: first the developer writes an (initially failing) automated test case that defines a desired improvement or new function, then produces the minimum amount of code to pass that test, and finally refactors the new code to acceptable standards. Kent Beck, who is credited with having developed or 'rediscovered'[1] the technique, stated in 2003 that TDD encourages simple designs and inspires confidence.[2]

Test-driven development is related to the test-first programming concepts of extreme programming, begun in 1999,[3] but more recently has created more general interest in its own right.[4]

Programmers also apply the concept to improving and debugging legacy code developed with older techniques.[5]

https://en.wikipedia.org/wiki/Test-driven_development

----------------

*Google book review

Another day without Test-Driven Development means more time wasted chasing bugs and watching your code deteriorate. You thought TDD was for someone else, but it's not! It's for you, the embedded C programmer. TDD helps you prevent defects and build software with a long useful life. This is the first book to teach the hows and whys of TDD for C programmers.

TDD is a modern programming practice C developers need to know. It's a different way to program---unit tests are written in a tight feedback loop with the production code, assuring your code does what you think. You get valuable feedback every few minutes. You find mistakes before they become bugs. You get early warning of design problems. You get immediate notification of side effect defects. You get to spend more time adding valuable features to your product.

James is one of the few experts in applying TDD to embedded C. With his 1.5 decades of training,coaching, and practicing TDD in C, C++, Java, and C# he will lead you from being a novice in TDD to using the techniques that few have mastered.

This book is full of code written for embedded C programmers. You don't just see the end product, you see code and tests evolve. James leads you through the thought process and decisions made each step of the way. You'll learn techniques for test-driving code right nextto the hardware, and you'll learn design principles and how to apply them to C to keep your code clean and flexible.

To run the examples in this book, you will need a C/C++ development environment on your machine, and the GNU GCC tool chain or Microsoft Visual Studio for C++ (some project conversion may be needed).

https://books.google.com/books/about/Test_Driven_Development_for_Embedded_C.html?id=QuUBRQAACAAJ&hl=en

----------------

'Programming' 카테고리의 다른 글

Visual Studio 2015 제품군  (0) 2015.11.19
Hard core Embedded Programming - no printf() sprintf()  (0) 2015.11.19
C++ reference link  (0) 2015.10.31
C언어 레퍼런스  (0) 2015.10.25
Eclipse for C/C++  (0) 2015.10.17
Posted by 쁘레드
Programming2015. 10. 31. 02:46

C++는 예전에 배웠던 사람은 이해하기 힘들정도로 이제 완전 새로운 언어가 되어버렸다.


C++11 ; 가장 극적으로 많이 변했음

C++14

C++17

-------------

http://en.cppreference.com/w/cpp

C++ reference

--------------

http://en.cppreference.com/w/cpp/compiler_support

major c++ compiler

  1. GCC
  2. Clang
  3. MSVC

Clang은 Apple이 주도하고 Google,MS,Intel,ARM,Sony가 참여하는 거대 open source project. Clang은 compiler front end라고 하고 back end는 LLVM을 쓴다고 함. 나도 무슨 말인지 모름. ^^ LLVM(Low Level Virtual Machine)이니까 LLVM위에 올라가는 compiler라는 뜻인듯.

https://en.wikipedia.org/wiki/Clang


--------------

GCC download 받을 곳

  1. cygwin
  2. minGW
  3. Equation - http://www.equation.com/servlet/equation.cmd?fa=fortran

MingGW는 http://www.mingw.org/나 sourceforge 말고 아래 사이트를 이용.

MinGW Distro

http://nuwen.net/mingw.html

----------------

MinGW w64

http://mingw-w64.org/doku.php


--------------

https://msdn.microsoft.com/en-us/library/3bstk3k5.aspx

http://blogs.msdn.com/b/vcblog/archive/2015/06/19/c-11-14-17-features-in-vs-2015-rtm.aspx

MS는 CPP compiler지원과 std library지원에 있어서 역시나 자신만의 길을 걷는다. 나쁜 세끼들. 표준에 따르지.

#ifdef _MSC_VER
// disable _s warnings
#define _CRT_SECURE_NO_WARNINGS
// disable pragma warnings
#pragma warning( disable : 4068 )
// standard function missing from MS library
#include 
int vasprintf(char ** ret, const char * format, va_list ap);
#else
#define _NOEXCEPT noexcept
#endif

-------------

virtual, vtable, c++ vs c

http://www.eventhelix.com/RealtimeMantra/basics/ComparingCPPAndCPerformance2.htm#.Vju4c7NVhBc


-------------

왜 C++는 optimazation에서 불리할까?

Inheritance - copy unnecessary codes

vtable - 

template - compiler generated codes for all possible types 

-------------

http://en.cppreference.com/w/cpp/language/cv

Appear in any type specifier, including decl-specifier-seq of declaration grammar, to specify constness or volatility of the object being declared or of the type being named.

  • const - defines that the type is constant.
  • volatile - defines that the type is volatile.
  • mutable - applies to non-static class members of non-reference non-const type and specifies that the member does not affect the externally visible state of the class (as often used for mutexes, memo caches, lazy evaluation, and access instrumentation). mutable members of const classes are modifiable. (Note: the C++ language grammar treats mutable as a storage-class-specifier, but it does not affect storage class.)

-------------

http://www.cplusplus.com/reference

C Library

The elements of the C language library are also included as a subset of the C++ Standard library. These cover many aspects, from general utility functions and macros to input/output functions and dynamic memory management functions:


Containers

-------------


-------------


-------------

'Programming' 카테고리의 다른 글

Hard core Embedded Programming - no printf() sprintf()  (0) 2015.11.19
Test Driven Development for Embedded C  (0) 2015.11.18
C언어 레퍼런스  (0) 2015.10.25
Eclipse for C/C++  (0) 2015.10.17
Python - Lottery number generator  (0) 2015.10.15
Posted by 쁘레드
Programming2015. 10. 25. 03:08

예전에 C/C++ programming할때는 VIsual Studio에 MSDN을 설치해서 F1 Help를 통해서 standard library에 대한 reference를 쉽게 얻을 수 있었는데 요즘은 인터넷이 발달했다고는 하나 오히려 이런 면에서는 더 찾기 어려워졌습니다.


-----------------

http://en.cppreference.com/w/c

http://www.tutorialspoint.com/cprogramming/index.htm

http://stackoverflow.com/questions/tagged/c ; stack overflow C questions

https://msdn.microsoft.com/en-us/library/59ey50w6.aspx ; Microsoft C Runtime library reference

https://www.gnu.org/software/libc/download.html ; GNU C source code


http://www.tutorialspoint.com/data_structures_algorithms/index.htm ; data structures and alogorithms


http://www.cquestions.com/ ; c programming questions

-----------------

FAQ

Language

Headers

Type support

Dynamic memory
management

Error handling

Program utilities

Variadic functions

Date and time utilities

Strings library

Algorithms

Input/output support

Numerics

Localization support

Atomic operations library (since C11)

Thread support library (since C11)

Technical Specifications

-----------------

C Standard Library header files

 
 
<assert.h>Conditionally compiled macro that compares its argument to zero
<complex.h> (since C99)Complex number arithmetic
<ctype.h>Functions to determine the type contained in character data
<errno.h>Macros reporting error conditions
<fenv.h> (since C99)Floating-point environment
<float.h>Limits of float types
<inttypes.h> (since C99)Format conversion of integer types
<iso646.h> (since C95)Alternative operator spellings
<limits.h>Sizes of basic types
<locale.h>Localization utilities
<math.h>Common mathematics functions
<setjmp.h>Nonlocal jumps
<signal.h>Signal handling
<stdalign.h> (since C11)alignas and alignof convenience macros
<stdarg.h>Variable arguments
<stdatomic.h> (since C11)Atomic types
<stdbool.h> (since C99)Boolean type
<stddef.h>Common macro definitions
<stdint.h> (since C99)Fixed-width integer types
<stdio.h>Input/output
<stdlib.h>General utilities: memory managementprogram utilitiesstring conversionsrandom numbers
<stdnoreturn.h> (since C11)noreturn convenience macros
<string.h>String handling
<tgmath.h> (since C99)Type-generic math (macros wrapping math.h and complex.h)
<threads.h> (since C11)Thread library
<time.h>Time/date utilities
<uchar.h> (since C11)UTF-16 and UTF-32 character utilities
<wchar.h> (since C95)Extended multibyte and wide character utilities
<wctype.h> (since C95)Wide character classification and mapping utilities


References

  • C11 standard (ISO/IEC 9899:2011):
  • 7 Library (p: 180-457)
  • C99 standard (ISO/IEC 9899:1999):
  • 7 Library (p: 164-402)
  • C89/C90 standard (ISO/IEC 9899:1990):
  • 4 LIBRARY


'Programming' 카테고리의 다른 글

Test Driven Development for Embedded C  (0) 2015.11.18
C++ reference link  (0) 2015.10.31
Eclipse for C/C++  (0) 2015.10.17
Python - Lottery number generator  (0) 2015.10.15
Internet of Things(IOT) Programming  (0) 2015.10.13
Posted by 쁘레드
Programming2015. 10. 17. 07:13

(계속수정중)


Eclipse download

http://www.eclipse.org/downloads/packages/eclipse-ide-cc-developers/mars1

----------------

Download MinGW

http://sourceforge.net/projects/mingw/?source=typ_redirect

c/c++ 관련된것만 download 함.

Default : C:\MinGW

Windows Path = C:\MinGW\bin

----------------

MinGW Distro

http://nuwen.net/mingw.html

----------------

MinGW w64

http://mingw-w64.org/doku.php

----------------

EClipse에서 수정

Preference ->C/C++ ->New C/C++ Project Wizard -> Makefile project

Binary Parsers = GNU Elf Parser

Builder Settings = Build commnad = mingw32-make.exe


EClipse

MINGW_HOME = C:\MinGW

----------------

CTRL + B : build


F11 : Debug

F5 : step into

F6 : step over

F7: step to return

CRTL+R : run to cursor


'Programming' 카테고리의 다른 글

C++ reference link  (0) 2015.10.31
C언어 레퍼런스  (0) 2015.10.25
Python - Lottery number generator  (0) 2015.10.15
Internet of Things(IOT) Programming  (0) 2015.10.13
Drupal Web Application Packages  (0) 2015.10.02
Posted by 쁘레드
Programming2015. 10. 15. 10:28

가끔식 로또할때가 있어서 그냥 무식하게 random으로 찍기는 싫어서 약간의 custom number를 만들수 있도록 간단히 만들어봄.

백만개씩 만들어놓고 당첨번호랑 매칭하는 것도 만들 예정임. 일주일에 백만개씩 사도 로또에 담청될수 없다는 교훈을 가르칠기 위해. ^^

----------------------

import random
import time
#TODO: use current time as random seed

lotterynumbers = range(1,71) # 1-70

# previous winning numbers
# high numbers
# not luckey numbers
exclude_numbers = [12,27,29,43,68,
				66,67,69,70, #68s
				4,22,53]

#print lotterynumbers

for num in exclude_numbers:
	lotterynumbers.remove(num)

print "Number Pool: %s" %lotterynumbers
print "------------------------"

x = 0
while x < 10:
	#lotterynumbers.append(random.randint(1, 10))
	#lotterynumbers.append(random.sample(range(10), 6))
	#lotterynumbers.sort()
	fredarray = random.sample(lotterynumbers, 5)
	fredarray.sort()
	print fredarray
	#print lotterynumbers
	x += 1
print;print

#Mega Number - one lucky number
mega_numbers = range(1,26)  # 1-25
mega_exclude_numbers = [1, 2, 22, 25]

for num in mega_exclude_numbers:
	mega_numbers.remove(num)
print "Mega Number Pool: %s" %mega_numbers
print "------------------------"
y = 0
while y < 5:
	print random.sample(mega_numbers, 1)
	y += 1

#end of the program

----------------------


random_numbers.py


'Programming' 카테고리의 다른 글

C언어 레퍼런스  (0) 2015.10.25
Eclipse for C/C++  (0) 2015.10.17
Internet of Things(IOT) Programming  (0) 2015.10.13
Drupal Web Application Packages  (0) 2015.10.02
Drupal Shell - Drush  (0) 2015.10.02
Posted by 쁘레드
Programming2015. 10. 13. 05:45

IOT Programming에 관한 강좌를 들었습니다.

Programming the Internet of Things with Android

 with Michael Lehman

IT SensorTag를 하나 사서 test해보고 싶은 욕구가 마주 자극됩니다. 하나 주문해야겠다.

---------------------

Programming the Internet of Things with Android with Michael Lehman


*Pre-requisite 

Android Essential Training

Android SDK Enssential Tranining

Android Studio


*Summary

The "Internet of Things" is a catchy way of describing the variety of devices connected through the Internet. This includes webcams, wearable tech like the Pebble and Android Wear watches, car sensors, appliances, and even rudimentary robots. With the Internet of Things (IoT), you can manipulate them from the web. In this course, Michael Lehman shows how to create "things" and build companion apps to monitor and record their activities from Android devices. Learn what's inside a thing, how local communications technologies such as Bluetooth enable app-to-device communications, how to control devices using an Android Wear watch, and how you can create your own things with hardware like the Arduino and Wunderbar. Michael also shows how to use IFTTT services to control things on Android, and muses on the future of IoT. Along the way, you'll gain experience with real-world IoT projects, like a mini weather station and a home lighting system.

Topics include:

Exploring the Internet of Things

Understanding sensors and effectors

Connecting inputs and outputs

Connecting to devices via Wi-Fi or Bluetooth

Creating Bluetooth apps using Android

Creating your own things with programmable hardware

Using IFTTT to program things

Exploring the trends in things


*IOT Devices

Smart band/watch

Nest

Philipse Light bulb

Smart Things

Android Wear

Pebble

Fitbit

Lumo Lift/Run

RasberryPi

Arduino - https://www.arduino.cc/

TI Sensortag - http://www.ti.com/ww/en/wireless_connectivity/sensortag/

Wunderbar - https://www.relayr.io/wunderbar/


*Connectivity

WIFI

Bluetooth Low Energy(BRE) = Bluetooth Smart


*Where to check the trends and new products

iotlist.co

iotnewsnetwork.com

kickstarter.com

indiegogo.com


*Notifications

BaaS : Backend as Service

Pass : Platform as a Service

---------------------

TI SensorTag:


---------------------

Cloud Services

IaaS : Infrastructure as a service

PaaS : Platform as a service

SaaS : Software as a service


---------------------

결국 두개 주문했네요. 헐~


'Programming' 카테고리의 다른 글

Eclipse for C/C++  (0) 2015.10.17
Python - Lottery number generator  (0) 2015.10.15
Drupal Web Application Packages  (0) 2015.10.02
Drupal Shell - Drush  (0) 2015.10.02
Python - JSON을 이용한 지진검색  (0) 2015.10.01
Posted by 쁘레드
Programming2015. 10. 2. 18:17

Drupal이 순정이라면 Drupal을 기반으로 좀더 customized한 package들.

Acquia가 젤 유명했는데 쇼핑몰하려면 Drupal Commerce를 이용하면 좋을것 같고, 왠만한 사이트는 OpenPublic으로 만들면 좋을듯. 기본적으로 100개 이상의 Module이 설치되어서 나옴

----------------

Acquia Drupal - https://www.acquia.com/


Drupal Commerce - https://drupalcommerce.org/


OpenPublic - http://openpublicapp.com/

'Programming' 카테고리의 다른 글

Python - Lottery number generator  (0) 2015.10.15
Internet of Things(IOT) Programming  (0) 2015.10.13
Drupal Shell - Drush  (0) 2015.10.02
Python - JSON을 이용한 지진검색  (0) 2015.10.01
VM Virtualbox에 Ubuntu설치후  (0) 2015.10.01
Posted by 쁘레드
Programming2015. 10. 2. 14:43




Web Frameworkd으로 CMF(Content Management Framework)/CMS(** System)중 하나인 Drupal을 오래동안 써왔는데 Menu를 왔다리갔다리 하던 노가다가 많았는데 누가 이런 shell을 만들어서 하나의 모듈이 아니라 프로젝트로 독립했네요. 자주쓰는 기능은 commandline에서 치는게 훨씬 좋지요. 대단한 사람들입니다.

-----------------

Drush is a command line shell and Unix scripting interface for Drupal. Drush core ships with lots of useful commands for interacting with code like modules/themes/profiles. Similarly, it runs update.php, executes sql queries and DB migrations, and misc utilities like run cron or clear cache. Drush can be extended by 3rd party commandfiles.

http://www.drush.org/

https://github.com/drush-ops/drush ; github를 통해서 공개가 되었네요

-----------------

CommandDescription
drush statusShows the status of your Drupal Install
drush dlDownload and install a drupal module. This defaults to the sites/all/modules directory.
drush enEnable a module
drush disDisable a module
drush upCheck for available updates, download updated modules, and run update.php
drush upCheck to see if the specific module needs updating, and if so, download it and run update.php
drush dl pathauto && drush en pathauto -yDownload Pathauto and its dependent module and enable it.
drush sql-dump --result-file=db-backup.sqlDump the entire Drupal database into a file called db-backup.sql. In other words, backup your database.
drush sql-cli < db-backup.sqlConnect to the database server and run the commands in db-backup.sql. In other words, restore the database from db-backup.sql
drush cc allClear all caches
drush vset preprocess_css 0 --yesTurn off CSS caching. This is useful when developing themes.
drush vset preprocess_js 0 --yes    Turn off JavaScript caching
drush cronRun cron
drush vset site_offline 1 --yesPut a site into maintenance mode (D6 only)
drush vset maintenance_mode 1 --yesPut a site into maintenance mode (D7 only)
drush vset site_offline 0 --yesTake a site out of maintenance mode (D6 only)
drush vset maintenance_mode 0 --yesTake a site out of maintenance mode (D7 only)

-----------------

  • drush pm-download cck views (Downloads specified modules with a space between each one.)
  • drush pm-enable cck views (Enables specified modules. No more checking boxes!)
  • drush pm-disable cck views (Disables specified modules)
  • drush pm-uninstall cck views (Uninstalls specified modules)
  • drush status (Shows the status of your Drupal Install)
  • drush pm-update (Updates all Modules and Drupal Core)
  • drush cache-clear (Clear all Cache)

-----------------


'Programming' 카테고리의 다른 글

Internet of Things(IOT) Programming  (0) 2015.10.13
Drupal Web Application Packages  (0) 2015.10.02
Python - JSON을 이용한 지진검색  (0) 2015.10.01
VM Virtualbox에 Ubuntu설치후  (0) 2015.10.01
Python - String, File, Regular Expression  (0) 2015.09.30
Posted by 쁘레드
Programming2015. 10. 1. 08:53


-------------------

*USGS Json data structure

http://earthquake.usgs.gov/earthquakes/feed/v1.0/geojson_detail.php


*Past Day M2.5+ Earthquakes

http://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/2.5_day.geojson


-------------------


# 

import urllib2
import json

def printResults(data):
  # Use the json module to load the string data into a dictionary
  theJSON = json.loads(data)
  
  # now we can access the contents of the JSON like any other Python object
  if "title" in theJSON["metadata"]:
    print theJSON["metadata"]["title"]
  
  # output the number of events, plus the magnitude and each event name  
  count = theJSON["metadata"]["count"];
  print "Yesterday Total " + str(count) + " events recorded"
  
  # for each event, print the place where it occurred
#  for i in theJSON["features"]:
#    print i["properties"]["place"]

  # print the events that only have a magnitude greater than 4
  print"\n"
  print "Magnitude greater than 4:\n"
  for i in theJSON["features"]:
    if i["properties"]["mag"] >= 4.0:
      print "%2.1f" % i["properties"]["mag"], i["properties"]["place"]

  # print only the events where at least 1 person reported feeling something
  print "\n"
  print "Events that were felt:\n"
  for i in theJSON["features"]:
    feltReports = i["properties"]["felt"]
    placeOccur = i["properties"]["place"]
    if (feltReports != None) & (feltReports > 0):
        if (i["properties"]["place"].find("California") > 0 or i["properties"]["place"].find("Mexico") > 0) :
		    print "*****************************************"
        print "%2.1f" % i["properties"]["mag"], i["properties"]["place"], " reported " + str(feltReports) + " times"
 
  
def main():
  # define a variable to hold the source URL
  # In this case we'll use the free data feed from the USGS
  # This feed lists all earthquakes for the last day larger than Mag 2.5
  #Fred: http://earthquake.usgs.gov/earthquakes/feed/v1.0/geojson.php
  urlData = "http://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/2.5_day.geojson"
  
  # Open the URL and read the data
  webUrl = urllib2.urlopen(urlData)
  print ("USGS is alive, response=%d" % webUrl.getcode())
  if (webUrl.getcode() == 200):
    data = webUrl.read()
    # print out our customized results
    printResults(data)
  else:
    print "Received an error from server, cannot retrieve results " + str(webUrl.getcode())

if __name__ == "__main__":
  main()

-------------------

sample file


jsondata_finished.py



'Programming' 카테고리의 다른 글

Drupal Web Application Packages  (0) 2015.10.02
Drupal Shell - Drush  (0) 2015.10.02
VM Virtualbox에 Ubuntu설치후  (0) 2015.10.01
Python - String, File, Regular Expression  (0) 2015.09.30
Python - Stock Price Quote  (0) 2015.09.30
Posted by 쁘레드
Programming2015. 10. 1. 07:00

VM Virtualbox에 linux 설치하기는 여러 글이 많이 있지만 그 다음에...

  • Host에서 SSH로 Ubuntu에 접속하기
  • Shared folder를 mount해서 Ubuntu에서 read/write하기
  • Ubuntu screen resolution이 640x480이상으로 하기
  • LAMP을 설치후 Drupal 설치하고 web programming하기
  • Android build environment 설치하기

--------------

sudo apt-get install openssh-server 


#port check

netstat -ant | grep 2222

netstat -lnpt | grep 22

-------------

Port forwarding

포트포워딩 3개를 네트워크 세팅에다 넣어줌

SSH TCP 2222 to 22

HTTP TCP 8080 to 80

MYSQL TCP 3306 to 3306

MYSQL UDP 3306 to 3306

-------------

http://unix.stackexchange.com/questions/145997/trying-to-ssh-to-local-vm-ubuntu-with-putty


Two network devices

1. Bridged (as default for internet)

2. Host only


eth0      Link encap:Ethernet  HWaddr 08:00:27:16:f4:3c

          inet addr:10.42.130.246  Bcast:10.255.255.255  Mask:255.0.0.0

          inet6 addr: fe80::a00:27ff:fe16:f43c/64 Scope:Link

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:157 errors:0 dropped:0 overruns:0 frame:0

          TX packets:126 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:11529 (11.5 KB)  TX bytes:14439 (14.4 KB)


eth1      Link encap:Ethernet  HWaddr 08:00:27:be:3b:1f

          inet addr:192.168.56.102  Bcast:192.168.56.255  Mask:255.255.255.0

          inet6 addr: fe80::a00:27ff:febe:3b1f/64 Scope:Link

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:138 errors:0 dropped:0 overruns:0 frame:0

          TX packets:172 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:14585 (14.5 KB)  TX bytes:27815 (27.8 KB)



SSH to 192.168.*.*

----------

Share forlders from VM setting.

------------

Guest Additions

sudo apt-get install virtualbox-guest-dkms virtualbox-guest-x11

GuestAdditions is required, no need cdrom is requried.

http://askubuntu.com/questions/456400/why-cant-i-access-a-shared-folder-from-within-my-virtualbox-machine


Start VM

Devices > Insert Guest Additions CD image...

I had to manually mount the CD: sudo mount /dev/cdrom /media/cdrom

Install the necessary packages: sudo apt-get install make gcc linux-headers-$(uname -r)

Install the Guest Additions: sudo /media/cdrom/VBoxLinuxAdditions.run

Now you can mount your share using:


mkdir ~/host

sudo mount -t vboxsf La_Build ~/host

-----------

GuestAdditions이 있으면 화면 해상도도 자유로워짐

-----------

$ sudo apt-get update
$ sudo apt
-get install openjdk-7-jdk
$ sudo apt-get install git-core gnupg flex bison gperf build-essential \
  zip curl zlib1g
-dev gcc-multilib g++-multilib libc6-dev-i386 \
  lib32ncurses5
-dev x11proto-core-dev libx11-dev lib32z-dev ccache \
  libgl1
-mesa-dev libxml2-utils xsltproc unzip

https://source.android.com/source/initializing.html

$ sudo update-alternatives --config java
$ sudo update
-alternatives --config javac

*repo ?

sudo apt-get install phablet-tools


------------

 sudo apt-get install lamp-server^

*config apach

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

------------


------------


------------

'Programming' 카테고리의 다른 글

Drupal Shell - Drush  (0) 2015.10.02
Python - JSON을 이용한 지진검색  (0) 2015.10.01
Python - String, File, Regular Expression  (0) 2015.09.30
Python - Stock Price Quote  (0) 2015.09.30
VIM resource file  (0) 2015.09.30
Posted by 쁘레드