Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

杨立景 yljphp

🎯
Focusing
Block or report user

Report or block yljphp

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
View go_defer.md
package main

import "fmt"

func main() {
    var fs = [4]func(){}
    for i := 0; i < 4; i++ {
        defer fmt.Println("defer i=", i)
@yljphp
yljphp / score.php
Created Mar 4, 2017 — forked from JellyBool/score.php
What is your github score
View score.php
<?php
$eventTypes = [];
$score = 0;
foreach ($events as $event) {
$eventTypes[] = $event['type'];
}
foreach ($eventTypes as $eventType) {
switch ($eventType){
case 'PushEvent':
You can’t perform that action at this time.