Skip to content

Instantly share code, notes, and snippets.

View buraksezer's full-sized avatar

Burak Sezer buraksezer

View GitHub Profile
@buraksezer
buraksezer / limitConcurrentGoroutines.go
Created March 9, 2019 01:26 — forked from AntoineAugusti/limitConcurrentGoroutines.go
Limit the maximum number of goroutines running at the same time
package main
import (
"flag"
"fmt"
"time"
)
// Fake a long and difficult work.
func DoWork() {
@buraksezer
buraksezer / round.go
Created November 4, 2018 02:26 — forked from davidvthecoder/round.go
Arggh Golang does not include a round function in the standard math package. So I wrote a quick one.
package main
import (
"log"
"math"
)
func Round(val float64, roundOn float64, places int ) (newVal float64) {
var round float64
pow := math.Pow(10, float64(places))
@buraksezer
buraksezer / gist:7c028bfa53c8c27f5c2922c96921462c
Created September 30, 2018 21:54 — forked from digitaljhelms/gist:4287848
Git/GitHub branching standards & conventions

Branching

Quick Legend

Description, Instructions, Notes
Instance Branch
@buraksezer
buraksezer / license-badges.md
Created April 1, 2018 13:33 — forked from lukas-h/license-badges.md
License Badges for your Project

Markdown License badges

Collection of License badges for your Project's README file.
This list includes the most common open source and open data licenses.
Easily copy and paste the code under the badges into your Markdown files.

Notes

  • Badges are made with Shields.io.
  • This badges do not fully replace the license informations for your projects, they are only emblems for the README, that the user can see the License at first glance.  
  • 🇫🇷 Cette liste en français
  • Github has a new autodetection of the LICENSE file, which shows up the license at the repo overview