Skip to content

Instantly share code, notes, and snippets.

Working from home

Gemblue gemblue

Working from home
Block or report user

Report or block gemblue

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
gemblue / index.html [1]
Created Apr 7, 2018
Clean Blog Tutorial
View index.html [1]
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
gemblue / basic.php
Last active Sep 11, 2016
PHP Generator Function
View basic.php
// Get number
function get_one_two_three() {
for ($i = 1; $i <= 3; $i++) {
yield $i;
$result = get_one_two_three();
View Method Chaining
// Tanpa chaining
$kucing = new Hewan();
// Dengan chaining
$kucing = new Hewan();
You can’t perform that action at this time.