Skip to content

Instantly share code, notes, and snippets.

View y4roslav's full-sized avatar
🎯
Writing

Yaroslav Ravlinko y4roslav

🎯
Writing
View GitHub Profile
@y4roslav
y4roslav / code_header.rb
Created October 25, 2019 15:34
File header example
# File: exec_file.rb
# Version: 0.0.1
# Author: Yaroslav Ravlinko <yaroslav@insyde.group>
# Description: Implementations of methods for something ...
# ---------------------------------------------------------------
# @connect - method for ...
@y4roslav
y4roslav / GLWTS LICENSE
Created January 31, 2019 16:50
GLWTS License
GLWTS(Good Luck With That Shit) Public License
Copyright (c) Every-fucking-one, except the Author
Everyone is permitted to copy, distribute, modify, merge, sell, publish,
sublicense or whatever the fuck they want with this software but at their
OWN RISK.
Preamble
The author has absolutely no fucking clue what the code in this project
@y4roslav
y4roslav / GLWT LICENSE
Last active January 31, 2019 16:49
Basic GLWT LICENSE
GLWT(Good Luck With That) Public License
Copyright (c) Everyone, except Author
Everyone is permitted to copy, distribute, modify, merge, sell, publish,
sublicense or whatever they want with this software but at their OWN RISK.
Preamble
The author has absolutely no clue what the code in this project does.
It might just work or not, there is no third option.
@y4roslav
y4roslav / .gitignore.python
Created January 31, 2019 16:30
.gitignore for python project
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
# C extensions
*.so
# Distribution / packaging
.Python

Keybase proof

I hereby claim:

  • I am y4roslav on github.
  • I am y4roslav (https://keybase.io/y4roslav) on keybase.
  • I have a public key ASA-uIfnsDKLkTS4QKPGFZUodGiejDVjjTawsZqmQl7ZHwo

To claim this, I am signing this object:

@y4roslav
y4roslav / KNF.c
Created September 7, 2017 18:17
BSD Kernel Normal Form. C-lang Code Convention
/* $NetBSD: style,v 1.53 2016/05/23 11:41:06 salazar Exp $ */
/*
* The revision control tag appears first, with a blank line after it.
* Copyright text appears after the revision control tag.
*/
/*
* The NetBSD source code style guide.
* (Previously known as KNF - Kernel Normal Form).
@y4roslav
y4roslav / nginx.proxy.conf
Created January 18, 2016 13:26
Nginx Proxy Pass Example
server {
listen 80;
server_name example.com;
auth_basic "Restricted Access";
auth_basic_user_file /etc/nginx/htpasswd.users;
location / {
proxy_pass http://localhost:5601;