$ pacman --needed -Sy bash pacman pacman-mirrors msys2-runtime
$ pacman -Su
$ pacman -Sy base-devel msys2-devel
$ pacman -Sy mingw-w64-x86_64-python3 mingw-w64-x86_64-python3-pip mingw-w64-x86_64-python3-numpy mingw-w64-x86_64-python3-scipy mingw-w64-x86_64-python3-matplotlib mingw-w64-x86_64-python3-pandas mingw-w64-x86_64-python3-Pillow
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import configparser | |
import json | |
import asyncio | |
from datetime import date, datetime, timedelta, timezone | |
from telethon import TelegramClient | |
from telethon.errors import SessionPasswordNeededError | |
from telethon.tl.functions.messages import (GetHistoryRequest) | |
from telethon.tl.types import (PeerChannel) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bl_info = { | |
"name" : "UV Map Renamer", | |
"author" : "razielsun", | |
"description" : "Just rename first uv map and delete other maps", | |
"blender" : (2, 80, 0), | |
"version" : (0, 0, 1), | |
"category" : "Object" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import maya.cmds as cmd | |
def AsOBJ(): | |
selection = cmd.ls(sl=True) | |
for name in selection: | |
cmd.select(name, r=True) | |
x = cmd.getAttr(".translateX") | |
y = cmd.getAttr(".translateY") | |
z = cmd.getAttr(".translateZ") | |
cmd.move( 0, 0, 0 ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Take control of the default player | |
AutoPossessPlayer = EAutoReceiveInput::Player0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Map grabber :: Yandex.Maps + jQuery + PHP/DOMDocument/XPath | |
// by Proger_XP :: http://proger.me | |
// Original article (Russian): http://habrahabr.ru/post/184334/ | |
// In public domain. I appreciate backlinks. | |
function dl($url) { | |
require_once 'sqobot/lib/downwind.php'; | |
return new Downwind($url, array( |