Skip to content

Instantly share code, notes, and snippets.

View prawee's full-sized avatar
🫣
Chill

Prawee Wongsa prawee

🫣
Chill
View GitHub Profile
@prawee
prawee / index.php
Last active June 11, 2020 06:42
using php read properties of folder or file
<?php
/**
* @link http://www.prawee.com
* 11/06/2020 11:03 AM
* @copyright Copyright (c) 2020 served
* @author Prawee Wongsa <prawee.wongsa@allianz.com>
* @license BSD-3-Clause
*/
date_default_timezone_set('Asia/Bangkok');
@prawee
prawee / SoftEng.md
Created December 25, 2017 16:36 — forked from ruimaranhao/SoftEng.md
Using Github to Teach Software Engineering: A Hands-on Approach

Teaching Software Engineering using GitHub

Rui Maranhão, Hugo Sereno Ferreira, and Nuno Flores

Software engineering is the study and an application of engineering to the software development lifecycle, including requirements, design, architecture, development, testing, and maintenance. It is important that Universities teach students not only the theory underlying these phases, but also allow students to practice using real systems.

Quoting Arie van Deursen:

When teaching software engineering [architecture] it is hard to strike the right balance between practice (learning how to work with real systems and painful trade offs) and theory (general solutions that any architect needs to thoroughly understand).

To address this, inspired by TUDelft's Software Architecture course, we decided try something different in the Software Engineering course of the [University of

# frontend
server {
listen 80;
server_name yii2.lo;
server_tokens off;
client_max_body_size 128M;
charset utf-8;
access_log /var/log/nginx/yii2-access.log main buffer=50k;