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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.box = "precise32" | |
config.vm.provision :shell, :path => "init.sh" |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.box = "precise32" | |
config.vm.box_url = "http://files.vagrantup.com/precise32.box" | |
config.vm.network "private_network", type: "dhcp" |
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
sudo rm /usr/bin/pycharm | |
sudo update-alternatives --install /usr/bin/pycharm pycharm /opt/pycharm-3.1.3/bin/pycharm.sh 0 | |
sudo update-alternatives --install /usr/bin/pycharm pycharm /opt/pycharm-3.4/bin/pycharm.sh 1 |
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
asfadsfd | |
fas | |
df | |
as | |
fasd | |
f |
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
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>{% block title %}eGazeciarz{% endblock title %}</title> | |
<link href="{% static "css/style.css" %}" rel="stylesheet" type="text/css"> | |
{% if is_dev %} | |
<link href="{% static "css/bootstrap-3.0.css"%}" rel="stylesheet" media="screen"> | |
{% else %} | |
<link href="{% static "css/bootstrap-min-3.0.css"%}" rel="stylesheet" media="screen"> |
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
from operator import attrgetter | |
import wykop | |
api = wykop.WykopAPI(appkey=MOTD_WYKOP_API_KEY, secretkey=MOTD_WYKOP_SECRET_KEY, | |
login=MOTD_WYKOP_LOGIN, accountkey=MOTD_WYKOP_ACCOUNT_KEY) | |
entries = api.tag("suchar") | |
items = entries['items'] | |
best = max(items, key=attrgetter('vote_count') ) |
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
$ fab all | |
[localhost:20022] Executing task 'all' | |
--- | |
all | |
--- | |
------- | |
install |
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 glob | |
import os | |
import tarfile | |
from datetime import datetime | |
from shutil import copytree, rmtree | |
from tarfile import ReadError | |
from git import * | |
repo = Repo(os.path.dirname(__file__)) |
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
phabricator:db.audit Applied db audit | |
phabricator:db.calendar Applied db calendar | |
phabricator:db.chatlog Applied db chatlog | |
phabricator:db.conduit Applied db conduit | |
phabricator:db.countdown Applied db countdown | |
phabricator:db.daemon Applied db daemon | |
phabricator:db.differential Applied db differential | |
phabricator:db.draft Applied db draft | |
phabricator:db.drydock Applied db drydock | |
phabricator:db.feed Applied db feed |
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
<!DOCTYPE html> | |
<html> | |
<head lang="en"> | |
<meta charset="UTF-8"> | |
<script src="main.js"></script> | |
<title>odd and even</title> | |
</head> | |
<body> | |
<h2>A</h2><input id="a" type="number"> | |
<h2>B</h2><input id="b" type="number"> |