2110523 Enterprise Application Architecture
- 5431040021 นายสาริน ดุรงค์ดำรงชัย
- 5430211821 นายทวีเกียรติ ตรงวงศา
- 5430359021 นายปัณณวัฒน์ เทิดชนะกุล
- 5431038821 นางสาววิภาวี ไตรรัตนาภา
- 5431010121 นายณัฐพล พัฒนาวิจิตร
| import os | |
| os.system("rm a.txt") | |
| with open("a.txt","w") as f: | |
| f.write("a") | |
| for i in range(29): | |
| print i | |
| os.system("cat a.txt > b.txt") | |
| os.system("cat b.txt >> a.txt") |
| #include <opencv2/core/core.hpp> | |
| #include <opencv2/highgui/highgui.hpp> | |
| #include <opencv2/imgproc/imgproc.hpp> | |
| #include <iostream> | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string> | |
| #include <vector> | |
| #include <algorithm> | |
| using namespace cv; |
| package org.student.email; | |
| import javax.jws.WebService; | |
| import javax.jws.WebMethod; | |
| import javax.jws.WebParam; | |
| import javax.xml.ws.WebServiceRef; | |
| import org.oorsprong.websamples.CountryInfoService; | |
| /** | |
| * |
| require 'active_support/core_ext' | |
| require 'json' | |
| files = Dir.glob(File.join('.', "*.xml")) | |
| files.to_enum.with_index(1).each do |file, i| | |
| puts "converting #{i} of #{files.length}: #{file}" | |
| xml = File.read(file) | |
| f = File.open(file+".json", 'w') |
| package com.example.laptimer; | |
| import android.content.Intent; | |
| import android.database.Cursor; | |
| import android.os.Bundle; | |
| import android.app.Activity; | |
| import android.view.Menu; | |
| import android.view.MenuItem; | |
| import android.widget.ListView; |
| bubblesort([],[]). | |
| bubblesort(In, [H|Out]):- | |
| pulldown(In, [H|T]), | |
| bubblesort(T, Out), | |
| pulldown([],[]). | |
| pulldown([A], [A]). | |
| pulldown([H|T], [H,X|Y]):- | |
| pulldown(T,[X|Y]), | |
| H <= X. |
| #include "ish.h" | |
| #include <unistd.h> | |
| #include <sys/types.h> | |
| char extern **environ; | |
| void all_environ(){ | |
| int count = 0; | |
| while (environ[count] != NULL) | |
| { |
| import QSTK.qstkutil.qsdateutil as du | |
| import QSTK.qstkutil.tsutil as tsu | |
| import QSTK.qstkutil.DataAccess as da | |
| import datetime as dt | |
| import matplotlib.pyplot as plt | |
| import pandas as pd | |
| import numpy as np |
| /*============================================================================== | |
| Copyright (c) 2010-2013 QUALCOMM Austria Research Center GmbH. | |
| All Rights Reserved. | |
| Confidential and Proprietary - QUALCOMM Austria Research Center GmbH. | |
| ==============================================================================*/ | |
| using UnityEngine; | |
| /// <summary> | |
| /// A custom handler that implements the ITrackableEventHandler interface. |