search for: gist

Displaying 20 results from an estimated 1243 matches for "gist".

Did you mean: dist
2010 Apr 15
11
Rails 3, Rspec 2, Autotest
Trying to set up a Rails 3 project with RSpec and Autotest. I followed these steps exactly: http://gist.github.com/365816 But when I start up autotest, I get: $ autotest loading autotest/rails style: Rails instead of: $ autotest loading autotest/rails_rspec2 style: RailsRspec2 And autotest doesn''t seem to do anything. Any idea what''s happening? I''m using Ruby 1.9.2-he...
2016 Jul 25
3
Weighting Schemes: Evaluation results
Hi James, > We probably don't want them committed in git where they're evaluation > runs (because we can recreate them); a gist might be more appropriate. Sorry, I have moved results files over to gist for each individual weighting scheme. Link: https://gist.github.com/ivmarkp/secret > I can't tell, but are some of those files from FIRE? If so, they > shouldn't be committed either; access to FIRE is via our...
2013 Jul 21
2
Fwd: Re: Asterisk T.38 Pass-Through doesn't work
...n you sent a fax from your Asterisk > > box to the PSTN, it would be interesting to see if it sends it as a > > t.38 or reverts to G711 audio. > I have collect a set of debugs (with fresh SPA112 firmware) and actual > config files: > > == spa112 ? cmd ReceiveFax > https://gist.github.com/anonymous/5701032 > > == cmd SendFax ? PSTN > https://gist.github.com/anonymous/5701150 > > == spa112 ? PSTN > https://gist.github.com/anonymous/5701207 > > == sip.conf > https://gist.github.com/anonymous/5701231 > > == udptl.conf > https://gist.github...
2012 Oct 09
8
unexpected should_receive behaviour
Hi, surely I''m missing something... but what!? in my spec I''ve User.should_receive(:find).with("1").and_return(@user) and in my controller User.find(params[:id]) green light... correct... but if I change my controller using another method, for example first: User.first or even User.all I get green light too... I was expecting an error like expected: 1 time
2011 Aug 05
5
named context or calling include_context with block?
Hello, I''m playing around with Rspec again after going from test/unit to rspec then back to test/unit... :) Right off the bat, I find myself wanting to do something like this: https://gist.github.com/1128091 Basically, I want to name a context, then call it later by name, passing a block to it. Or in other words... what is the best way to DRY this code? https://gist.github.com/1128108 Is that possible in Rspec 2.6? If not, can anyone provide a monkey patch for me? Thanks!
2017 Dec 25
1
Crash in sieve_extprogram_create() after dovecot/pigeonhole update
...} === When I dump msgdata structure, I see that rcpt_params is NULL: [3]. Thus, NULL pointer dereference occurs. Here is my report-spam.sieve file: [4] What I'm doing wrong here? Or is this some bug within pigeonhole? Could you please help me with resolving this? Thanks. [0] https://gist.github.com/92be2a4abe04149fd4b6971b6b4fa38d [1] https://wiki2.dovecot.org/HowTo/AntispamWithSieve [2] https://gist.github.com/8b202ebe9310845b59bcdeed7567026e [3] https://gist.github.com/a7e30b9e7a6c315d729bdcfe7142f532 [4] https://gist.github.com/fd1aa8943af106408a30155dffe052ab
2012 May 18
7
Dir.create_junction with FFI
...E_JDATA_BUFFER struct. I''m just not sure how to set those members, specifically, the PathBuffer member. The target looks good, it''s UTF-16LE encoded, but I can''t make it work, despite trying several ways of defining the struct, and setting various struct members. A quick gist for reference: https://gist.github.com/2721257 Help much appreciated! Regards, Dan
2015 Sep 22
2
[compiler-rt] Add iOS simulator link flag
...s the home-brew package you’re trying to build. -Chris > On Sep 22, 2015, at 2:50 PM, Alex Wang <aw1621107 at gmail.com> wrote: > > Doesn't look like it's set when that command runs. > > The env during the build looks something like the first one here: > https://gist.github.com/aw1621107/3e0b5a36d028f648d7a0 <https://gist.github.com/aw1621107/3e0b5a36d028f648d7a0> > >> On Sep 22, 2015, at 5:42 PM, Chris Bieneman <beanz at apple.com <mailto:beanz at apple.com>> wrote: >> >> The behavior here is consistent with setting SDK...
2014 Aug 09
2
[LLVMdev] "Duplicate option categories" assertion triggered loading an LLVM-project
...e problem. Pass body is in [2]. The CMakeLists.txt file for the "root" directory is in [3] The CMakeLists.txt file for the "pass" directory is in [4] When I run opt --load=libTest.so I trigger the following assertion: opt: CommandLine.cpp:134: void llvm::cl::OptionCategory::registerCategory(): Assertion `std::count_if(RegisteredOptionCategories->begin(), RegisteredOptionCategories->end(), [this](const OptionCategory *Category) { return getName() == Category->getName(); }) == 0 && "Duplicate option categories"' failed. Note that my pass does no...
2008 Jul 25
21
Problems with mock assigned to a constant
...list before I file/reopen the ticket: http://rspec.lighthouseapp.com/projects/5645/tickets/478-mocks-on-constants#ticket-478-6 I thought my example illustrated my problem, but obviously I was passing the wrong arguments to the mock. I revised my example to more clearly state my problem: http://gist.github.com/2372 This is a snip of a some code from a library I''m writing. When I run this spec I get the following: # spec migration_spec.rb .F 1) Spec::Mocks::MockExpectationError in ''Migration should find the records'' Mock ''MyModel Class'' received...
2020 Feb 26
2
Why is lldb telling me "variable not available"?
...t; a different instruction-selection pass (FastISel) runs, and it turns >> out FastISel isn't aware of dbg.addrs existence. Even better, FastISel >> doesn't manage to lower any debug intrinsic (including dbg.declare) >> that refers to a GEP, because it doesn't have a register location (the >> GEP gets folded into a memory addressing mode). >> >> I've hacked together some support in [0], that allows dbg.addr's of >> GEPs to be handled. A single dbg.addr at the start of the function >> (and no dbg.values) should get you the same be...
2017 Oct 15
2
(no subject)
Hello everyone, I installed R and trying to install additional package: `rgl`. The problem is, I keep getting this error: installation of package ?rgl? had non-zero exit status All warnings, installation log and R version info in available in my gist: https://gist.github.com/mateuszcisek/2337bd92695b7ddf10bca10ea403c712 (it was too long to use it all in the message). I use Linux Mint 18.2. I know that there are more questions about that error message, but I did not find any working solution. This is basically fresh installation, I did not chan...
2014 Apr 17
1
Re: LXC + USB passthrough = Operation not permitted
...ethod [11] invoked, no? > > I realize that you are the author of most of this code, Daniel, so > appreciate your patience with me and hope you are willing to continue > trying to get to the bottom of this with us! Thanks a lot in advance! > > Cheers, > Fil > > [1] https://gist.github.com/filmaj/207ab3c09f5b881d83b1 > [2] > https://gist.github.com/filmaj/207ab3c09f5b881d83b1#file-libvirtd-log-L226-L253 > [3] > https://gist.github.com/filmaj/207ab3c09f5b881d83b1#file-libvirtd-log-L257-L266 > [4] > https://gist.github.com/filmaj/207ab3c09f5b881d83b1#file-l...
2012 Aug 29
1
Wierd encoding problem
I put the complete error description into a gist (https://gist.github.com/5d2cef1414f1643fca5a) for better readability. The basic problem is that a properly encoded Json post request gets decoded an a very weird way. For example a "ü" which is encoded as "\u00fc" in uft-8 becomes ">\x93" or "~\xD4". I g...
2013 Nov 05
1
Issue with postfix not handing over e-mails to dovecot
...using a mail client like Thunderbird. However, now I am unable to receive any e-mails. When I respond to the emails, I get a not delivered failure from postfix. I cannot figure out why postfix is not handing over the e-mails to dovecot. So here are some links to follow: posftconf output: https://gist.github.com/anonymous/7318863 doveconf output: https://gist.github.com/anonymous/7318896 tail -f /var/log/mail.* output (when receiving mail): https://gist.github.com/anonymous/7318945 Any help to solve this would be highly appreciated. Regards Tru Pheenix
2012 Apr 25
2
Test oddities
Can someone explain why a instance variable cannot be changed through an association under rspec/factory_girl? An example is in this gist<https://gist.github.com/2484336> . All tests pass except the last. All the steps pass in the console. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg...
2017 Aug 05
3
Cross compiling C++ program
...use it, and clang/llvm build, but compiler-rt fails: # cmake -G 'Unix Makefiles' -DCMAKE_BUILD_TYPE=Release -DBAREMETAL_ARMV7EM_SYSROOT=/tmp/barearm-sysroot -DCMAKE_INSTALL_PREFIX=/tmp/barearm-sysroot -C ../../source/llvm/cmake/caches/BaremetalARM.cmake ../../source/llvm # make -j4 https://gist.github.com/anonymous/85cd5081a6d46a63731d970ee95b20b4 This is the BaremetalARM.cmake: https://gist.github.com/anonymous/ff3248f08ddc99361dcc009e9f4c1020 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes...
2014 Aug 10
2
[LLVMdev] "Duplicate option categories" assertion triggered loading an LLVM-project
...used the problem. Also, to be sure, I just tried to change the name of the pass to something more significant. It did not work. Cheers, Alberto On Sun, Aug 10, 2014 at 1:14 PM, Sergey Dmitrouk <sdmitrouk at accesssoftek.com > wrote: > Hi Alberto, > > See [0], first argument of RegisterPass' constructor is argument name. > Try changing it to something more unique than "test", I guess it might > cause your issue. > > Regards, > Sergey > > [0]: http://www.llvm.org/docs/doxygen/html/structllvm_1_1RegisterPass.html > > On Sat, Aug 09, 2014 at...
2015 Sep 22
2
[compiler-rt] Add iOS simulator link flag
The behavior here is consistent with setting SDKROOT in the environment to an OS X SDK. -Chris > On Sep 22, 2015, at 2:28 PM, Alex Wang <aw1621107 at gmail.com> wrote: > > Logs + commands added to the earlier gist. > > Only thing different from a plain trunk build is adding -Wl,-v and -Wl,-t to the > iossim link flags. > >> On Sep 22, 2015, at 5:17 PM, Chris Bieneman <beanz at apple.com <mailto:beanz at apple.com>> wrote: >> >> Can you please provide the full erro...
2020 Feb 26
2
Why is lldb telling me "variable not available"?
Vedant, Jeremy, Thanks a ton! I copied ASan's use of 'replaceDbgDeclare', think that worked! https://github.com/modocache/llvm-project/commit/afbc04e1dcba has some extremely quick and dirty changes I made (with no tests!), and a link to a Gist with the LLVM IR and DWARF produced, https://gist.github.com/modocache/6f29093ba2827946011b422ed3bd2903. There's only one kink: the spot I placed it has 'replaceDbgDeclare' called multiple times, and it reuses the result of a single getelementptr instruction. Because of this, only the...