Skip to content

Instantly share code, notes, and snippets.

View trianglesis's full-sized avatar
🎯
Focusing

Trianglesis trianglesis

🎯
Focusing
View GitHub Profile

RIA News, 03 April 2022. (state-owned Russian news outlet) https://web.archive.org/web/20220403123204/https://ria.ru/20220403/ukraina-1781469605.html

Back in April last year, we wrote about the inevitability of the denazification of Ukraine. We don't need nazi, Bandera Ukraine, the enemy of Russia and the West's tool for the destruction of Russia. Today, the issue of denazification has moved into a practical plane.

Denazification is necessary when a significant part of the people - most likely the majority - has been mastered and drawn into the Nazi regime in its politics. That is, when the hypothesis "the people are good - the government is bad" does not work. Recognition of this fact is the basis of the policy of denazification, of all its measures, and the fact itself is its subject matter.

Ukraine is in just such a situation. The fact that the Ukrainian voter voted for the "peace of Poroshenko" and "peace of Zelensky" should not be misleading - the Ukrainians were quite satisfied with the shortest pa

bl_info = {
"name": "FreeCAD Importer",
"category": "Import-Export",
"author": "Yorik van Havre",
"version": (5, 0, 0),
"blender": (2, 80, 0),
"location": "File > Import > FreeCAD",
"description": "Imports a .FCStd file from FreeCAD",
"warning": "This addon needs FreeCAD installed on your system. Only Part- and Mesh-based objects supported at the moment.",
}
@mutin-sa
mutin-sa / Top_Public_Time_Servers.md
Last active April 23, 2024 21:05
List of Top Public Time Servers

Google Public NTP [AS15169]:

time.google.com

time1.google.com

time2.google.com

time3.google.com

@prodeveloper
prodeveloper / working_with_image.md
Last active January 5, 2021 14:51
How to upload and use images on your Django application

Working with images

We now have everything we need to build a web app, except for images and other binary files. Your application will likely not get a lot of engagement if its not visual. In this lesson, we shall be adding the ability to upload images to your Posts api.

Since this will be a continuation from the class on Deploying to production you are adviced to start by cloning that workspace and then working from there.

Step 1

@kwmiebach
kwmiebach / pytest.md
Last active April 22, 2024 19:33 — forked from amatellanes/pytest.sh
pytest cheat sheet

Usage

(Create a symlink pytest for py.test)

pytest [options] [file_or_dir] [file_or_dir] ...

Help:

@vladignatyev
vladignatyev / progress.py
Last active March 31, 2024 22:54
Python command line progress bar in less than 10 lines of code.
# The MIT License (MIT)
# Copyright (c) 2016 Vladimir Ignatev
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the Software
# is furnished to do so, subject to the following conditions:
#
@Zearin
Zearin / python_decorator_guide.md
Last active March 30, 2024 12:28
The best explanation of Python decorators I’ve ever seen. (An archived answer from StackOverflow.)

NOTE: This is a question I found on StackOverflow which I’ve archived here, because the answer is so effing phenomenal.


Q: How can I make a chain of function decorators in Python?


If you are not into long explanations, see [Paolo Bergantino’s answer][2].

@antixrist
antixrist / gist:faf300eb04c1aeca9137
Created August 10, 2014 09:10
VK API: Parse json Args to array.
/**
* For check: https://vk.com/dev/execute
*/
// var myList = Args.list;
// var listSeparator = Args.listSeparator;
// var listItemsType = Args.listItemsType;
var myList = "123456,789012,345678,901234,567890";
@rtomaszewski
rtomaszewski / example_paramiko_with_tty.py
Created August 19, 2012 19:49
example paramiko script with interactive terminal
import paramiko
import time
import re
bastion_ip='ip'
bastion_pass='pass'
ssh = paramiko.SSHClient()
ssh.set_missing_host_key_policy( paramiko.AutoAddPolicy() )
ssh.connect(bastion_ip, username='root', password=bastion_pass)