PHP: var_dump – Manual

2012년 12월 30일 golgol 0

var_dump — Dumps information about a variable via PHP: var_dump – Manual. var_dump — Dumps information about a variable array(3) { [0]=> int(1) [1]=> int(2) […]

Use where to filer object list

2012년 12월 27일 golgol 0

using System; using System.Collections.Generic; using System.Linq; using System.Text; public class MainClass {     public static void Main() {         List<Product> products = GetProductList();         var soldOutProducts =             from p in products             where p.UnitsInStock == 0             select p;         Console.WriteLine(“Sold out products:”);         foreach (var product in soldOutProducts) {             Console.WriteLine(“{0} is sold out!”, product.ProductName);         }     }     static List<Product> GetProductList() {         List<Product> empTree = new List<Product>();         empTree.Add(new Product { ProductName = “A”, Category = “O”, UnitPrice = 12, UnitsInStock = 5, Total = 36, OrderDate = new DateTime(2005, 1, 1), Id = 1 });         empTree.Add(new Product { ProductName = “B”, Category = “O”, UnitPrice = 2, UnitsInStock = 4, Total = 35, OrderDate = new DateTime(2005, 1, 1), Id = 1 });         empTree.Add(new Product { ProductName = “C”, Category = “O”, UnitPrice = 112, UnitsInStock = 3, Total = 34, OrderDate = new DateTime(2005, 1, 1), Id = 1 });         empTree.Add(new Product { ProductName = “D”, Category = “O”, UnitPrice = 112, UnitsInStock = 0, Total = 33, OrderDate = new DateTime(2005, 1, 1), Id = 1 });         empTree.Add(new Product { ProductName = “E”, Category = “O”, UnitPrice = 1112, UnitsInStock = 2, Total = 32, OrderDate = new DateTime(2005, 1, 1), Id = 1 });         empTree.Add(new Product { ProductName = “F”, Category = “O”, UnitPrice = 11112, UnitsInStock = 0, Total = 31, OrderDate = new DateTime(2005, 1, 1), Id = 1 });         return empTree; […]

하둡(Hadoop) 설치하기 – Pseudo-Distributed

2012년 12월 27일 golgol 0

분산 파일 시스템 하둡 (http://hadoop.apache.org/) 설치를 해보자. CentOS 기준. 현재 안정버전은 1.0.3이고, 2.0.0이 알파버전으로 나온 상태 설치에는 Single Node Setup 와 Cluster Setup 이 있다 […]

Java Model-View-Controller (MVC)

2012년 12월 21일 golgol 0

Model-View-Controller (MVC) Structure Previous – Presentation-Model Here the same calculator is organized according the the Model-View-Controller (MVC)pattern. The idea is to separate the user interface […]

JSP 디비 컨넥트

2012년 12월 21일 golgol 0

Email Server Settings port

2012년 12월 20일 golgol 0

western union locations chicago Email Server Settings All email accounts we host, regardless of the domain name, will use the following server settings. To use […]

[MYSQL] 계정생성 및 권한부여

2012년 12월 20일 golgol 0

MySQL 사용하기 MySQL에서 root 암호 설정 mysqladmin을 이용하여 root 암호 설정 MySQL을 처음 설치하면 root 암호가 설정되어 있지 않기 때문에 반드시 설치 후 바로 root […]

미국 소프트웨어 엔지니어 평균연봉

2012년 12월 18일 golgol 0

글래스도어의 지난 10월 조사 – 소프트웨어 엔지니어는 구글은 평균 연봉이 12만8천336달러(약 1억4천만원) 페이스북(12만3천626달러) 애플(11만4천413달러) 등 순 당시 미국 내 소프트웨어 엔지니어의 평균 연봉은 9만2천648달러였다.

100만통의 이메일 처리를 위하여

2012년 12월 17일 golgol 0

소규모 처리를 담당하는 서버에서 대규모 서버로 진화하기 위해서 어떤 것이 필요하고 그 과정에서 중요한 단계마다의 병목은 무었인지 그리고 이 것을 어떻게 해결할 수 있는지에 대해서 […]