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
94c94 | |
< virtual int ramReadBlocking(unsigned int address,unsigned int nb,unsigned int delta,int timeout=4000,ubichipcoordaxis_t ubichipX=0,ubichipcoordaxis_t ubichipY=0); | |
--- | |
> virtual int ramReadBlocking(unsigned int address,unsigned int nb,unsigned int delta,ubichipcoordaxis_t ubichipX=0,ubichipcoordaxis_t ubichipY=0,int timeout=4000); |
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
--- /home/asok/.wine/drive_c/Program Files/HEIG-VD/Ubichip Manager/src/ubimanager/runninginterfaceproxy.h 2010-03-25 09:47:26.000000000 +0100 | |
+++ runninginterfaceproxy.h 2010-03-25 12:56:27.774671050 +0100 | |
@@ -91,7 +91,7 @@ | |
virtual int ramRead(unsigned int address,unsigned int nb,unsigned int delta,ubichipcoordaxis_t ubichipX=0,ubichipcoordaxis_t ubichipY=0); | |
- virtual int ramReadBlocking(unsigned int address,unsigned int nb,unsigned int delta,int timeout=4000,ubichipcoordaxis_t ubichipX=0,ubichipcoordaxis_t ubichipY=0); | |
+ virtual int ramReadBlocking(unsigned int address,unsigned int nb,unsigned int delta,ubichipcoordaxis_t ubichipX=0,ubichipcoordaxis_t ubichipY=0,int timeout=4000); | |
virtual int ramWrite(unsigned int address,unsigned int nb,unsigned int delta,unsigned int *data,ubichipcoordaxis_t ubichipX=0,ubichipcoordaxis_t ubichipY=0); |
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
--- /home/asok/.wine/drive_c/Program Files/HEIG-VD/Ubichip Manager/src/ubimanager/runninginterfaceproxy.cpp 2010-03-25 09:47:26.000000000 +0100 | |
+++ runninginterfaceproxy.cpp 2010-03-25 13:02:21.146728891 +0100 | |
@@ -543,7 +543,7 @@ | |
return ramReadBlocking(address,nb,delta,ubichipX,ubichipY); | |
} | |
-int RunningInterfaceProxy::ramReadBlocking(unsigned int address,unsigned int nb,unsigned int delta,int timeout,ubichipcoordaxis_t ubichipX,ubichipcoordaxis_t ubichipY) | |
+int RunningInterfaceProxy::ramReadBlocking(unsigned int address,unsigned int nb,unsigned int delta,ubichipcoordaxis_t ubichipX,ubichipcoordaxis_t ubichipY,int timeout) | |
{ | |
PREPAREBLOCK(COMMAND_RAMCONTENTREQUEST); |
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
require 'net/pop' | |
class Droms::ReplyMailerJob | |
def perform | |
logger = RAILS_DEFAULT_LOGGER | |
if (Droms::Configuration[:email_settings][:use_ssl]) | |
Net::POP3.enable_ssl(OpenSSL::SSL::VERIFY_NONE) | |
port = 995 | |
else |
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
(defmacro sformat/macro (template values) | |
`(sformat | |
,template | |
(lambda (key) (plist-get ,values (intern key))))) | |
(sformat/macro | |
"help ${name}! I'm ${malady}" | |
'(name "nic" malady "on fire")) |
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
Scenario: html-erb-mode not working | |
Given I have master of mmm-mode in "~/mmm-mode" directory | |
And I have file "test.el" with content: | |
''' | |
(add-to-list 'load-path "~/mmm-mode/") | |
(require 'mmm-auto) | |
(require 'mmm-erb) | |
(setq mmm-global-mode 'auto) |
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
Scenario: html-erb-mode not working | |
Given I have master of mmm-mode in "~/mmm-mode" directory | |
And I have file "test.el" with content: | |
''' | |
(add-to-list 'load-path "~/mmm-mode/") | |
(require 'mmm-auto) | |
(require 'mmm-erb) | |
(setq mmm-global-mode 'auto) |
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
diff --git a/rspec-mode.el b/rspec-mode.el | |
index 29c0d28..e7c5431 100644 | |
--- a/rspec-mode.el | |
+++ b/rspec-mode.el | |
@@ -153,6 +153,11 @@ | |
:type 'string | |
:group 'rspec-mode) | |
+(defcustom rspec-compilation-in-comint-mode nil | |
+ "t when compilation buffer should be in Comint mode with `compilation-shell-minor-mode'" |
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
module RSpec | |
module Sidekiq | |
module Matchers | |
def have_enqueued_job *expected_arguments | |
HaveEnqueuedJob.new expected_arguments | |
end | |
class HaveEnqueuedJob | |
def initialize expected_arguments | |
@expected_arguments = expected_arguments |
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 create = function(entries) { | |
$.each($.grep(entries, function(_entry){ return _entry.fields.company }), | |
function(key, entry) { | |
var li = $(document.createElement('li')); | |
li.append($('<h3>' + entry.fields.company + '</h3>')); | |
li.append($('<span>' + entry.fields.years + '</span>')); | |
li.append($('<h4>' + entry.fields.position + '</h4>')); | |
li.append($('<p>' + entry.fields.jobDescription + '</p>')); |
OlderNewer