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
| # compile with gcc test.c `pkg-config ruby --cflags --libs` -o test.out | |
| #include <stdio.h> | |
| #include <ruby.h> | |
| int main(void) { | |
| int result; | |
| const char code[]; | |
| ruby_init(); | |
| ruby_init_loadpath(); |
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
| [ryba@retro refinerycms (clean-locales-after-test)]❤ cat ~/bin/git-fakin-push | |
| #!/bin/bash | |
| git push --force $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
| require 'securerandom' | |
| require 'set' | |
| tokens = Set.new | |
| i = ENV['I'].to_i | |
| length = ENV['KEY_LENGTH'].to_i | |
| i.times do |i| |
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
| ===================================================================== [7/1861] | |
| EXPECTED FAILED TEST SUMMARY | |
| --------------------------------------------------------------------- | |
| Test open_basedir configuration [tests/security/open_basedir_linkinfo.phpt] XFAIL REASON: BUG: open_basedir cannot delete symlink to prohibited file. See also | |
| bugs 48111 and 52176. | |
| Inconsistencies when accessing protected members [Zend/tests/access_modifiers_008.phpt] XFAIL REASON: Discussion: http://marc.info/?l=php-internals&m=120221184420957&w=2 | |
| Inconsistencies when accessing protected members - 2 [Zend/tests/access_modifiers_009.phpt] XFAIL REASON: Discussion: http://marc.info/?l=php-internals&m=120221184420957&w=2 | |
| Bug #48770 (call_user_func_array() fails to call parent from inheriting class) [Zend/tests/bug48770.phpt] XFAIL REASON: See Bug #48770 | |
| Bug #48770 (call_user_func_array() fails to call parent from inheriting class) [Zend |
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/object.c b/object.c | |
| index 79358ad..425c10c 100644 | |
| --- a/object.c | |
| +++ b/object.c | |
| @@ -1980,11 +1980,13 @@ static VALUE | |
| rb_mod_attr_reader(int argc, VALUE *argv, VALUE klass) | |
| { | |
| int i; | |
| + VALUE result = rb_ary_new2((long)argc); | |
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 WebSocketServer = require('ws').Server; | |
| var socket = new WebSocketServer({port: 8080}); | |
| socket.on('connection', function(connection) { | |
| connection.on('message', function(message) { | |
| console.log(message); | |
| socket.broadcast(message); | |
| }); | |
| }); | |
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
| JCC = javac | |
| JFLAGS = -g | |
| JCP = -cp .:./boilerpipe-1.2.0.jar:./lib/xerces-2.9.1.jar:./lib/nekohtml-1.9.13.jar | |
| JAVA = java | |
| default: TestArticleExtractor.class | |
| TestArticleExtractor.class: TestArticleExtractor.java | |
| $(JCC) $(JFLAGS) $(JCP) TestArticleExtractor.java |
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
| Feature: Security | |
| In order to see my projects | |
| As a client | |
| I want to be able to login via form | |
| Scenario: Valid login | |
| Given I'm not logged in | |
| And I have account | |
| When I fill in login form with valid credentials | |
| Then I will be logged in |
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
| 'amd eyefinity', 'Amd eyefinity', 'aMd eyefinity', 'AMd eyefinity', 'amD eyefinity', 'AmD eyefinity', 'aMD eyefinity', 'AMD eyefinity', 'amd Eyefinity', 'Amd Eyefinity', 'aMd Eyefinity', 'AMd Eyefinity', 'amD Eyefinity', 'AmD Eyefinity', 'aMD Eyefinity', 'AMD Eyefinity', 'amd eYefinity', 'Amd eYefinity', 'aMd eYefinity', 'AMd eYefinity', 'amD eYefinity', 'AmD eYefinity', 'aMD eYefinity', 'AMD eYefinity', 'amd EYefinity', 'Amd EYefinity', 'aMd EYefinity', 'AMd EYefinity', 'amD EYefinity', 'AmD EYefinity', 'aMD EYefinity', 'AMD EYefinity', 'amd eyEfinity', 'Amd eyEfinity', 'aMd eyEfinity', 'AMd eyEfinity', 'amD eyEfinity', 'AmD eyEfinity', 'aMD eyEfinity', 'AMD eyEfinity', 'amd EyEfinity', 'Amd EyEfinity', 'aMd EyEfinity', 'AMd EyEfinity', 'amD EyEfinity', 'AmD EyEfinity', 'aMD EyEfinity', 'AMD EyEfinity', 'amd eYEfinity', 'Amd eYEfinity', 'aMd eYEfinity', 'AMd eYEfinity', 'amD eYEfinity', 'AmD eYEfinity', 'aMD eYEfinity', 'AMD eYEfinity', 'amd EYEfinity', 'Amd EYEfinity', 'aMd EYEfinity', 'AMd EYEfinity', 'amD |
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
| begin | |
| require 'bundler/inline' | |
| rescue LoadError => e | |
| $stderr.puts 'Bundler version 1.10 or later is required. Please update your Bundler' | |
| raise e | |
| end | |
| gemfile(true) do | |
| source 'https://rubygems.org' | |
| gem 'rails', '4.2.5' |