Skip to content

Instantly share code, notes, and snippets.

View rizafr's full-sized avatar
🏠
Working from home

Riza rizafr

🏠
Working from home
  • Bobobox
  • Cimahi
  • 08:37 (UTC +07:00)
View GitHub Profile
@rizafr
rizafr / _.md
Created January 4, 2017 09:21
Arc Pie
@rizafr
rizafr / _.md
Created January 4, 2017 09:21
Arc Pie
@rizafr
rizafr / Chapter 6
Last active September 18, 2016 12:50
# Chapter 6
# Jenis-jenis Refactoring
## Composing Method
### *Extract Method*
Semakin banyak baris kode di dalam sebuah method, semakin sulit mengetahui apa yang dilakukan oleh method tersebut, Hal ini yang menjadi alasan digunakannya *Extract Method*
Contoh : [*kode*](https://github.com/urbanindo/urbanindo-v2/blob/master/apps/desktop/modules/account/controllers/ListingsController.php#L30)
public function actionIndex($filter = null, $premium = null)
/* Non-responsive overrides for Bootstrap 3
*
* Utilize the following CSS to disable the responsive-ness of the container,
* grid system, and navbar.
*/
/* Reset the container */
.container {
max-width: none !important;
width: 970px;