Skip to content

Instantly share code, notes, and snippets.

View yljphp's full-sized avatar
🎯
Focusing

小杨 yljphp

🎯
Focusing
View GitHub Profile
@yljphp
yljphp / score.php
Created March 4, 2017 01:57 — forked from JellyBool/score.php
What is your github score
<?php
$eventTypes = [];
$score = 0;
foreach ($events as $event) {
$eventTypes[] = $event['type'];
}
foreach ($eventTypes as $eventType) {
switch ($eventType){
case 'PushEvent':
package main

import "fmt"

func main() {
    var fs = [4]func(){}
    for i := 0; i < 4; i++ {
 defer fmt.Println("defer i=", i)