Skip to content

Instantly share code, notes, and snippets.

View noisy's full-sized avatar

Krzysztof Szumny noisy

View GitHub Profile
# -*- 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"
# -*- 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"
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
asfadsfd
fas
df
as
fasd
f
<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">
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') )
$ fab all
[localhost:20022] Executing task 'all'
---
all
---
-------
install
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__))
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
@noisy
noisy / index.html
Last active August 29, 2015 14:20 — forked from lenka21/index.html
<!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">