This file contains 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
# Byte-compiled / optimized / DLL files | |
__pycache__/ | |
*.py[cod] | |
*$py.class | |
# C extensions | |
*.so | |
# Distribution / packaging | |
.Python |
This file contains 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
@echo off | |
set vmrun=C:\Program Files (x86)\VMware\VMware Workstation\vmrun.exe | |
set mothervm=C:\Users\Pradish\Documents\Virtual Machines\Windows 7 x64\Windows 7 x64.vmx | |
set workerdirectory=C:\workers | |
set start=1 | |
set end=10 | |
set guestusername=Administrator | |
set guestpassword=ease | |
echo All bots will be cloned again and existing data in %workerdirectory% will be wiped. Are you sure? |
This file contains 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 | |
import os | |
import platform | |
import subprocess | |
from gimpfu import * | |
def get_rectangle(image): | |
selection, x_1, y_1, x_2, y_2 = pdb.gimp_selection_bounds(image) |
This file contains 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
# 1920x1080 59.96 Hz (CVT 2.07M9) hsync: 67.16 kHz; pclk: 173.00 MHz | |
xrandr --newmode "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync | |
xrandr --addmode Virtual1 1920x1080_60.00 | |
xrandr --output Virtual1 --mode 1920x1080_60.00 |
This file contains 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
{ | |
// Place your snippets for python here. Each snippet is defined under a snippet name and has a prefix, body and | |
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are: | |
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the | |
// same ids are connected. | |
// Example: | |
// "Print to console": { | |
// "prefix": "log", | |
// "body": [ | |
// "console.log('$1');", |
This file contains 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
{ | |
"editor.formatOnSave": true, | |
"python.formatting.autopep8Args": ["--max-line-length=99"], | |
"python.sortImports.args": [ | |
"--sl", | |
"--src=${workspaceFolder}" | |
], | |
"editor.codeActionsOnSave": { | |
"source.organizeImports": true | |
} |
This file contains 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
{ | |
"version": "2.0.0", | |
"tasks": [ | |
{ | |
"label": "autoflake-remove-all-unused-imports", | |
"type": "shell", | |
"command": "${config:python.pythonPath}", | |
"args": [ | |
"-m", | |
"autoflake", |
This file contains 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
@echo off | |
echo Generating requirements.txt... | |
pip freeze | ^ | |
find /V "six" | ^ | |
find /V "astroid" | ^ | |
find /V "autopep8" | ^ | |
find /V "colorama" | ^ | |
find /V "isort" | ^ | |
find /V "lazy" | ^ | |
find /V "mccabe" | ^ |
This file contains 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
[ | |
{ | |
"active": true, | |
"bundled": null, | |
"iconUrl": "championsskin_10002.jpg", | |
"inactiveDate": null, | |
"inventoryType": "CHAMPION_SKIN", | |
"itemId": 10002, | |
"itemInstanceId": "7c6a2fb9-90eb-4b94-b6ab-b5cc9efebd5f", | |
"itemRequirements": [ |
This file contains 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 logging | |
import os | |
import sys | |
from logging import Formatter | |
from logging import LogRecord | |
from logging import StreamHandler | |
from logging.handlers import RotatingFileHandler | |
class ColorFormatter(logging.Formatter): |
OlderNewer