labofsahil/github-event-dataset-2012 huggingface dataset:
Hi! I fixed some calls to "sys" for you!

Hello flashingpumpkin!


I am migrationBot, an [open-source](https://github.com/blakmatrix/node-migrator-bot) bot, and I'm here to help you migrate your codebase to node v0.8!

Did you know that the "sys" module throws an error if your program tries to require it in node v0.8? To help keep your code running, I automatically replaced `var sys = require('sys')` with `var util = require('util')`.

If you'd like to know more about these changes in node.js, take a look at https://github.com/joyent/node/commit/1582cf#L1R51 and https://github.com/joyent/node/blob/1582cfebd6719b2d2373547994b3dca5c8c569c0/ChangeLog#L51 and http://blog.jit.su/introducing-blakmatrix-and-migratorbot .

As for myself, I was written by your friendly neighborhood node ninjas at [Nodejitsu](http://nodejitsu.com), and you can find them at #nodejitsu on irc.freenode.net or with http://webchat.jit.su .

Enjoy!

--[migrationBot](https://github.com/blakmatrix/node-migrator-bot)
Fix characters in blame tab are garbled.

Characters in blame tab are garbled, if diff tab is not shown once.
Fix x-axis sorting issue in charts. Fixes #397
Remove unnecessary code

いらないものがあったので削除。

このくらいのものってブランチ切って、プルリクしたほうがいいんですかね?
そのままmasterにpushしたほうがよいのか
raw3-1 torso calibration

changed raw3-1 torso pan calibration. 0,0 config should be straight.
I maded some changehhss

Hurr hurr
SWITCHYARD-828 Explicit definition of JAXB transformers


Depends on https://github.com/jboss-switchyard/core/pull/384 .

https://issues.jboss.org/browse/SWITCHYARD-828
Fix the refactoring command and add commands to the command palette

* The refactor command for organize imports changed.
* Add default sublime-commands to that they will appear in the command palette
Update README.md

+ Quick start section in Readme
fixes #1
Sort packages

and remove unused code
[api] show distributions include remotes by default

show remote distributions by default is more friendly for private installation
Issue #567 Updating tests
Change list passed into validate_re to a stringe

The list was causing a syntax error on puppet 2.6.17

Syntax error at '['; expected ']' at /etc/puppet/modules/mysql/manifests/db.pp:47 on node rhel63
Make sure session.target_host gets resolved

Not sure why this isn't already resolved when we read it out of the
datastore.  May have something to do with the recent options madness.

[Fixes #6567]
Update enum_ms_product_keys to only run on supported versions.

This pull request updates the enum_ms_product_keys module to only run on XP, Vista, or 7. Above windows 7, MS removes the license key from the registry, so the module is not useful.
Add Netwin surgeftp exec module

This is based on Exploit-DB's PoC:
http://www.exploit-db.com/exploits/23522/

EDB hosts the vulnerable Windows version.  I also tested the Unix version from the official site, still vulnerable:
http://netwinsite.com/cgi-bin/keycgi.exe?cmd=download&product=surgeftp

This module exploits a vulnerability found in Netwin SurgeFTP, version 23c8 or prior.  In order to execute commands via the FTP service, please note that you must have a valid credential to the web-based administrative console.

Demo on Windows:

	...
	[*] Command Stager progress -  96.49% done (101796/105503 bytes)
	[*] Command Stager progress -  96.96% done (102295/105503 bytes)
	[*] Command Stager progress -  97.43% done (102794/105503 bytes)
	[*] Command Stager progress -  97.86% done (103243/105503 bytes)
	[*] Command Stager progress -  98.33% done (103738/105503 bytes)
	[*] Command Stager progress -  98.75% done (104187/105503 bytes)
	[*] Command Stager progress -  99.20% done (104663/105503 bytes)
	[*] Command Stager progress -  99.66% done (105145/105503 bytes)
	[*] Sending stage (752128 bytes) to 10.0.1.6
	[*] Command Stager progress - 100.00% done (105503/105503 bytes)
	[*] Meterpreter session 4 opened (10.0.1.3:4444 -> 10.0.1.6:1423) at 2012-12-21 16:15:37 -0600

	meterpreter >


Demo on Ubuntu:

	[*] 10.0.1.11:7021 - Sending payload...
	[*] Started reverse double handler
	[*] Accepted the first client connection...
	[*] Accepted the second client connection...
	[*] Command: echo 1LGYvFmqfedCMRFH;
	[*] Writing to socket A
	[*] Writing to socket B
	[*] Reading from sockets...
	[*] Reading from socket B
	[*] B: "1LGYvFmqfedCMRFH\r\n"
	[*] Matching...
	[*] A is input...
	[*] Command shell session 5 opened (10.0.1.3:4444 -> 10.0.1.11:52865) at 2012-12-21 16:16:46 -0600
removed unknown code
updated pt_PT translation

pt_PT locale has been updated
Fixed modifying data payload in before event
Kohana Fuzzy-Span

I have made the module compatible with 3.2 version and added Turkish
lang.
Dev evo

fix alohaeditor/Aloha-Editor#415
Added CSS optimizer to inline small image files as a Data URL.

Not sure if this is the best place for this feature.
I originally developed this feature as a patch for 'ezjscpacker.php' in our installation of eZ Publish 4.5.
When I later adapted it for the latest version of ezjscore I discovered that optimizers are now configurable and can be loaded from any class. I guess that way they can be placed in any extension.
If you don't thinks this fit here, please give me a tip on the best way to share this code.
Add Chinese translation

modified:   po/LINGUAS
	new file:   po/zh_CN.po
The documentation in the READMD was incorrect

It's confusing when you don't specify where the client variable comes from, as one might think you had a typo.

And the worse is the documentation is wrong about what arguments the callback takes.

I just updated the readme, to reflect the code, so that newcomers have an easier time getting started.

Wil
Update reddit_i18n/sv/LC_MESSAGES/r2.po

Translated and corrected lots of Swedish strings.
Don't record information about sites visited in Private Browsing mode

This fixes issue #66.
Added ItemDespawnEvent

By request (or Idea from?) of @CelticMinstrel I added this event.

On another note, I could have sworn removeEntity was for all entities, I guess you haven't converted them yet. I decided not to change it on here, to only have a few changes.

Yet another note: I also believe ticksLived should be used, instead of b. :) But I didn't change it, for minimal differences... ;)

Bukkit: https://github.com/Bukkit/Bukkit/pull/385

Because my git hates rebasing... :D
Adding ability to target specific application

I am aiming to use Hotkeys to replace Keyboard Maestro for a project where I use AppleScript + Ruby as a glue between different application. I need the ability to target specific applications, so I added this to Hotkeys. The new format for addHotString is 

        @hotkeys.addHotString("Space+OPTION","com.googlecode.iterm2") do
          puts "LOL MACRUBY RUNS"
        end

where the second string is the bundleIdentifier, which is optional (default is targetting all applications).

Uses System Events and ScriptingBridge to get frontmost application.
Created nicer layout
Added logging and VS 2010 support

Hi, I've just added some Common.Logging (with log4net) and VS 2010 support to HopSharp. Want to take a look at it and accept this pull request?
Fix style in $http doc.
CSPACE-764: code for RecordTraverser

Created a logic around a new component RecordTraverser.
Still waiting for the app layer to be implemented in order for this component to be fully functional and being integrated into UI.
Wrote tests for this component.
User fields

Fix typo in toggle_region.
Fluent interface and relations

This is the quite the same request as 1f59001ff7de3dcd71d2e7497696220039beb413 but this one is for the "relations" method

This allow to use 
```php
$myObj->setSomeInt(1)
           ->addSomeEntity($otherObj)
```
DOC-417 removing the IMPORTANT note about the Amazon reboot from the doc...

...s home page
Updated README

* formatting for code blocks and other snippets
* additional installation instructions (yum / apt-get) 
* example crontab line
* how to run doctests
* various small corrections

You can view the changed README here: https://github.com/ndbroadbent/GCalCron2/blob/8aa65e2f0f8b54bb912db056db2c0069146d951c/README.md
Migrate to Jetty 7

I've updated jetty-rackup to use Jetty 7. It seems to work well, though I'm not sure if the core and jsp jars are necessary. I can run my application (using Sinatra) without them. 

What's missing: I'm using a newer version of rake than this was built with and rake is definitely not my speciality. 

What's included: I've put in updated versions of the Jetty jars and removed the old ones as well as made the necessary updates to server.rb. I also had to update the jruby-rake jar as the 0.9.5 version didn't seem to play nice with Jetty 7.

Let me know if you have any questions or if there is anything else I can do.
-Nik
GROOVY-5163: IncompatibleClassChangeError when running groovysh

I believe this is related to GROOVY-4838.  JDK7 added an additional protected constructor to the `Exception` class.  By converting the `CommandException` class to a java class the compile vs runtime mismatch can be avoided.

I tested by compiling master with jdk6 and jdk7 and then running groovysh with both versions to verify the `IncompatibleClassChangeError` was no longer produced.
Fix for issue #1420

See https://play.lighthouseapp.com/projects/57987-play-framework/tickets/1420-play-considers-directoties-in-the-modules-directory-actual-modules
Fix incorrect I18n key.

In a recent commit a lot of I18n keys have been updated. This commit fixes one that was still referencing an outdated key.
Person was added

I've added my profile to the project. Hope it will not break the app
Context.createVertexBuffer and createVertexBuffer should check their input

Previously, if you passed in something that was not either a typed array or a number, it would fail later in a confusing place.
Use camel case in event names

Small change, but since this affects widely to the system, I would like it to be seen as soon.
Still getting used to git :-(
Added IDE specific files to ignore list
fixed stuff, added test code
fixed ConditionRule compareTo

...condition with ranges of the same length from being added (even with diff min and max)
修改类图。。。
IDEA-74131 Maven interpolation error: Failed to interpolate field

The synchronized keyword on the method interpolateObject was not enough because the cache in StringSearchModelInterpolator is static, so we need to protect concurrent access whatever the instance of CustomModelInterpolator. Here I simply use the CustomModelInterpolator class as synchronization object.
I never see the error again since I applied this fix.
Introducing a SidFactory

* I made some research on different forums and it appeared I'm not the only one who was suffering because of hardcoded sids being created. In my case I needed Groups of Users and Users itself being different Sid classes, so I had to create a SidFactory and replace all the places where Sids were creating with using this factory.
I made changes so that nothing differs in the logic of Spring ACL, but if user wants to create custom Sids, he is welcome to introduce and inject his own factory.
* Another problem was that Sids don't have a method 'getSidId()' and thus we're forced always to cast them to particular implementation which is also ugly. 

Please, consider this patch to be included into Spring ACL sources and I'm really willing to hear the feedback about suggested changes.
Reordering of factor levels for CONTENT_AREA
Level structure created

Description:
- in Story mode, when we finish one level then the next level will appear.
- the current level will be saved, so the storymode will keep "leveling up" even if we exit the game => no level reset.

Need:
- database (questions).
- videos at the beginning of each level.

Thinking about:
- constraints
- characters' skills
Replacing hard coded Program Files path with macro
Sync scenario branch with latest
AEROGEAR-619 "Investigate usage of CDI alternatives"
Sum multiple calls, handle async
TIMOB-10354 Android: Distinguish between an abi argument and additional emulator arguments passed to builder.py

See testing notes in [JIRA](http://jira.appcelerator.org/browse/TIMOB-10534?focusedCommentId=221300&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-221301).

**BLOCKED** by http://jira.appcelerator.org/browse/TISTUD-2333.  Do not try to process this PR until that is resolved.
[TIMOB-11150] (2_1_X) Load image with correct scale factor

Cherry Pick PR #3055 into 2_1_X
fixes [TIMOB-10998] iOS 6 only - tableView - On a tableview using iOS TableViewStyle.GROUPED, you can't set the tableview background to a color or an image

fixes [TIMOB-10998] iOS 6 only - tableView - On a tableview using iOS TableViewStyle.GROUPED, you can't set the tableview background to a color or an image.
[TIMOB-11755][TIMOB-11756] HTTPClient: add properties username, password and domain

Exposes username, password and domain properties for http client for iOS and Android.

Only iOS this will enable NTLM authentication

For Android, have exposed new method addAuthFactory(String,AuthSchemeFactory) to add custom AuthSchemeFactory  to HTTP Client. Developers should be able to extend HTTPClient for android for any auth scheme they choose (including NTLM) with modules.

JIRA Tickets
[iOS](http://jira.appcelerator.org/browse/TIMOB-11755)
[Android](http://jira.appcelerator.org/browse/TIMOB-11756)
timob-8470: increase scrollview sensitivity

JIRA: https://jira.appcelerator.org/browse/TIMOB-8470
testing steps in JIRA. 

P.S: this is a workaround for now, as the source is a lot deeper than anticipated.
Fix issue #155 : Redirect stderr in test_dumpscript.py to avoid polluting test output. 

Fix issue #155 : Redirect stderr in test_dumpscript.py to avoid polluting test output.
Fix nagios plugin
Add streaming capabilities

I needed to not only parse xml files, but also xml responses from an HTTP server. As these can get pretty big I have added the possibility to also use streaming.

This is the best I have come up without refactoring the interface much. Basically the xmlFile argument is now optional and I have documented the saxStream. So you can pipe your own stream with:

request.get('http://localhost:32400/library/sections/1/all').pipe(parser.saxStream);

Both code and read me are updated.
Optimize png images with ImageAlpha and ImageOptim

I converted the images to 8 bit PNGs with ImageAlpha + ImageOptim, so now all ribbons are ~60% smaller in file size.
fixes related to fetching data with multiple answers
LPS-29173-2

Permission check changes. Rebased so that you don't have to...
LPS-30387 [TECH SUPPORT]

Hi Julio,

as you requested I created an integration test and thanks to @mdelapenya now it looks like a real test. Unfortunately the number of commits grew a lot so please feel free to merge commits if it is necessary. I made a small change after Manuel's commits, because the logic was not a 100% correct in this new general context.

thanks,
Daniel
Updated git URL to use git:// variant so it can be accessed publicly

The ssh git URL can only be accessed by the owner of that repository or people with commit rights. This change allows anyone to check out the source without modifying the URL.
Don't use qtsparkle on non-windows builds

trivial patch.
Remove unneeded whitespace in gitolite config comment

Thanks for adding a comment to the generated gitolite config file when changed. However: When viewing changes in it with `git log -p` or `git diff` (etc.), the two spaces I removed with this commit where marked as unneeded whitespace. At least in my opinion it is nicer to look at, when this whitespace is gone.
Fix two bugs

Update test expectations, fixes broken package.xml.

Unfortunately, pyrus isn't building the package properly - I've raised it on the pear mailing list. It's "OK" because pyrus returns with the wrong exit code, so the travis build still passes... but yeah :(
Fix using :pty in tests

There must have been a change at some point from @host being an instance of
Host to being just the name of the host. This removes a few calls to @host
methods that assume that it is a Host object. This causes a problem when trying
to use `:pty` with `on` because it tried to call `@host.name` to output that it
succeeded.
(maint) Skip vm revert step if vmrun option is not specified
Create configuration class for glance client, mirroring puppetlabs nova:...

...:client to some degree.
Enable support for .htaccess modification after make.
email association working
Fix/beta5

- accessors * -> get*
- events() -> getEventmanager() 
- ActionController AbstractActionController
Translations

- exists translations pulled from tx
- added russian translation
Ordem aleatoria

javascript para reordenar os logos randomicamente
Feature fpv 1062 add check method
Marks the use of HTTP_*_VARS as deprecated

As documented here: http://www.php.net/manual/en/ini.core.php#ini.register-long-arrays
Misc fixing for Myzone

This adds to the pull request 20
Initial implementation of create-app
Fix spidermonkey 1.8.5 errors in jslint core

Add a var statement to the declaration of the exports variable at the bottom of
jslint-core.js. Without it, spidermonkey 1.8.5 dies and the plugin becomes
unusable.
Issue #231 查看帖子时右侧发布新帖没有居中

Issue #231

有任何操作不对的地方，请务必告知。
[Mobile]More addons area

https://litmus.mozilla.org/show_test.cgi?id=15128
https://www.pivotaltracker.com/story/show/25427375
FIX minor merge error in README
Change Version Checks To Allow Use of Rake Tasks from Rails Engines

Rails.version is unavailable from the Rails module unless all of Rails
is included. This breaks rake tasks when trying to run them from a Rails
Engine as usually ony rails/engine is included.
Upgrade Spring Security OAuth2 to 1.0.0.M6
not much, but hey why not
Updated old instanceof Player to instanceof MCPlayer

- Updated old instanceof Player to instanceof MCPlayer
Minor sphinx warnings in documentation source

Just a minor cosmetic fix for two warnings emitted by sphinx on building the documentation:

docs/reference/settings.rst:122: WARNING: Title underline too short.
docs/reference/settings.rst:122: WARNING: Title underline too short.
docs/management.rst:24: WARNING: undefined label: thumbnail_key_prefix (if the link has no caption the label must precede a section header)
add _super calls in controllers
Translation of new strings

Added new translated string of new features. Please merge it. It's XML validated and checked.
Missing czech translations

Merge it please.
Issue 9046 - typeof(T.init) should have the type T

http://d.puremagic.com/issues/show_bug.cgi?id=9046

This is a supplemental change of compiler fix.

`hasOverloadedOpAssignWithDuration!T` returns `true` even if `T` is not a mutable type (e.g. for `const Date`). But, until now, the type of `T.init` had been accidentally unqualified by bug 9046.

@jmdavis, could you please review this?
Supplemental fix for Issue 8940 - Able to modify const/immutable with passing to a templated function by `ref`

`splitUnitsFromHNSecs` accepts `ref long`, so it should not be called with `immutable long`.
But' it has been accidentally accepted by issue 8940.
7.x

Most of the elements are displaying although ajax is still broken.
Allow Dimension Unloading+TileEntity Render Distance

Made use of DimensionManager.spawnSettings to allow dimensions to be unloaded when all chunks have been unloaded. Also prevents spawn chunks being held on spawnable dimensions.

Currently to reduce lag with Mystcraft which can handle reloading the dimension. Suggest adding forge hooks for dimension request in the future.

Also added a function to TileEntities to allow them to render more than 64 blocks from the player.
Added getters for version vars.

Static final vars are inlined during the compile step, making the version variables useless at runtime.
Fix numerous bug related to invalid address

Fix bug PNM-658
adding panopoly core and a few other media dependencies
Add ActionBarSherlock as a submodule
easy inner html

Got bored, went ahead and did it anyways.  I believe your gem should be backwards compatibile with the old gem now.
GHC has file collisions for docs.

The docs dir moved here also includes the docs created with dodoc.
missing manifest for dev-haskell/safe

testing F# 3.0 compiler :)

old script

``` fsharp
open System
open System.IO

let overlay = @"/home/gentoo-haskell"
let sync = true
let sudo = true

let shell cmd args path =
    let proc =
        match path with
            | "" -> new System.Diagnostics.ProcessStartInfo(cmd)
            | p -> new System.Diagnostics.ProcessStartInfo(cmd, p)
    proc.RedirectStandardOutput <- true
    proc.UseShellExecute <- false
    proc.Arguments <- args
    let p = System.Diagnostics.Process.Start(proc)
    let tool_output = p.StandardOutput.ReadToEnd()
    p.WaitForExit()
    tool_output
let shellx a b c = printf "%s" <| shell a b c
let shellxf a b c = printf "%s\n" <| shell a b c

let Resolve() =
    let troubles = File.ReadAllLines("missing")
    (*Missing metadata processing*)
    troubles
    |> Seq.filter(fun x -> x.Contains("metadata.xml"))
    |> fun missingMetadata ->
        if Seq.length missingMetadata > 0 then
            printf "detected files with missing metadata, resolving\n"
        missingMetadata
        |> Seq.iter(fun f ->
            let data = f.Trim().Split('/')
            let dir = data.[0]
            let package = data.[1]
            if not <| Directory.Exists(@"tmp/" + dir) then
                shellx "mkdir" (@"tmp/" + dir) ""
            if not <| Directory.Exists(@"tmp/" + dir + "/" + package) then
                printf "creating tmp dir for : %s" package
                shellx "mkdir" (@"tmp/" + dir + "/" + package) ""
            let meta1 = @"tmp/" + dir + @"/" + package + @"/metadata.xml"
            let meta2 = overlay + @"/" + dir +  @"/" + package + @"/metadata.xml"
            if not <| File.Exists(meta1) then
                shellx "hackport" ("--overlay-path=\"tmp\" merge " + package) ""
            if sudo then shellx "sudo" ("cp -f " + meta1 + " " + meta2) ""
            else shellx "cp" ("-f " + meta1 + " " + meta2) "")


if not <| Directory.Exists("tmp") then
    shellxf "mkdir" "tmp" ""
shellx "ls" "-a tmp" ""
if sync then shellxf "hackport" "--overlay-path=\"tmp\" update" ""
Resolve()
```
Made a sprite sheet for Officer Cackowski
Reorganizing audio to reflect the new structure

Moving a few audio files into the correct folders, and updating their references.
How to create JavaScript classes
Bug 735083 - batch inserts into Fennec history provider.

I included code to update the `androidID`s of inserted records, which is currently disabled in prod, since they are not used after insertion.

Device testing went well for me (and is speedy!).
Bug 787249: Fix android-sync integration tests broken by Bug 770785.

No idea how I managed this, but Bug 770785 breaks integration tests completely.  Here's a re-implemented version.  Bug 770785 has landed on m-i, so I'd like to get this landed ASAP, but I'm not so worried about Nightly because it appears that the actual functionality works fine.
EAGLView clean.

removed initWithFrame method from EAGLView because it was stopping EAGLView from being extended and it was never being used.

cleaned up EAGLView to conform to OF code style guide.

fixes #1089
Fix User Administration bugs in Insight (dev_4_4)

See http://trac.openmicroscopy.org.uk/ome/ticket/9895 and http://trac.openmicroscopy.org.uk/ome/ticket/9896.
Update module for the puppetlabs_spec_helper gem

Using this gem avoids code duplication and unifies the rake/spec interface between modules

* Use `rake spec` in the travis config
* Load Rakefile and spec_helper from the common code in the gem
Switch to MVVM style app

Use some code found in the dart-lang/bleeding_edge repo to create a MVVM style framework for the web client.
Small fix to build

First off, great work on this project.

Running build was throwing up errors for me because I had entered a custom theme name during the init process, but yeoman was still looking in the default 'mytheme' directory. I also added a small section to the README with uninstall instructions
Update FileSysExcludeFiles/readme.md

Third try
LPS-29794
Loop and Decision Coverage DONE!
Change Rails Dependency to greater than 3.0.7

I ran into this issue when installing Factory Girl Rails


Invalid gemspec in [/home/vagrant/.rbenv/versions/1.8.7-p352/lib/ruby/gems/1.8/specifications/factory_girl_rails-1.7.0.gemspec]: Illformed requirement ["#<YAML::Syck::DefaultKey:0xb6f2d33c> 3.0.7"]
Invalid gemspec in [/home/vagrant/.rbenv/versions/1.8.7-p352/lib/ruby/gems/1.8/specifications/factory_girl_rails-1.7.0.gemspec]: Illformed requirement ["#<YAML::Syck::DefaultKey:0xb6f2d33c> 3.0.7"]
Invalid gemspec in [/home/vagrant/.rbenv/versions/1.8.7-p352/lib/ruby/gems/1.8/specifications/factory_girl_rails-1.7.0.gemspec]: Illformed requirement ["#<YAML::Syck::DefaultKey:0xb6f2d33c> 3.0.7"]
Invalid gemspec in [/home/vagrant/.rbenv/versions/1.8.7-p352/lib/ruby/gems/1.8/specifications/factory_girl_rails-1.7.0.gemspec]: Illformed requirement ["#<YAML::Syck::DefaultKey:0xb6f2d33c> 3.0.7"]
Could not find factory_girl_rails-1.7.0 in any of the sources
Run `bundle install` to install missing gems.

I didn't have Rails 3.0.7 installed on my machine.  This should fix that issue of not having Rails 3.0.7 during development.
Adds middleware for serving static files within a namespace

I needed to namespace an entire app that also uses `express.static` to serve up static files. This change allows the static files to be namespaced as well as the rest of the routes.
Add Sublime Table Editor package

Please add sublime table editor package from https://github.com/vkocubinsky/SublimeTableEditor
Add Aery32 plug-in
Added Mako entries

Added Mako repository URL and package mapping.
adjust podspec

Hey!

I tried adding this project via cocoapods but it bailed because of a missing Licence file and later with linker errors because of missing sources. The proposed changes seem to fix it:

* remove missing Licence file
* add .m-files in Component/private

I'm not really sure if it's okay to have a podspec without the licence file, but it seems to work that way.

Also you might need to create a new tag and adjust it in the pod spec?
quick syntax fix

comma instead of colon
additions for settings handler for socket io
improve sgs.gameProcess(room) and SmartAI:objectiveLevel(player) ;gain more imformation to know process more clearly
Fixes & more

Hi there Nick!

I had a bunch of problems, some were solved by the attached commit.
Basically what brought me there was "undefined method to_hash", when only using the Roar::Representer::XML module. First I tried including *both* Roar::Representer::JSON and Roar::Representer::XML (in that order), that way to_hash is there (from Representable::JSON I suppose). The XML output wasn't as expected, though. Every object wrapped in a <object/> tag and the whole collection was called <objects/>.
The name of the collection tag is correct, after applying the attached commit and *not* including Roar::Representer::JSON. Works for me. However, the collection tag ended up empty. So I started digging.

What I came up with at last, is this:

```ruby
module ArrayRepresenter
  def to_xml(options={})
    options = options.dup
    options[:indent]  ||= 2
    options[:root]    ||= if first.class.to_s != "Hash" && all? { |e| e.is_a?(first.class) }
      underscored = ActiveSupport::Inflector.underscore(first.class.name)
      ActiveSupport::Inflector.pluralize(underscored).tr('_', '-').tr('/', '_')
    else
      "objects"
    end

    doc = Nokogiri::XML::Document.new
    doc.root = Nokogiri::XML::Element.new(options[:root], doc)
    doc.root['type'] = 'array' unless options[:skip_types]
    child_name = ActiveSupport::Inflector.singularize(options[:root])
    each do |element|
      doc.root.add_child(element.to_node(:wrap => child_name))
    end
    return doc.to_xml
  end
end
```

It is roughly based on active_support/core_ext/array/conversion.rb, but uses Nokogiri to be compatible with to_node, instead of Builder::XmlMarkup/ActiveSupport::MiniXml (the purpose of which is totally lost on me...).

To use it I needed to put in the controller (I'm using inherited_resources by Jose Valim):

```ruby
  private

  def end_of_association_chain
    super.extend(ArrayRepresenter)
  end
```

I'm pretty sure this isn't at all how you intended this to be used.

To conclude: either a) I'm missing something or b) you were drunk when you wrote this. Tell me which :)

Take care.

Niklas

P.S.: Another side-node: when using the XML representer I get elements called like "user_id", when I would expect it to be "user-id" (that's what the default ActiveRecord::Base#to_xml generates). It's not really a big issue, but quite annoying when you're migrating from using plain to_xml to using representers. To keep the old version, I adjusted the ArrayRepresenter above and wrote another module:

```ruby
require 'roar/representer/xml'
module Roar::Representer::DashXML
  def self.included(base)
    base.send(:include, Roar::Representer::XML)
    base.extend(ClassMethods)
  end

  module ClassMethods
    def property(name, options={})
      super(name, { :from => name.to_s.tr('_', '-') }.merge(options))
    end
  end
end

```
Fix typos in spec (exists, should exist)

Just a little typo in the spec helpers that made them look weird.

Standardized on "client_exists, scope_exists, should_exist, etc."
assistly.com is now desk.com
Clean up jshint violations & use Bob as part of CI
Docs

Something you'd like?
Fixes for 'YC sponsored' posts

Made some fixes for posts like these:

http://news.ycombinator.com/item?id=3633594

These post don't have score, submitter or comments.
Blowfish

Added a blowfish password strategy implementation.  If this is too much to include, reject.  Also might be too much to put in README.  Included test etc.
Conneg output behavior with wildcard accept headers now render as HTML

Currently conneg enabled requests get JSON back when the accept header is a wildcard:

```Accept: */*```

Sadly old IE, embedded in our case, *forgets* to send the proper accept header. So that sucks.

Looking at the code I think the intent is to have ```Accept:*/*``` be handled like HTML but it is not currently working that way. 

This pull request changes the Conneg output behavior to try to find a IMediaWriter. If no writer is found and the Accept type is ```text/html``` or ```*/*``` a ```Do.Continue``` will happen. 

Note: This is not exactly what was happening before. Currently when the accepted mime type contains ```text/html``` the writer selection process is skipped. I thought it best to not hard code wildcard and html output support in the case where a writer is added which specifically handles these mime types.
Moved trim_message tool to includes folder 

Suggested by nickvergessen
Added htmlspecialchars_decode for $message
Added support for HAMLJS

Hi, I just added support for Hamljs, which I use extensively and prefer over ejs.
My optimisation fixes

One major optimisation, one minor optimisation, and some cleaning up of the tests to be able to be run under debugger and tainting and not mutate @INC
filetype:wav

indicate the correct filetype when uploading an audio file for analysis. thanks, janice wang.
Pull request: Adding singleton template etc
Actually shows 'current' stories not all.

After getting Pivotal Tracker working with Hubot was surprised to see the default for this to be 'show all stories' instead of 'show current stories'.

IMO based on Pivotal's API this class has a lot of potential with regards to showing stories based on iteration, filter, etc... Will see if I can pick up the reigns on this and get a couple more commands for Pivotal.
A bug fix and a change in user prompt logic

Let me know if these changes are helpful...!  Thanks.
Fix for server settings save

Quick fix as it was not saving anymore. Seems to work now.
htfhgfg
Few proposed changes

I think that in this way the text could be clearer... (but maybe I'm lacking in comprehension...).
make sure to call set_http whenever any of the underlying mech.agent.http variables need to update

 I also made sure that any change to the ssl variables in mechanize.rb trigger the set_http call.  I refactored this so that any changes to any of these variables just sets a flag that gets called on the first fetch
attachment of sources and javadoc.

As suggested by Marko in Tinkerpop ML (http://groups.google.com/group/gremlin-users/msg/779d39b65bcf7fa5), I took the freedom to update POM in order to attach sources to artifacts.
It should work on all blueprints submodules, and should also be easy to add to other Tinkerpop projects.
SplitLayout redesign.

Previous SplitLayout were not working correctly.  The members were not
sized correctly and could also cause some overflow problems.  The new
implementations fixes those problems.  The only problem left is to find
how to block resizing of the top/left most component to a negative
value, which causes the whole layout to grow in size.
CSS makes things look better

Preview http://i.imgur.com/WaIIC.png
Document forms on views
Add translation for Bad credentials in spanish
LPS-30908
LPS-27212 Properly merge aui script data under concurrent context
LPS-29239
LPS-26666
LPS-30308
master-bc-205

http://issues.liferay.com/browse/LIFERAYQA-2648
LPS-30824 ClassResolverUtil should not initialize the resolved class
LPS-30283
LPS-28323
LPS-26392
Public release

Added setup.py and a FallbackMiddleware that mimics the FlatpagesFallbackMiddleware.
Added init script for centos (should work in other distros)

I've added a sysv style init script to contrib/ which works on the centos based webhost I'm using. It should work in other linux distros, but may not always be ideal in that case. (E.g. debian has a built in command which starts and stops daemons).

I'm not 100% sure it will work as a proper init script, since I only have user level access to the host, and I wrote it to use manually as a simple way to daemonise the api server. It's in the right format though, and should work fine.
Fix make stylish warning.
Clean up the messages here a little bit.
Improvements to Elsevier Harvard styles

Remove disambiguate-add-names and add an explicit access date for all Elsevier Harvard Styles.  Comment out non-working (CSL 1.0.1) cite-group-delimiter for now.

Per https://forums.zotero.org/discussion/26306
Fix deployer and crowbar hash merge prevent admin [1/2]

Deployer fix is to keep allocated from being a permanent config variable.

Crowbar barclamp fix allows the hashes to be merged in a sane way as opposed to
before where overwriting of network data occurred.



 crowbar_framework/app/models/node.rb |   14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)
Put localhost gem source back in Gemfile [1/5]



 crowbar_framework/Gemfile |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
Strip out some unused and unwanted gems. [1/1]

Goodbye, coffee-rails, uglifier, and therubyracer.

 crowbar.yml               |    8 +++-----
 crowbar_framework/Gemfile |   13 -------------
 2 files changed, 3 insertions(+), 18 deletions(-)

Crowbar-Pull-ID: 191f4c12dc9ceef4a7974fd15401d2b9a248613b

Crowbar-Release: development
Make sure we skip invalid or missing switch config info when generating the switch_config.json. [1/5]

This fixes a bug that was not skipping missing or invalid switch config data from ohai.

 chef/cookbooks/network/recipes/switch_config.rb |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
Gravatar spice

Hi. I made plugin which shows gravatar of given email address.
[DuckDuckHack idea](https://duckduckhack.uservoice.com/forums/5168-plugins/suggestions/2933994-gravatar)

I programmed two versions of it. What do you think, which one is better?

version - 1:
![version1](http://i.imgur.com/5f4XT.png)

version - 2:
![version2](http://i.imgur.com/oJ6um.png)
Extend ErrorException to carry $errcontext provided by PHP to the errorHander.
Support '/' and '.' delimiters for date input

Support input such as '05-25-1998' in addition to the standard '05/25/1998'.
Update m17StickyBEFooter/assets/m17StickyBeFooter_uncompressed.js

fixed probs with contao 3.0 debugbar
Channel4 - handle swf url relocation, ip no longer present for ll stream
Add support for removing movies from the Instant Queue.
(#16004) array_matching is contraindicated.

With ":array_matching =>:all", uid/gid rules are reloaded with every
Puppet run.  This is ugly and annoying, and arguably wrong.
Add parameters to enable usage of enterprise versions of PuppetDB

There were a few details that will differ between POSS and PE that were hard-coded in the current version of the puppetdb module. This pull request adds a few parameters so any different options can be passed through as needed.

Looks like the current rspec-puppet tests are not up to date, so I'll work on those at a later date.
Re enable the FormErrorHandler

Hey, noticed it wasn't working anymore!
Fixed pops, better editor styles, new editor order, sliders for positioning, 50% as a default position
Logistic Regression

Can anybody confirm me that the CLibLinear with L2_LR in shogun actually implements the Logistic Regression algorithm?
Fixing NoClassDefFoundError

Fixing NoClassDefFoundError
Would be cool to use SRM methods in other plugins

I recently wrote a quick, disposable importer plugin for SRM and needed to access the sanitise methods and meta key name properties. With the instantiation of the `SRM_Safe_Redirect_Manager` class not set to a var this wasn't possible. Here's a writeup: http://simonwheatley.co.uk/2012/09/safe-redirect-manager-import/

Might be handy if you considered this as a change.

Thanks!

Simon
add paragraph about irc notification

It needs a correction and a review
Add original phptidy and setting to select between phptidy and wp-phptidy

This may not be exactly what you want, but it's a start. Let me know what further changes if any it requires. I haven't extensively tested phptidy.php, but it was pulled from http://developer.berlios.de/project/showfiles.php?group_id=11466
Create conf.ROOT_DIR if it doesn't exist

This should fix #6.

I'm not sure whether `os.makedirs` is a good idea (might create bad empty folder trees if there's a typo in `ROOT_DIR`). The alternative would be `os.mkdir` and to raise an exception if the nonexisting folder tree is too deep.
Doc

Améliorations de la documentation :

- intégration de fichiers peu clairs dans de vrais fichiers expliquant leur intérêt
- simplification du README
- déplacement d'éléments du README décrivant une utilisation plus complexe dans des fichiers individuels dans le dossier `doc`
- réorganisation de la structure de la `doc`
Starts with/Ends with feature

Mark,
I added a couple lines to the "contains" matching so you can now do:

search:field="\^startwiththis" or search:field="endswiththis\$"
Fix for #474: Loads AA SASS helpers in railtie to enable precompile w/o initialization

While I couldn't think of a good way to write a failing spec for the precompile scenario, I did run rake spec & rake test:all and everything passed.

This approach should provide a backwards compatible solution that still solves our Heroku asset pipeline issues.  If you know of a reasonable way to add a failing spec for this unique problem, please let me know.

Also, note the removal of the requires that had a comment stating that they must be required after initialization (in application.rb).  Perhaps there was good reason for it, but in my testing they were unnecessary.  It shouldn't hurt to add them back in if needed.

Thanks for all the good work on ActiveAdmin.

Marcus
Fixed the Api create instance

The create instance works as well as the index.
Added mucho documentation.
Fixed NPE in RevisionState.hashCode()

Whenever we were restarting Jenkins every build using repo scm would disappear.
This was caused by a NPE in RevisionState.hashCode() causing Jenkins to stop loading the build.

This patch fixes the NPE.
YT iFrame patch

Patch isLoaded variable when iFrame is loaded. We can't load a new YT video without and fail test on line #623.
KNIFE_WINDOWS-18 Ask the user for a password if they have specified a us...

http://tickets.opscode.com/browse/KNIFE_WINDOWS-18

Ask the user for a password if they have not specified one, but have specified a user to login as.
Fixed mousedown mouse position detection for scrubber.
More list interfaces
Fixed syntax error in Growl example code so it runs on copy and paste.

A tiny, tiny error that caught me unawares…
Rakep build rework
Improvement/adding of two method RestContext

improvement of RESTContext::theHeaderShouldBeEqualTo()

Adding RESTContext::theHeaderNotExist()
A few Rails 3.2 fixes

Here's a set of small commits which fix a number of bugs and deprecation warnings which show up in the new Rails 3.2 release.
ISPN-1754 - IllegalStateException in surviving nodes during node crash in cluster

https://issues.jboss.org/browse/ISPN-1754

The method StateTransferLockImpl.waitForStateTransferToEnd() didn't have any way of signalling
that it failed to re-acquire the state transfer lock.
    
I've added a new exception, StateTransferLockReacquisitionException, but we'll have to revisit this for 5.2.
Commits related to transaction configuration

This pull request covers:

* https://issues.jboss.org/browse/ISPN-1604
* https://issues.jboss.org/browse/ISPN-1657
Works In Froyo 2.2

I'm Already tested On AHA Touch using Froyo 2.2 and It's Work's Thank's!
SAKIII-3653 While adding people to a world, I click on a group name & get taken to that group which is very disorienting in the middle of that work flow

https://jira.sakaiproject.org/browse/SAKIII-3653
Bring @kabel JS changes and build scripts.
Added translation on Select type product and upgrade pt_BR translate

Added translation on Select type product and upgrade pt_BR translate
修改 《深入潜出HTML》=> 《深入浅出HTML》

改正了第一章一个错别字 ^_^
déplacement allé retour
changed clapping anim to one that doesn't freeze
Update to work with NServiceBus 3.2

Many minor changes suggested by ReSharper. The main change is to [ServiceBrokerMessageReceiver.cs](https://github.com/ralmoritz/NServiceBus-Contrib/blob/a25ab4e5e10e788f496ed127c78a777ccff8793f/src/Transports/ServiceBroker/NServiceBus.Unicast.Transport.ServiceBroker/ServiceBrokerMessageReceiver.cs) where the method signatures of `ServiceBrokerMessageReceiver.Init` and `ServiceBrokerMessageSender.Send` needed to be changed in order to implement `IReceiveMessages` and `ISendMessages`, respectively.
Adding properties to the omod/pom.xml file

Adding properties to the omod/pom.xml file
fix for bnc#782525
Pull specific version of bcbb. Multi-VM installation

* I've added the option of pulling an specific version of bcbb repository to the installation script. The user has to specify a commit SHA with the -v opition
* Python 2.7 is now a requirement (using argparse)
* Added also the option of not creating a VM when installing within a VM and let the user use its own VM(s)
* Multi-VM installation
INT-2792 Update spring-amqp Version to 1.1.3

1.1.3.RELEASE includes enhanced JsonMessageConverter to
support applications using the ObjectToJsonTransformer.
INT-2392 - ChainElementsFailureTests reads wrong 'xmlheader' property

For reference: https://jira.springsource.org/browse/INT-2392
Improve README

I made some wording changes and improved the formatting of the README.

Also included is suggesting to install this package as a Composer dev package. Your original README suggested installing this for the Symfony2 dev environment already, so we should follow that with Composer.

Most developers will not need to use phpdoc while in production, so they will only use it while on their local or test/build machine. This way the bundle and phpdocumentor itself will not need to be installed anywhere else.
LPS-28062

Add new liferay-plugins/tools/portlet_richfaces4_tmpl project template
Give composer a more specific autoload path

See https://github.com/doctrine/DoctrineModule/pull/93/
Japanese translation

properties + jelly + html for additional help resources.
And re-translation for word unification.
New unit test

Now that we have a solid path, merging in all the cowboy/disorganized branches in to master and starting clean. This code is as stable as it's ever been.

Also includes a lot of development stuff, like student files, examples, and tests. May be cleaned later.
Tou.TV - fix for playback issues
updates to support horizon module modifications, and a tweak to the nova_test.sh to include floating IP

updated controller.pp to support a change in the horizon module (more horizon services)
also updated nova_test.sh to include service group and floating IP
Spelling and Grammar Changes

I made some small spelling and grammar changes. to index.html. I figured this was better than just telling you about them.
pull request new 3 langs and upd kyrgyz

Added Chuvash language from forum by Watz, this language is spoken in Russia, so it can use Russian country code.
Added from forum Korean by ksgcln72 and Japanese by orange, this languages requires special fonts to correct display.
Updated kyrgyz language to 0.7.
Minor fix in comments

The comments of **Initialize** method were wrongly placed over the **RemoveComponent** method
Update docs/languages/en/modules/zend.form.elements.rst

Somebody asked for Select element documentation on this page http://framework.zend.com/manual/2.0/en/modules/zend.form.elements.html so I gave my shot at it.

Since my fork is currently in 'conflict' state I can not create a pull request for zend.form.element.select.rst myself but here is the text:

.. _zend.form.element.select:

Select Element
^^^^^^^^^^^^^^

``Zend\Form\Element\Select`` is meant to be paired with the ``Zend/Form/View/Helper/FormSelect`` for HTML inputs with type select. This element adds an InArray validator to validate if the selected value is one of the available values originally provided by the select element.
Use ``$select->setAttribute('multiple', 'multiple');`` to allow multiple selections. To select one option by default use ``$select->setValue('bar');``

.. _zend.form.element.select.usage:

Basic Usage
"""""""""""

.. code-block:: php
   :linenos:

   use Zend\Form\Element;
   use Zend\Form\Form;

   $select = new Element\Select('select');
   $select
       ->setLabel('A select')
       ->setValueOptions(array(
           'foo' => 'Foo',
           'bar' => 'Bar',
           'baz' => 'Baz',
       ));

   $form = new Form('my-form');
   $form->add($select);

.. _zend.form.element.select.methods:

Public Methods
""""""""""""""

The following methods are in addition to the inherited :ref:`methods of Zend\\Form\\Element <zend.form.element.methods>` .

.. function:: setValueOptions(array $options)
   :noindex:

   Set the available select options. Accepts key/value pair array of values and labels.

   :rtype: Select

.. function:: getValueOptions()
   :noindex:

   Return all current select options as key/value pair array. Empty options do not get included.

   :rtype: array

.. function:: setEmptyOption(string $emptyOption)
   :noindex:

   Set empty select option with given text and no value. If set to null, no option will be added.

   :rtype: Select

.. function:: getEmptyOption()
   :noindex:

   Return the label text for the empty select option.

   :rtype: string|null

.. function:: getInputSpecification()
   :noindex:

   Returns a input filter specification, which includes a ``Zend\Validator\InArray`` to validate if the selected value is one of the available values originally provided by the select element.
   :rtype: array
Update docs/languages/en/modules/zend.view.renderer.php-renderer.rst

renderer does not have resolver set
Update docs/languages/en/index.rst

Alphabetically, Zend\Config comes first before Zend\Console.
Removed $this usage when not in object context.

Line 157
is:
Logger::registerErrorHandler($this->logger);
should be:
Logger::registerErrorHandler($logger);

Or even better and to make it more consistent with other examples on the same page I would like to see this code instead (already amended):

   $logger = new Zend\Log\Logger;
   $writer = new Zend\Log\Writer\Stream('php://output');

   $logger->addWriter($writer);

   Logger::registerErrorHandler($logger);
Add meta tag for charset utf8 to templates

Template HTML not have meta tag for utf8.
Console log label is disturbing