8000 amirhnajafiz (Amir Zadeh) · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
View amirhnajafiz's full-sized avatar
🏠
Working from home
🏠
Working from home

Organizations

@CEIT-SSC @aut-icpc @aut-ce @linuxfestival @research-camp @amirhnajafiz-archive @aut-daralfonoon @amirhnajafiz-presentations @official-stallion

Block or report amirhnajafiz

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
amirhnajafiz/README.md
package main

import (
	"rebel"
	"life"
	"love"
	"seawolves"

	"os"
	"fmt"
)

func init() {
	os.Setenv("WISE_MAN_SAID", "Everything will be alright, just keep going forward ..")
}

func characteristics() map[string]interface{} {
	return map[string]interface{
		"coding": []string{"Go", "Python", "C", "C++", "Rust", "JavaScript", "PHP"},
		"fav_companies": []string{"Google", "RedHat", "AWS", "iBM"},
		"fields": []string{"Distributed Systems", "Virtualization", "Operating Systems", "Systems Security"},
		"fav_os": "linux ubuntu",
		"fav_app": "Notion",
	}
}

func fun_facts() {
	// fav_movies
	for i := 1; i < 6; i++ {
		fmt.Printf("Pirates of the Caribbean %d\n", i)
	}

	// fav_sports_and_team
	soccer := "Arsenal (Let's go gunners .....)"
	basketball := "New York Knicks"

	// fav_series
	series := []string{"Brooklyn 99", "Modern Family", "Mr.Robot", "Family Guy", "Office (US version)"}
	for _, s := range series {
		fmt.Println(s)
	}
}

// It's never to late to do what you have been dreaming of
// Be rebel, Be unique, Be yourself
func main() {
	// create a new me
	me := &rebel.Man{
		Name: "Amir Hossein",
		Love: &love.Honey{
			Name: "Asal",
			ExpiresAt: nil,
			LoveAmount: love.Endless,
		},
		Effort: rebel.Maximum + seawolves.Spirit,
		Type: []int{life.FunnyOne, life.FatOne, life.RebelOne},
		Interests: []string{"Computers", "Movies", "Rock & Roll (80s & 90s)", "Batman", "Guitar", "Asal"},
		Characteristics: characteristics(),
		Slogan: "In GOD we trust, In people we just",
	}
	
	// start life
	life.Start(me)
	defer life.Exit(me)

	fun_facts()
	
	// my life cycle
	for me.IsAlive() {
		go me.DreamBig()
		go me.KeepWorking(life.HardCore)
		go life.Enjoy()
	
		me.Learn(life.NewThing)
		
		if me.FuckedUp() {
			me.SeeMyLove()
		}
	}
}

Pinned Loading

  1. bregman-arie/go-exercises bregman-arie/go-exercises Public

    Go Exercises and Questions

    Go 230 35

  2. nats-io/nats-surveyor nats-io/nats-surveyor Public

    NATS Monitoring, Simplified.

    Go 261 33

  3. official-stallion/stallion official-stallion/stallion Public

    Fast message broker implemented with Golang.

    Go 42

  4. amirhnajafiz-archive/captain-mustache amirhnajafiz-archive/captain-mustache Public archive

    Dockerizing Golang applications under Captains Mustache.

    Go 29

  5. snapp-incubator/mqtt-blackbox-exporter snapp-incubator/mqtt-blackbox-exporter Public

    Connect, Subscribe and Publish over MQTT broker to check its status.

    Go 14 2

  6. syscall-blocker syscall-blocker Public

    Using eBPF to block system calls in Linux.

    C 11

0