- angular team created it
- runs tests on all specified browsers
- runs as socket.io process, required nodejs
- intended for unit testing
- integrates with many testing frameworks, e.g. Jasmine, Mocha, ...
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
# SOURCE: | |
# http://rubylearning.com/blog/2014/01/24/from-lousy-to-beautiful/ | |
module StatsApi | |
require 'json' | |
require 'httparty' | |
require 'active_support/core_ext/string' | |
require 'jsonpath' | |
## Reader: note that @error is raised so that we can easily handle that in our parent methods... |
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
var DynamicSlider = function() { | |
var config = { | |
wrapperSelector: '#slider-bar-wrap', | |
barSelector: '#slider-bar', | |
paneSelector: '#slider-pane', | |
contentSelector: '#slider-content', | |
paddingRight: 0, | |
focus: true | |
}; |
When you need a jQuery UI slider that adapts it's slide handle according to dynamic content, there is an issue related to setting the slider's handle size. This is a workaround that fixes the issue. Details can be found @ http://shcatula.wordpress.com/2014/11/05/jquery-ui-slider-for-dynamic-content.
A Pen by Vanja Radovanović on CodePen.
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
# https://github.com/mikeebert/repository_template/blob/master/lib/base_repository.rb | |
module InMemory | |
class BaseRepository | |
class RecordNotFound < StandardError | |
def initialize(id) | |
@id = id | |
end | |
def to_s |
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
# ===================================== | |
# CentOS version | |
# ===================================== | |
FROM centos | |
RUN yum install -y \ | |
gcc-c++ \ | |
make \ | |
vim |
I hereby claim:
- I am elvanja on github.
- I am elvanja (https://keybase.io/elvanja) on keybase.
- I have a public key whose fingerprint is 59E2 B0F6 C04F 68AF 1220 84B4 3C92 4F81 C91B B39A
To claim this, I am signing this object:
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
defmodule DataKiosk.Utils.BuildElasticsearchMapping do | |
@moduledoc """ | |
██╗ ██╗███████╗██████╗ ███████╗ ██████╗ ███████╗ ██████╗ ██████╗ █████╗ ██████╗ ██████╗ ███╗ ██╗███████╗ | |
██║ ██║██╔════╝██╔══██╗██╔════╝ ██╔══██╗██╔════╝ ██╔══██╗██╔══██╗██╔══██╗██╔════╝ ██╔═══██╗████╗ ██║██╔════╝ | |
███████║█████╗ ██████╔╝█████╗ ██████╔╝█████╗ ██║ ██║██████╔╝███████║██║ ███╗██║ ██║██╔██╗ ██║███████╗ | |
██╔══██║██╔══╝ ██╔══██╗██╔══╝ ██╔══██╗██╔══╝ ██║ ██║██╔══██╗██╔══██║██║ ██║██║ ██║██║╚██╗██║╚════██║ | |
██║ ██║███████╗██║ ██║███████╗ ██████╔╝███████╗ ██████╔╝██║ ██║██║ ██║╚██████╔╝╚██████╔╝██║ ╚████║███████║ | |
╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚══════╝ ╚═════╝ ╚══════╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═══╝╚══════╝ | |
Builds Elasticsearch mapping for given module. |
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
50 4f 53 54 20 2f 61 70 P O S T / a p | |
69 2f 61 70 70 6c 69 63 i / a p p l i c | |
61 74 69 6f 6e 73 2f 62 a t i o n s / b | |
34 30 62 64 36 66 61 2d 4 0 b d 6 f a - | |
36 39 33 63 2d 34 39 34 6 9 3 c - 4 9 4 | |
36 2d 39 63 38 35 2d 34 6 - 9 c 8 5 - 4 | |
62 61 66 66 39 63 61 62 b a f f 9 c a b | |
36 63 63 2f 64 6f 63 75 6 c c / d o c u | |
6d 65 6e 74 73 20 48 54 m e n t s H T | |
54 50 2f 31 2e 31 0d 0a T P / 1 . 1 . . |