Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| #import pymorphy2 | |
| #with open ('russian.txt', 'r') as file: | |
| #z = file.read() | |
| #with open ('russian_decoding.txt', 'a') as wf: | |
| #wf.write(z.encode('latin1').decode('cp1251')) |
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
| #start script | |
| service tor start | |
| service privoxy start | |
| gsettings set org.gnome.system.proxy.socks host 'localhost' | |
| gsettings set org.gnome.system.proxy.socks port 9050 | |
| gsettings set org.gnome.system.proxy.http host 'localhost' | |
| gsettings set org.gnome.system.proxy.http port 8118 | |
| gsettings set org.gnome.system.proxy.https host 'localhost' | |
| gsettings set org.gnome.system.proxy.https port 8118 | |
| gsettings set org.gnome.system.proxy mode 'manual' |
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
| author__ = 'victor.grivtsov' | |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| from datetime import datetime | |
| dt = datetime.now().strftime('%m%d') | |
| etilts_csv = "./DB/e_tilts678.csv" |
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
| open ftp://%NAME%:%PASS%@%IP_FTP%:21 | |
| option batch on | |
| option confirm off | |
| cd temp | |
| cd RELEASE | |
| get "*.7z" | |
| exit |
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
| __author__ = 'victor.grivtsov' | |
| # -*- coding: utf-8 -*- | |
| import os | |
| import sys | |
| import shutil | |
| import xlrd | |
| import datetime | |
| from pytils import translit | |
| from subprocess import Popen |
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
| __author__"Victor Grivtsov" | |
| # -*- coding: utf-8 -*- | |
| # Work pause generator, beep on 45 min of hour and blocking keyboard and mouse | |
| # and unblocking after 15 minutes | |
| import sys | |
| import time | |
| from ctypes import * # windll.user32 , win32con need use for mouse_events | |
| import win32api |
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
| __author__ = 'victor.grivtsov' | |
| # -*- coding: utf-8 -*- | |
| import urllib.request | |
| from bs4 import BeautifulSoup, Tag | |
| import re | |
| global descript_arr, price, href_arr, date | |
| def get_html(url): |
NewerOlder