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
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<prerequisites> | |
<maven>3.0.0</maven> | |
</prerequisites> | |
<groupId>com.demo</groupId> |
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
# -*- coding: utf-8 -*- | |
from click import group, argument | |
from ScriptingBridge import SBApplication | |
@group() | |
def main(): | |
pass |
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
# -*- coding: utf-8 -*- | |
# Какая-то хренова магия, | |
# но с нима начинает рабоать import для javax и awt | |
import pawt | |
from javax.swing import JFrame, JPanel | |
from java.awt import Canvas, Color, BorderLayout | |
class SimpleComponent(Canvas): |
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 | |
class Foo(object): | |
def __init__(self, arg): | |
self.arg = arg | |
def __repr__(self): | |
return 'Foo({})'.format(self.arg) | |
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
# -*- coding: utf-8 -*- | |
import random | |
import sys | |
import slumber | |
from PySide.QtCore import QObject, QUrl, Slot | |
from PySide.QtGui import QApplication | |
from PySide.QtDeclarative import QDeclarativeView |
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
# -*- coding: utf-8 -*- | |
from datetime import datetime | |
import os | |
import shutil | |
import baker | |
class Podcast(object): | |
def __init__(self, file_path, link_provider=None): | |
self.file_path = file_path |
NewerOlder