Skip to content

Instantly share code, notes, and snippets.

View timofey260's full-sized avatar
👨‍🦽
iam developing v1 in my basement

timofey timofey260

👨‍🦽
iam developing v1 in my basement
View GitHub Profile
@timofey260
timofey260 / lingo.sublime-syntax
Last active May 23, 2024 20:00
lingo syntax highlighting for sublime text
%YAML 1.2
---
# See http://www.sublimetext.com/docs/syntax.html
# lingo syntax highlighting for sublime text
file_extensions:
- lingo
scope: source.example-c
contexts:
main:
- include: comments
@timofey260
timofey260 / countsize.py
Created November 1, 2023 20:24
counts code length in characters and lines for each argument
import sys
import os
filetypes = [".py", ".json"]
# usage: countsize.py [dir, ...]
# example: countsize.py F:\Desktop\project F:\Desktop\project\files
args = sys.argv
linesamount = 0