Use this one instead http://clicrdv-assets.s3.amazonaws.com/lib/clicrdv-widgets-v1/clicrdv-widgets-min.js
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
| diff --git a/lib/model/CommandPeer.php b/lib/model/CommandPeer.php | |
| index 61dbe7f..5fe762b 100644 | |
| --- a/lib/model/CommandPeer.php | |
| +++ b/lib/model/CommandPeer.php | |
| @@ -86,4 +86,79 @@ class CommandPeer extends BaseCommandPeer { | |
| return $command; | |
| } | |
| + /** |
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
| diff --git a/public/javascripts/lib/yui-3.4.1/event-resize/event-resize.js b/public/javascripts/lib/yui-3.4.1/event-resize/event-resize.js | |
| index f5cb0ae..ec9de8f 100644 | |
| --- a/public/javascripts/lib/yui-3.4.1/event-resize/event-resize.js | |
| +++ b/public/javascripts/lib/yui-3.4.1/event-resize/event-resize.js | |
| @@ -22,7 +22,6 @@ var domEventProxies = Y.Env.evt.dom_wrappers, | |
| key = 'event:' + Y.stamp(win) + 'resizenative', | |
| config; | |
| Y.Event.define('windowresize', { | |
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
| var dependencies = []; | |
| Y.all('script').each (function(s) { | |
| var src = this.get('src').match(/\/javascripts\/lib\/yui-3.*\.js/); | |
| if (src != null) | |
| dependencies.push(' - public'+src[0]); | |
| }); | |
| console.log(dependencies.sort().join("\n")); |
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
| filename = md5(request_params) | |
| if (! filename exist) { | |
| write(filename, curl_get('http://cdn.yahoo...' + request_params)) | |
| } | |
| return open(filename) | |
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
| /** | |
| * How to use ? Add this in the address bar : | |
| * javascript:var boscript=document.createElement('script');boscript.src='https://raw.github.com/gist/2277308/breakout.js';document.head.appendChild(boscript); | |
| */ | |
| (function () { | |
| var loadBreakout, | |
| d = document, | |
| w = window; |
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
| urls = [] | |
| urls.push('www.website1.fr') | |
| # ... | |
| urls.push('www.websiteXXX.fr') | |
| jobs = [] | |
| total_jobs = 8 | |
| # Split jobs |
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 -s | |
| echo "allow-hotplug wlan0 | |
| auto wlan0 | |
| iface wlan0 inet dhcp | |
| wpa-ssid XXXXXXXX | |
| wpa-psk XXXXXXXX" >> /etc/network/interfaces | |
| echo "#!/bin/bash | |
| sudo ifdown wlan0 |
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
| # Takes an array like this : ["first string", :column1, "second string", :column2, "third string"] | |
| # and returns CONCAT('first string', CONCAT(column1, CONCAT('second string', CONCAT(column2, 'third string')))) | |
| # Not bullet proof but make it easier to concat str in SQL | |
| def concatify(parts) | |
| escaped = parts.map do |i| | |
| i.is_a?(Symbol) ? i.to_s : "'#{i}'" | |
| end | |
| "CONCAT( " +escaped[0..-2].join(', CONCAT(') + ", #{escaped[-1]}" + (')' * (parts.size - 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
| style_for | |
| 'html.item', | |
| '#li.selected' do | |
| color = from_hex(:333) | |
| set :border '1px solid ' + rgba(color, .1) | |
| set_ie :lt, 10, :border '1px solid ' + color.to_hex | |
| set :color :333333 rgba(color, .1), '1px solid' | |