Skip to content

Instantly share code, notes, and snippets.

View chrepl's full-sized avatar
👨‍💻
is typing...

alper chrepl

👨‍💻
is typing...
View GitHub Profile
@chrepl
chrepl / Makefile
Created May 2, 2023 11:44 — forked from thomaspoignant/Makefile
My ultimate Makefile for Golang Projects
GOCMD=go
GOTEST=$(GOCMD) test
GOVET=$(GOCMD) vet
BINARY_NAME=example
VERSION?=0.0.0
SERVICE_PORT?=3000
DOCKER_REGISTRY?= #if set it should finished by /
EXPORT_RESULT?=false # for CI please set EXPORT_RESULT to true
GREEN := $(shell tput -Txterm setaf 2)
@chrepl
chrepl / push-upstream.sh
Last active October 11, 2021 15:54
Push branches and tags from one remote into another, without checkout
gp upstream 'refs/remotes/origin/*:refs/heads/*'
gp upstream 'refs/tags/*:refs/tags/*'
@chrepl
chrepl / rec.c
Last active October 14, 2018 15:36
int recursive();
int main()
{
puts("call recursive()");
asm (
"call _recursive"
);
// never reached
return 0;

Keybase proof

I hereby claim:

  • I am chrepl on github.
  • I am chrepl (https://keybase.io/chrepl) on keybase.
  • I have a public key whose fingerprint is 0B8D 9E8F 6818 CDDF ACE9 128C 9C61 B369 76C4 5459

To claim this, I am signing this object:

# -*- coding: utf-8 -*-
"""Example Google style docstrings.
This module demonstrates documentation as specified by the `Google Python
Style Guide`_. Docstrings may extend over multiple lines. Sections are created
with a section header and a colon followed by a block of indented text.
Example:
Examples can be given using either the ``Example`` or ``Examples``
sections. Sections support any reStructuredText formatting, including