Skip to content

Instantly share code, notes, and snippets.

View hadrizi's full-sized avatar
💭
i hit mum and she died

Hadron Collider hadrizi

💭
i hit mum and she died
  • гроб твоей мамаши
View GitHub Profile
@hadrizi
hadrizi / swagger.py
Last active October 21, 2020 11:35
Swagger file to wrap swagger_auto_schema and action decorators
"""
Swagger file v0.1
This is custom file used to store swagger_auto_schema and action data
Structure of each function is:
1. Description
2. All possible responses and requests
3. Request body if needed
4. Responses array with all possible HTTP codes
@hadrizi
hadrizi / scale.cs
Created October 10, 2020 22:40
Scale object so it always stand on its parent plane
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class scale : MonoBehaviour
{
// Scale represented as single variable
[Range(0.0f, 5.0f)]
public float objectScale = 1.0f;
### Keybase proof
I hereby claim:
* I am hadrizi on github.
* I am hadrizi (https://keybase.io/hadrizi) on keybase.
* I have a public key ASA7rkmP00_B-mdlkSwP6MCAtsL_x1GUJVnng4g8-DRfVAo
To claim this, I am signing this object:
@hadrizi
hadrizi / ascii_converter.py
Created February 10, 2021 16:07
Converts Image to ASCII-art. Requires Pillow
import sys
from PIL import Image
symbol_table = [
' ',
'.',
',',
'~',
'*',
@hadrizi
hadrizi / main.cpp
Created October 14, 2021 23:42
memory safe linked list and merge sort
#include <iostream>
#include <string>
class node {
public:
int data;
node *next;
bool empty;
node(int v, bool e=false){