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
u = [] # górne granice przedziałów (bez ostatniego) | |
k = "E3" # komórka | |
s = "" | |
u.each_index{|i| s +="JEŻELI(#{k} <= #{u[i]}; #{i+1}; "} | |
s += "10" + ")" * u.size | |
s |
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
require 'rubygems' | |
require 'savon' | |
require 'XTRFNamespaces' | |
class XTRFImporter | |
def initialize(config) | |
@config = config | |
end | |
def ws |
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
Story: Filter project by date range | |
!------------------------------------------------------------------------------- | |
As an XTRF user | |
I want to filter out projects by date ranges | |
In order to find the projects I look for | |
!--============================================================================= | |
Scenario: User selects projects starting *today* using *quick select in filter sidebar* |
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
class Array | |
def second | |
self[1] | |
end | |
def key | |
self[0] | |
end | |
def value |
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
.map { |subject_answers| | |
subject_answers.merge( | |
summary: (subject_answers[:summary_r] || subject_answers[:summary_w]) | |
.keys | |
.inject({}) { |memo, material| | |
memo.merge( | |
material => subject_answers[:summary_r][material] | |
.keys | |
.inject({}) { |memo, probe| | |
memo.merge( |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- This file contains the mapping of keys (gamepad, remote, and keyboard) to actions within XBMC --> | |
<!-- The <global> section is a fall through - they will only be used if the button is not --> | |
<!-- used in the current window's section. Note that there is only handling --> | |
<!-- for a single action per button at this stage. --> | |
<!-- For joystick/gamepad configuration under linux/win32, see below as it differs from xbox --> | |
<!-- gamepads. --> | |
<!-- The format is: --> | |
<!-- <device> --> |
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
Konsola: iTerm2, choć wbudowana aplikacja Terminal jest też bardzo funkcjonalna | |
Edytor kodu i nie tylko: Sublime Text 2 – ostatnio bardzo popularny na wszystkich platformach | |
Poczta: Postbox, choć wbudowany Apple Mail jest też bardzo funkcjonalny | |
Komunikator Jabber/GTalk/GG itp.: Adium, choć w ostatnim czasie mało używam, bo głównie Skype | |
Muzyka: Clementine (do lokalnych mediów, bo iTunes mi nie podchodzi) + Cantata do sterowania MPD w domu | |
PDFy itp.: Skim, choć wbudowana aplikacja Preview też ma spore możliwości (niektóre nawet lepsze niż Skim) | |
Video (też z napisami): VLC | |
Backupy: Carbon Copy Cloner | |
VPN: Tunnelblick | |
Zaawansowane gesty touchpadem: Jitouch, jako uzupełnienie gestów wbudowanych w system (sporo ich jest) |