Skip to content

Instantly share code, notes, and snippets.

View Chubek's full-sized avatar

Behrang Nevii Chubek

View GitHub Profile
@Chubek
Chubek / GuardianFlash_.idea_.name
Created July 19, 2016 08:18
A flashcard application
GuardianFlash
@Chubek
Chubek / Ranginak.py
Last active December 15, 2018 22:05
Ranginak, a color generator using Python
#############################################################################
###########################Ranginak Color Generator##########################
###########################Using Gizeh and Colrorsys#########################
###########################Copyright 2018 by Chubak Bidpaa###################
###########################No Licesne, free to use###########################
#############################################################################
#Read my blogpost: http://partlyshaderly.com/2018/12/15/ranginak-python-tri-shade-color-generator/
@Chubek
Chubek / gist:9fd2513015a559807140a615dbc2df44
Created January 25, 2023 08:36
Cuda Gaussian Elimination
// #############################################################################
// # Schism Electronic Circuit Simulator #
// # 2023 Gregorian Calendar, 1401 Iranian Calendar, Chubak Bidpaa #
// # This code is released under no binding license. #
// # You are free to distribute, copy, and modify it as you please. #
// # github.com/chubek; Discord -> Chubak#7400; email: chubakbidpaa@gmai.com #
// #############################################################################
#include "stdio.h"
#include "stdlib.h"
@Chubek
Chubek / LICENSE
Last active July 19, 2023 08:33
Cuda Gaussian Elimination
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
@Chubek
Chubek / DynoFiler
Last active February 28, 2023 08:37
A dynamic profiling tool for Line Profiler around PhyMMR
How to run:
1- Copy the raw file URL for dynofiler.sh
2- cd to folder.
3- `wget -O dynofileer.sh <url>
4- `sudo chmod +x ./dynofiler.sh`
Begin by:
`./dynofiler.sh -h`
@Chubek
Chubek / LICENSE
Last active February 28, 2023 08:35
periodetect: For removing period-terminated FASTA sequences
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
@Chubek
Chubek / README.md
Last active February 28, 2023 08:36
Stinky, a Morse Code Translator with Custom HTTP Framework; Buit upon Python Streaming API

How to run the service:

1- sudo chmod +x install.sh && ./install.sh 2- sudo systemctl daemon-reload && sudo-systemctl enable stinky && sudo systemctl run stinky

URL params:

localhost/morsetrans?to=[morse|latin]
@Chubek
Chubek / bitwise_word.py
Created March 3, 2023 12:25
Bitwise operations in Python on words...
def f_dec_to_word(dec: int) -> list[str]:
bits = [cBIT_ZERO] * 16
i = 15
while dec > 0:
bits[i] = str(int(dec % 2))
dec //= 2
i -= 1
return bits
@Chubek
Chubek / raract.py
Last active March 7, 2023 06:11
Delphia Sccripts: scripts I have made for my brother
####################################################################################
# RAR file extractor by Chubak Bidpaa #
# Usage `python3 raract.py <folder with the files> [-part]` [-pass=<password>] #
# Released under GPLv3 License #
####################################################################################
import sys
import os
from pathlib import Path
@Chubek
Chubek / md5.go
Created March 26, 2023 17:14
MD5 implementation in Go
package md5
import "fmt"
// The main crux
type Md5Digest [4]uint32
const (
md5H0 uint32 = 0x67452301