Skip to content

Instantly share code, notes, and snippets.

View 0D1NTR33's full-sized avatar
💎
Excited by The Open Network

Odin Tree 0D1NTR33

💎
Excited by The Open Network
View GitHub Profile
@0D1NTR33
0D1NTR33 / OnlineEducation.txt
Created February 24, 2023 10:38
Список онлайн систем образования
Skillbox
Нетология
Шаг
Учи.ру
Фоксфорд
Яндекс практикум
Синергия
Contented
Coursera
Easy code
@0D1NTR33
0D1NTR33 / The dash.amc
Last active February 24, 2023 10:37
Em dash (long dash, long tiret, длинное тире) symbol macros for A4TECH mouse
<Root>
<DefaultMacro>
<Major></Major>
<Description>Write the long dash
</Description>
<Comment>DASH
</Comment>
<GUIOption>
<RepeatType>0</RepeatType>
</GUIOption>
@0D1NTR33
0D1NTR33 / A4TECH mouse macros key codes
Last active February 24, 2023 10:23
Key codes for mouse A4TECH for macros creating
A 4
B 5
C 6
D 7
E 8
F 9
G 10
H 11
I 12
J 13
@0D1NTR33
0D1NTR33 / shift.sh
Last active December 22, 2020 18:10
Shortcuts for shift_manager.bash
#!/bin/bash
# CONFIG
SHIFT_DIRECTORY=~/shift-lisk
# EXPORT
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
export LANGUAGE=en_US.UTF-8
@0D1NTR33
0D1NTR33 / git-release.py
Created November 16, 2020 20:19 — forked from mcguffin/git-release.py
Python script to create GitHub release
#!/usr/bin/env python3
import argparse, glob, json, re, subprocess, urllib.request, os, sys
class version_number:
major=0
minor=0
release=0
@0D1NTR33
0D1NTR33 / git-release
Created November 16, 2020 20:17 — forked from mcguffin/git-release
Shell script to create GitHub release
#!/bin/bash
MESSAGE="0"
VERSION="0"
DRAFT="false"
PRE="false"
BRANCH="master"
GITHUB_ACCESS_TOKEN="<YOUR_ACCESS_TOKEN>"
# get repon name and owner
@0D1NTR33
0D1NTR33 / txt
Created July 21, 2019 18:37
Crontab Backup
# Start shift-checker every minute
* * * * * php ~/shift-checker-m/checkdelegate.php >> ~/shift-checker-m/logs/check
# Start Testnet shift-checker every minute
* * * * * php ~/shift-checker-t/checkdelegate.php >> ~/shift-checker-t/logs/check
# Clear shift-checker logs
@daily forever cleanlogs
# Updating MTProto config
@0D1NTR33
0D1NTR33 / MTProto.sh
Last active October 17, 2018 16:07
MTProto Docker Proxy Server
# INSTALL DOCKER
sudo apt update && sudo apt upgrade
sudo apt install linux-image-extra-$(uname -r) linux-image-extra-virtual
sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
sudo apt-add-repository 'deb https://apt.dockerproject.org/repo ubuntu-xenial main'
sudo apt update && apt-cache policy docker-engine
sudo apt install -y docker-engine
sudo usermod -aG docker $(whoami)
# INSTALL MTPROTO PROXY SERVER
@0D1NTR33
0D1NTR33 / setTimeout.py
Created July 5, 2018 11:17
setTimeout in Python
# http://fredericiana.com/2014/11/14/settimeout-python-delay/
# utils.py
import threading
from functools import wraps
def delay(delay=0.):
"""
Decorator delaying the execution of a function for a while.
@0D1NTR33
0D1NTR33 / python-http-server.sh
Created July 4, 2018 21:28
Minimal http server on Python 3
python -m http.server 9090