labofsahil/github-event-dataset-2012 huggingface dataset:
Pull master changes.
Changed url -> hostname
Mudanca Instaprint - Instagift

Tudo alterado!
TS Gateway Support (working!)

Working TS Gateway Support

It *works*, but there are still many known issues and various stability improvements to be done.

Known issues:

Sometimes using HTTP/<server> as the SPN in NTLMv2 auth breaks connectivity, yet this is what I've observed in most cases with mstsc. I have no idea how to identify the proper SPN which is not always the same, and I have a ticket open with Microsoft to investigate this. As a workaround for now, disable NTLMv2 authentication, but this seems to lead to other issues.

Certain servers will throw a RPC_S_INVALID_TAG error during the connection sequence, I still haven't figured that one out. The same servers appear to be affected by the NTLMv2 authentication issue.

There seems to be some race conditions in the code which I haven't figured out, especially in the connection sequence. When running through valgrind or through a debugger, the code is much less stable than when running without such tools. When running without any debugging, it is usable.
Fix for issue #656 - invalid free() in NTLM
Don't show style selector in layer_detail.hmtml if users is not authenticated

Don't show style selector in layer_detail.hmtml if users is not authenticated.

Might be good to _only_ show this to the layer owner?

closes #294
Upgrade to django 1.4 broke admin

See django issue:
https://code.djangoproject.com/ticket/18018

Use of the admin in 1.4 requires the messages framework.   Trying to add/delete data in the admin will generate an error without this.   django defaults to the right settings, but since GeoNode has been upgraded from old versions, the settings file did not contain the new settings.

I made this change in my clean_settings branch/pull request, but as that's still outstanding I made these changes to the current settings.py file.
Validate

Solved conflicts from previous pull request
BLD Use public git URLs for submodules

These should not require write-access
doc: Type ranges: Use minus signs, 264 -> 2^64

There appears to have been a formatting mistake with the numbers given for the ranges  of the numeric types, and no idea what the character was that was being used before for minus, but minus is now being used.
[bugfix] Fixing large matrices transpose

Large matrices (>50000 elements) transpose is still broken.
This reverts commit 6cd4d366faf6d0dc71004b6edc0a3df32cae35a9 and fixes the issue. Maybe it's not elegant, but it works. Also, I have added some tests in test/arrayops.jl.

before the fix:

```
julia> a = rand(200, 300);

julia> all(a' == permute(a, (2, 1)))
false
```

after the fix:

```
julia> all(a' == permute(a, (2, 1)))
true
```
precreating log file for foreman with correct perms

It looks like we need to create the file before we run our puppet code.
Defensively checking installed product names; system.installedProducts c...

...an return nil instead of []

@jweiss this is the bug you found yesterday
cli - fix for printer regressions

Regressions caused by modified processing of data records in Printer.
Printer now:
 - skips record attributes that are not contained in the data hash
 - prints "None" for the None values contained in the data hash
 - lets formatting functions to process also None values
Re-write sandcastle to accept phabricator reviews and only use one repository

Make different branches simply fetch into a single repository, saving lots and lots of space.
Make branches, pull requests, and phabricator reviews add diffs and changed files
Add some pretty coloring to the diffs
Make the homepage more useful, while also making it a lot slower :(

@spicyj @beneater @joelburget
Completed and corrected some translation mistakes

here you go
Translated, with the localized text!
Some designing.

Apply some designs using twitter-bootstrap.
[DWC-1174] Add reset server state

- On branch reset-vm-state
  Changes not staged for commit:
   (use "git add <file>..." to update what will be committed)
   (use "git checkout -- <file>..." to discard changes in working directory)

	- modified:   lib/fog/openstack/compute.rb
	- modified:   lib/fog/openstack/models/compute/server.rb
	- modified:   lib/fog/openstack/requests/compute/reset_server_state.rb
[openstack|compute] Added adminPass attribute in create_server
Make beforeFilters work again

Forgive me if this is a dumb pull request but this is my first real foray in to Node.js.

I noticed in the switch from Express[1] that the filter functionality seems to be broken, at least in the way it is documented[2]. Pull request basically re-implements the old functionality. As I said, I'm new to Node.js so if this is shitty code or there's a better way (see [2]) feel free to let me know, but it seems to work for the simple application I'm building.

-------------

[1] I'm curious as to the reasoning behind this move.
[2] Might be time to update the documentation, eh?
Readme file

Updated readme file
if exists vimfiler.winwidth

without this, over ssh, I get 

    E716: Key not present in Dictionary: winwidth != winwidth                                 
    E15: Invalid expression: vimfiler.winwidth != winwidth
Addresses issue #1155 for the forever transports.

While PersistentConnection.OnConnectedAsync is running we queue all writes
to the response stream to prevent clients from prematurely indicating the
connection has started.

We keep the subscriber's receive loop running to allow the subscriber to
continue processing commands and to prevent deadlocks caused by waiting on
ACKs.
Ejhernandez/do not upgrade motd 2.2

+ Include edition in MOTD and remove upgrade precise announcement

Only for 2.2 version.
de-dup the pending message; check for empty database
Improving the Recents call history rendering.
Renamed module, fixed idempotency, removed debug param.

Replaces PR #381 because it was based on 0.4 devel/ and I slopped up the rebasing. This one is neater.
switch to hashlib.md5 or md5 instead of OS md5 commands

This switches to using hashlib.md5 (>+python 2.5) or md5 (python <=2.4) instead of OS calls to md5 commands.

- Dave
Add an ssh command wrapper transport

Allowing easy access to all ssh features, including GSSAPI and ControlMaster.
Implements multiple interpreter overrides

previous pulls were tainted cause of history rewrite and weird github caching when reusing branch names
Facts

This collects various facts from the host so that it isn't necessary to
have facter or ohai installed.  It gets various platform/distribution
facts, information about the type of hardware, whether a virtual
environment and what type, assorted interface facts, and ssh host public
keys.  Most facts are flat.  The two exceptions are 'processor' and all
interface facts.  Interface facts are presented as:
    ansible_lo : {
        "macaddress": "00:00:00:00:00:00",
        "ipv4": { "address": "127.0.0.1", "netmask": "255.0.0.0" },
        "ipv6": [
                    { "address": "::1", "prefix": "128", "scope": "host" }
                ]
    }
bugfix for ssh_config patch

ssh port number was being interpreted as a string and needs to be an int
Added eval option to debug module to evaluate an expression

Using this new eval= option, users can have the debug module bail out if the evaluation fails, or explicitely continue (using fail=no). The module will return the result of the evaluation as well as the original templated string. This helps test evaluations, both showing what is evaluated as well as the result.
added a 'chdir' argument to the command module

the 'chdir' argument changes the current working directory to the
fullpath supplied as its value, before the execution of the command.
moved imports for concolve.py inside function

I noticed while working on building the documentation that the documentation build would fail with import errors due to ``convolve.py`` having a bunch of imports at the top-level that depend on the Cython files being already compiled.  This PR moves those imports inside the convolve function so that it is now possible to import convolve.py even if the C extensions aren't yet/are improperly built.

@astrofrog, given that you wrote `convolve`, is this alright with you?
Print more user-friendly exceptions for non-convertible units

At the moment, the following code:

    Unit('AA').to('h.s2')

will raise:

    UnitsException: '1.000000e-10 m' and '3.600000e+03 m2 s' are not convertible

I wonder if the values and actual units are even needed. In an ideal world, I feel like the error should look something like:

    UnitsException: length and length^2 * time are not convertible

This is more of a wish-list item, so I've marked it as low priority, but I think this would be more readable for users.
Stud based load balancer image

Replace stunnel with stud in our load balancer service. Will include the following:

* A script to generate the image with stud
* A driver for wakame to control stud
Security

* Add Basho Security Page
Windows Compatability

Added default constructor to line_segment.
Removed memory header inclusion from vector3.h.
Fixed vector3.cross to behave like the other operations and updated 3 places that relied on the old signature.
Replaced M_PI with my own definition of PI, as M_PI is unavailable on some compiler configurations and cannot easily be fixed for those configurations.
Modified the makefile to build the files in the lib directory, as they need to be rebuilt on different platforms.
Added linking flags for Windows.  I have not added any kind of environment variable checks, so at this point you have to uncomment the appropriate linking flag line depending on your platform.

Bug:
Some wheels and doors are missing or in the wrong place.  I'm not sure if this was caused by my changes, as I could not build before changing things.  It might be exclusive to Windows.
Resolves issue #49. Allows lodash to actually work in IE.

See issue #49 for more details.

NOTE:

This commit is untested in "Adobe's and Narwhal's JS Engines" but tested in Node.js and all latest browser releases plus IE8/9.
Non-GPL Icons, v2

This replaces the spinner and connection icon with freer licensed ones.

I've slightly improved on #811:

- Inactive bars in the connection icon are now visible. This better matches the current icon and prevents a nondescript "dot" in the status bar for 1 connection.

- Remove commit xanatos@de6a850c84934ae5a1aff24e213c9abe7c2b9979 which was erroneously included
Support for tags and bookmarks.

We've added support for fetching tags and bookmarks.
Bookmarks are treated as special BoxFiles an have their own BoxWebLink class (inherits from BoxFile).
25/10 20:0
Fixed bug in Router::normalize()
Fix for MACH
Prevent PTable.materialize from pulling entire contents into memory

The method `crunch.PCollection.materialize` is careful to return an `Iterable` that 1) doesn't run the hadoop job until the data is needed and 2) keeps the result data where it is (eg, in a file) until it is needed.  Unfortunately, the way `PTable.materialize` was written, a call to `materialize` would always run the job immediately and load the entire result into memory (as a `List`).  

The issue was that `map` was being called on the `Iterable` returned from `crunch.PCollection.materialize`, and `map` on an `Iterable` always iterates through immediately, applying the transformation and returning a new `Iterable`.  Thus, the original, smart, `Iterable` is lost and replaced with a simple `List`.

The solution to this problem is to use an `Iterator` since `map` in this case will be delayed until the data is accessed.  

This change gives us what we want: calling `PTable.materialize` returns an `Iterator[(K,V)]` such that the hadoop job is not run until the data is accessed, and the data isn't ever fully loaded into memory.  This `Iterable` can be accessed repeatedly and the hadoop job will not re-run: the results will simply be re-accessed from their original location.

Also, the explicit call to `iterableAsScalaIterable` is unnecessary since the conversion will be handled by the implicit in `scala.collection.JavaConversions`.
OptionParser::NeedlessArgument error with bin/lessc --include-path

I'm getting an OptionParser::NeedlessArgument exception when using --include-path with the lessc binary. I think --paths/--include-path needs a required argument.
Add optional signup

https://github.com/dosire/gitlabhq/issues/15
JBPM-3442 - MultiInstance with output

Allows to specify output collection that will be populated with variables of each activity instance executed.
Removed database.yml

I moved database.yml to database.example.yml and I added database.yml to .gitignore
Add option to specify compression type.

I struggled with how to implement this. Initially I thought just having a single compression parameter would be best. It would have 3 possible values: True - compress with default 'x' compression, False - no compression, 'yui' - compress with YUI compressor. But then I thought that might be a little confusing so I decided to go with the second parameter.
Super tiny fix on logo position; not a big deal if you're busy!
updates

Updated the phone prefixes and area codes. I am sure the structure is not right.
[S02] DB Refactoring, TurnamentBO
Upgraded to sbt-assembly 0.8.0 and added play artifact plugin for riff-raff

Added a dependency on sbt-play-artifact for riff-raff.

For neatness, upgraded version of assembly in deploy to match that in the sbt plugins (and therefore adding merge settings).

Scalariform was pulled into the riff-raff project by the plugin, so various bits of source code have been tidied.
Hey, here's a new fixer for one of the new error codes to hit pep8 1.2
migrated Resource Adapter to use HornetQLogger
Patch to Bridge Implementation

Hi Folks..

here the to solve problem writing in this post

https://community.jboss.org/thread/208113

Best
D
jenkins: run unit-tests module on PR testing

make PR testing slower 8-\
a branch just for test 

hi, this is just a branch for test, please review and merge in master
Update SymPy profile: SymPy's latex() can now print set and frozenset

I've included a version check against the latest version of SymPy that
supports it (the current development version, 0.7.1-git), so that users of old
versions of SymPy where this doesn't work will still have a good user
experience.  This is a continuation of pull request #1399.
Removed a ':' which shouldn't have been there

Just fixing a typo in the docs (notebook is awesome BTW)
Adds property overloading

Adds property overloading and makes getting and setting neo4j properties even more OOPHP.
Usage:
//getProperty
echo $nodeInstance->existingProperty;
//setProperty
$nodeInstance->newProperty = "someString";
using python2 wherever possible

Similarly to #7 I noticed while using ka-lite that there are other places which should use python2. 

With this request ka-lite should always use the correct version of the Python executable.
AS7-3417 Admin console uses fixed width
Openstack nova: Adding AdminActions, VirtualInterfaces and ServerWithSecurityGroup extensions

ServerWithSecurityGroup is referred to as the 'Create Server extension', but simply adds security groups to server details (currently only getServer() as '/detail' and '/action' seem to be broken via this extension).

Strictly speaking "Extended status" and "Extended server attributes" extensions are also included in this pull request (they simply add extra attributes to Server beans returned by the normal ServerClient).
Remove remaining jars

Keeping jars in the sources doesn't make sense.
GC bugfix

Seems that git has committed a CRLF version... Please tell me if that's something you'd rather not have, and I'll try committing again... git noob here :)
Disable spell checking in comment blocks.

Hi, this change disables spell checking in comment blocks of Mercurial commit message.
Postgres schema handling

This commit replaces the oracle-specific default-schema setting, and makes it accommodate Postgres.  It also allows sequence resetting to honor the default schema.
Deploy vp2k

some fixes to deploy the vp2k player.
Changed flavors fetching to use 'list' command instead of deprecated

'getByEntryId'
Memory improvements / new parser / benchmark.js

After considering ways to improve/performance/memory I had an itch to attempt to rewrite the parser with minimal usage of RegExp along with a few other tricks. I have fairly reliable benchmarks in place to make sure there are actual improvements. As a result I have some really promising results keep in mind the format is different (new parser uses jCal spec) and does not parse everything quite as completely as the existing parser.

```
#parse v2 x 13,447 ops/sec ±1.20% (82 runs sampled) <- (new parser)
pre1: #parse (daily recurring event) x 220 ops/sec ±6.11% (81 runs sampled) (an earlier build)
latest: #parse (daily recurring event) x 225 ops/sec ±3.88% (82 runs sampled) (latest build on master)
```

I am not sure how sane the approach is but wherever I avoid RegExp in favor of indexOf there are massive speedups, the existing parser makes heavy use of them which I think accounts for a big part of the raw parse time differences. 

TODO:

1. verify edge cases for property/param parsing
2. modify component layer (ICAL.Component) to use new format.
moose are uncountable

Added "moose" to the list of uncountable words. See discussion at http://forrst.com/posts/Testing_Plural_or_Singular-U6F
Fix a leak in iterator code

The `git_diff__from_iterators` sometimes wraps the given iterators into case insensitively sorted ones. These wrapping iterators would free the wrapped iterators.
However, the call-site, the `DIFF_FROM_ITERATORS` macro doesn't know anything about the wrapping iterators, so it can just free the ones it had setup itself.

@arrbee Maybe you could find a nicer way to do this (Like not freeing the wrappee from the wrapper, but rather do it directly in `git_diff__from_iterators`). The `git_iterator**` that this patch uses looks odd somehow.
Tests: wrap 'getenv' and friends for Win32 tests.

Fixes a build warning on msvc about `getenv` being undefined. Now using wrappers that resolve to native `getenv` and `setenv` on posix, but use native Win32 APIs on that platform.
Clone

Libgit2 and clone need each other. Let's make it happen.
Change `git_branch_delete` to take a single ref

This makes it consistent with the remaining Branch API calls. Somebody +1 this 'cause it's stalling Rugged and I want to merge asap.
Fixes for #169, solves query string problems in relative paths

The issue in #169 wasn't slash specific, but actually a problem with query strings.
reformatting the files - no code change.

I intend to edit  these files to implement  support for dynamic fields. Before I start, I have reformatted the files so that it will be easier to review any code changes.
"--nodes" option shown in help but produced and error and there was no code.

So I added in support for this.
note about Django version compatibility

Tested with 1.2 and 1.3 (working) and 1.4 (not working)
Gestor de menús Robotsimpanel y Wheelebasepanel

Clase manageWindow que gestiona las ventanas de los menus del
wheelebasepanel y del robotosimpanel. Arreglado error de duplicación de
un mismo menu y modidficada la interfaz del wheelebasepanel.
Apply ascii only option to regular expressions

One liner to close #354
Multiple fixes and improvements

Fix issue #4

Fix issue #7

Cleaned up code

Add showUsage for searchSherdogFightFinder
Import stuff

call_async for import_dataset, code coverage
Fix/raise error if no config

If you have no environnement define in your `mongoid.yml`. you get a : `undefined method `[]' for nil:NilClass`

With this commit, you can now be inform about this forgot.
Match also on class name when looking up inverse.

Hit a snag when upgrading to Mongoid 3 with an app that makes good use of polymorphic models. Here's the setup:

```ruby
class User
  has_many :notifications, as: :interest
  has_many :icons, as: :interest
end

class Notification
  belongs_to :interest, polymorphic: true
end

class Icon
  belongs_to :interest, polymorphic: true
end
```

Setting `icon.interest = user` in Mongoid 3 causes an InvalidSetPolymorphicRelation exception. Mongoid is unhappy that `User` has two polymorphic relations called 'interest` and believes the assignment is ambiguous. 

However, the situation isn't ambiguous if we look at the relation classes. Because we're assigning from the `Icon` class, we know which `interest` on `User` the assignment pertains to.

This patch adds logic to `Metadata#lookup_inverses` to only add a match when the inverse class and the potential match's class are equal.

I added a spec w/ a simliar scenario to this that fails due to the InvalidSetPolymorphicRelation exception w/ the old code and passes with the patch. I also had to update one line in the metadata spec which, though it passed before, I believe was conceptually a hair off and broke w/ the patch (as a false negative).
Added aria-live support to the javascript-driven search

When submitting the search form, it's only a visual indication that something happens with the localized download tables. This pull request informs AT what they have searched for and how many results they have in the two tables

It would probably be better to use some sort of templating system that could be translated on the server instead of concatenating the string in the js-file but I'm not sure how you guys want it. This is more of a work in progress :)

also this is the first aria-live function in the bedrock project *yay*

If you want to test it, fire up VoiceOver on OSX and try it with Chrome/Safari or use NVDA with firefox on windows.
Remove more vestiges of Sphinx

This nixes the SphinxMeta.

And with the SphinxMeta so goes crc32 and tests.

Totally cosmetic--nothing uses this code.

r?
780972 Add PERFORM instead of SELECT
(no bug) bump dates in sample data
bug 768136 - Add GC to Market

built market specific gc handler "mkt_gc"
Removed cron gc for settings_local_mkt
Argument serialization into redis

ActiveRecord, classes, modules and other parameters are serialized into custom strings such as "SIDEKIQ@User@2" and "SIDEKIQ@SomeClass" (similar to DelayedJob) in order to have minimum concern about deserialization on the worker methods (used w/ #delay)/worker classes and minimum storage (not storing full serialized AR object but only its ID).

Every class can implement serialization by an instance method `sidekiq_serialize` that returns a string prefixed with `SIDEKIQ` followed by `@` and the class name, followed by an optional `@` with arguments for the deserialization.
Deserialization is implement by by a class method `sidekiq_deserialize(string)` which gets the argument after the second @ and should return the instance.

ActiveRecord instances will serialize to `SIDEKIQ@User@2`, and when deserialized, the `User` will be extracted and constantized, then `2` will be passed to `User.sidekiq_deserialize(2)` which will return `User.where(id: 2)`
Dashboard

![Screen Shot 2012-12-11 at 9 55 14 AM](https://f.cloud.github.com/assets/744212/5955/d77adda6-43a2-11e2-9e00-cdcca43fa26c.png)


The top graph shows processed/failed in real-time through an ajax poll to stats update. The bottom graph is a historical view of the processed/failed over the selected time period. 

I tried to pick out the stats from Redis that were somewhat relevant to a developer dealing with system code. 

Would love feedback.
AMD module support for build script

Added --amd flag to build script which when enabled defines THREE as an [amdWeb module](https://github.com/umdjs/umd/blob/master/amdWeb.js) - which works with an AMD module loader and browser globals.
Merged master with latest upstream changes.

Merged master with latest upstream changes.
Don't use cmd for Git Bash link.

Fixes #71. On newer versions of Windows, point directly to sh.exe to avoid affecting other cmd window icons. Note that Windows XP and earlier are not changed, as they need to launch through cmd.exe for other reasons.
Made it possible to return all elements with RETURN *
Backwards compat config clean
Updated the parser to work with 1.9 version strings
Fixed bug that showed up when using aggregation and skip/limit
Update faces-config.NavData

ahsdsa
support for symlinks in assets

The Asset_Cssurirewriter fails if you use symlinks in your document root (which I do a lot).
But you can provide the rewrite() method a list of symlink-ed directories. So I added the neccessary stuff to be able to do that in a more pyrocms way.
Convert current Asset library to work with PHP 5.2.x (issue #1200)

Please confirm that by using a separate static function that I named "functiona" that the code still works. I don't see errors on my end currently with this modification.

thanks,
ACAD-1218 fixed escaping bug
Re-enabled scrolling

This is a basic re-enabling of the scrolling view.

* Single two_up attribute replaced with new pagination_mode attribute
* pagination_mode can have one of 3 values, single, facing, and scrolling
* Old two_up preferences are auto-migrated to appropriate pagination_mode attribute
* Scrolling view supports going to specific href fragments, theme injection, link handling, etc.

Immediate next steps would include i18n on labels, verifying this works on web-served version, and using browser capability detection to force scrolling as the only option for browsers that do not support CSS columns. I'll get to those shortly but wanted to let you have a go at this for early verification against IE 9.
Add missing GUI options

This adds some missing GUI options. Currently the "alt intro" setting for the Sky and Queen Engines, since that was the only one I could think of at the moment.

Ideally, the options should only be added to the CD versions of the games, but I don't know if we provide any mechanism for telling the CD and floppy versions apart so for now it's added unconditionally.
Nocd5 feature spike

はじめまして、nocd5と申します。

WNDCLASSEX.hIconSmも指定した方がタイトルバーやツールバーには
小さいアイコンが表示されるので良いと思い、追加してみました。
また、アイコンサイズを指定せずLoadImageすると普通サイズではなく
小さいアイコンを返すアイコンがあったため、
明示的にアイコンサイズを指定するよう修正してみました。

もしよろしければ、マージの方検討してみてください。
Removing Better-CSS-Syntax-for-Vim workaround

Since the plugin has been removed, this workaround is not necessary.
Eliminate dependencies already in Android

ANDROID-5295

Adjusts scope and exclusions so that apps using Retrofit won't get lots of duplicate class definition warnings.
temporary solution for vichUpload
buttonJustPressed should ignore key repeat. closes #3
Formatear el ticket

Mostrar el ticket en un cuadro de info,
[HttpFoundation] Fixed #5697 - Request::createFromGlobals, Request::getContentType

Changed checking CONTENT_TYPE from server to headers variable

Bug fix: yes
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: #5697
Todo: -
License of the code: MIT
Undocumented BC break - choice field type template

The upgrade notes for the choice field template are out of date. They currently state:

```
The `choices` variable now contains `ChoiceView` objects with two getters,
getValue() and getLabel(), to access the choice data.
```

However these methods do not exist. I assume this is the result of a rollback to maintain BC? 

In addition to this, the `_form_is_choice_selected` twig function has been removed and replaced with a filter called `selectedchoice`. This is an undocumented BC break. I have attached an update to the notes to reflect these changes.
[2.0][Component][DomCrawler] cs

Bug fix: no
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: [![Build Status](https://secure.travis-ci.org/gajdaw/symfony.png?branch=2_0_cs)](http://travis-ci.org/gajdaw/symfony)
Fixes the following tickets: -
Todo: -

CS & docblock fix
[Console] command's name required when added to an application


- Bug fix: no
- Feature addition: yes
- Backwards compatibility break: no
- Symfony2 tests pass: yes
- Fixes the following tickets: #3857
- Todo: -

[![Build Status](https://secure.travis-ci.org/brikou/symfony.png?branch=console_simple)](http://travis-ci.org/brikou/symfony)

---

Here is an application with a single purpose/command : listing a directory [as seen here](http://fabien.potencier.org/article/49/what-is-symfony2)

``` php
<?php
// console.php
// usage: php console.php ls <dir>

require_once __DIR__.'/../../../../../vendor/autoload.php';

use Symfony\Component\Console\Application;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;

$console = new Application();
$console
    ->register('ls')
    ->setDefinition(array(
        new InputArgument('dir', InputArgument::REQUIRED, 'Directory name'),
    ))
    ->setDescription('Displays the files in the given directory')
    ->setCode(function (InputInterface $input, OutputInterface $output) {
        $dir = $input->getArgument('dir');

        $output->writeln(sprintf('Dir listing for <info>%s</info>', $dir));
    })
;
$console->run();

```

This simple command can be refactored into this...

``` php
<?php
// ls.php
// usage: php ls.php <dir>

require_once __DIR__.'/../../../../../vendor/autoload.php';

use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\ArgvInput;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Output\ConsoleOutput;

$command = new Command("ANameAsItIsMandatory");
$command
    ->setDefinition(array(
        new InputArgument('dir', InputArgument::REQUIRED, 'Directory name'),
    ))
    ->setDescription('Displays the files in the given directory')
    ->setCode(function (InputInterface $input, OutputInterface $output) {
        $dir = $input->getArgument('dir');

        $output->writeln(sprintf('Dir listing for <info>%s</info>', $dir));
    })
;

$command->run(new ArgvInput(), new ConsoleOutput());
```

The conceptual problem is that command's name is required even if not needed/used.
This PR makes the **name required only when this command is attached to an application**.
[Console] shows correct class name InputOption in error message

Bug fix: yes
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes
License of the code: MIT
[DependencyInjection] Added missed validation for tag priorities.

Bug fix: yes
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: -
Todo: -
License of the code: MIT
Documentation PR: -
[Routing] compatibility with older PCRE (pre 8)

#6062 for master
[Regression fix] Authorization header should only be rebuild when Basic Auth scheme is used

Bug fix: yes
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: fixes regression introduced by #1813
Todo: N/A
License of the code: MIT
improve Inkscape plugin

Here are the first results of my experiments with the inkscape plugin - now about 99% of all files seem to work without any modifications in inkscape. I hope this pull request is correct, as I am still learning about the git workflow.
Pull request for vdbmanager and webquery update

Pull request for vdbmanager and webquery
Add well wishes to greeting

Merge please!
Remove mobile_user_agent_families and mobile_os_families from regexes.yaml.

Closes #135.
fix: if multiple services, no logo displays

When there are multiple services for one point, one logo is shown (first in list).

Previously, a 404 placeholder was shown.

https://github.com/unhosted/ToS-DR/issues/7
CP-3334 add license checks, but comment them out

Can pull this now, but need to uncomment the license checks before MS3.

Signed-off-by: Mike McClurg <mike.mcclurg@citrix.com>
fix a couple of FreeBSD issues

1. `config.h` defines OS_FREEBSD, not OS_FreeBSD.

2. The patch in pull request #110 broke SMP builds; this fixes that issue.
issue #18781: Implement characteristics on certain lists.
Remove callbacks on Invitation

* Write new instance methods.
* Use ActiveRecord's hash-based attributes interface when instantiating.

Also:
* Fix 'undefined method read for nil:NilClass'
Add Erlang mode signatures and reformat dispatch files using Emacs Erlang mode

This commit doesn't change any functionality, it just allows Emacs to recognize that the dispatch rules files are in fact Erlang terms and reformat the file according to the Erlang mode in Emacs.
Step 1: Update 99designs triage

This brings 99designs/triage up to date with lwc/triage, moving main dev into the 99designs org.
Consider for inclusion.

...topt(3).

When CHAR_MIN is 0 a char can not cope with the result of getopt(3).
Use an int instead.
dom 包 demo 添加
[#50] старт проекта с места клика

https://github.com/BrandyMint/Potee/issues/50
0.7.0beta

autoformatted xmls in catroid/res
updated license header
package renamed from at.tugraz.ist.catroid to org.catrobat.catroid

successful run on jenkins: http://catroidtestserver.ist.tugraz.at:8080/job/beta07test/1/
adjusting image references to appropriate madrona github url

the Google Earth Layer icon images were no longer serving correctly.
changing the href to madrona on github
ts3 update
Heroku config

Refactored installation and writing configuration files and added a heroku specific config
fixed bug killing script
tidying up bb gui and jsam
Port of DPX 10 -> 16 bits promotion fix to Cineon as mentionned in issue #154
Redirect to base_uri after login/logout

This is less performant, but fixes the annoyance when refreshing after
login.

Currently, when logging in, the first page gets sent via POST. You still see the `?login=1` in the URL. If you try to refresh, the browser warns you about "resending data". This commit fixes it.
Update fixing basecol import

Update fixing basecol import
sdl_ttf
fix object.keys

fix for IE: add "keys" metchod to Object.
Add model propel
catching an error caused by a get request for a linked movie, which is not in the DB.

linked movies may have 'referenced by' or 'featured in' list of movies,
but some may not available in DB. if that happens we simply catch the exception and ignore the linked movie.
Move to content api artefact format

The intention is for this to be Slimmer 3.0, as the changes are backwards incompatible.

For assurance purposes, all frontend apps need to move from the Panopticon API (which is read/write) to the Content API (which is read-only).

There is a related pull request in static to change the related template to be compatible with old and new slimmer (i.e. old and new artefact formats).

Please talk to me or @mnowster before merging.
Comment_cnt instead of comment_cnt
Refactoring client.request() to support acting as a proxy

- Server side cached results will fire with a mock XHR
- Minor version bump
dirs and pos oh my!
Несколько ссылок

* про шаффл в iTunes,
 * внутренности Backbone.js,
 * командную строку,
 * теорему Байеса
Солчнеой => солнечной

Опчатка см сабж
modification du background
Fix Fish

A fish surrounded on all sides by fish should not turn into air. This _might_ be better than reversing the instructions, but not sure.
fpgautils.c - set BAUD rate according to termio spec

Turns out you can set it the same as the other bits :)
API debug, API-README, Correct diff1 name

API allow full debug settings control
API-README more debug parameter information
api.c Correct diff1 field name
API-README update
Add some state changes in TaskAttemptInAppMaster to avoid InvalidStateTransitonException
Fix on the xml rendering part (remove docstring in the xml)

blog (http://denilab.blogspot.fr/2012/04/injecting-clojure-repl-into-your.html) bad, on the xml rendering part.
Improved menu and change list behaviour

* Change the title cache preload from being O(P*T) to O(P+T) in change_list and menu building
* Ensure that the admin works even if the mptt links are broken
* Use the correct site when checking for permitted languages
Fix for icon_url escape

Tests and fix for #1366
Update prueba.txt

shoys
Net::HTTP throws an error if send_image is passed an invalid transition type

Fallback to a string if passed an invalid transition type, otherwise Net::HTTP complains (roughly) "symbol has no method strip".
arguments dict keys are bytes when using WSGIApplication with Python 3

In Python 3.2 when using WSGIApplication, requests of content type "application/x-www-form-urlencoded" have their arguments dictionary end up with the keys being bytes instead of str.

These changes fix this issue for me on Python 3.2.

I haven't run the tests or tried these changes with Python 2. No time for that at the moment but I'll do that in a few weeks if this lingers.
Matias 7077

Add disabled flag and combo box to form view
Resolves #69 - in which or(where, whereOpt(None)) creates a bad query

Hello again,
It's been some time since I found #69, but since it's now Christmas :christmas_tree: I found some time and came back to this and fixed the issue. :-)

Reminding the problem again:

```
// what was the problem:
Venue.where(_.or(_.where(_.email eqs "   "), _.where(None)(_.neverMind eqs _)))

// we got:
{"$or": [{"email": "   "}, {  } ]}
                 ^ false     ^ always true => we fetch the entire collection

// what we get with this fix:
{"$or": [ {"email": "   "} ]} // as expected
```

There are tests for both cases attached (Some/None) and a fix.

I have added a method to `AndCondition`, if that's something you'd rather want to keep without methods please let me know where I should move this `isEmpty` method (or don't do it as a method?).

-- 
Thanks again for the great library,
Looking forward to the 2.0 / 2.10 releases!

Konrad
Latex style tweaks.
Fixes for ACL 9.0's alisp.

In 9.0 the stream package name has gone away in favor of excl.  I have versioned it's usage.
Added Xilinx ISE gitignore

Xilinx ISE is an IDE for programming FPGAs, in languages such as Verilog or VHDL. Some of the ignored files may be inherent to the Verilog compilation process, but I don't have the breadth of experience to pick those apart from files that the IDE generates, so I just made a Global gitignore covering all the generated crud from implementing a Verilog module in Xilinx ISE.
work on shinxext
Time format fix for table

Time format fix for table.
Adds a log file and smashes bugs.

Adds log files so we can figure out when things break and cleans up a
  few bugs in the displaying of tickets.
AS7-4728 Sessions sometimes fail to passivate with unable to acquire lock after with 0 milliseconds timeout

AS7-4753 Use Flag.FAIL_SILENTLY for eviction cache operations
More OperationDefinitions

More OperationDefinitions for ops in core model
Fixing Public Update
Maven POM Update

I updated the POM so that, during the build, it copies the etutor-app resources from src, to the system so that they are available at runtime.
Set install-data flag in python setup.py

Ran into this problem with installing Django, where the install_data would place the files in /usr/local/lib vs /usr/lib

The test I was running was:

fpm -s python -t deb -p django-lib.deb --verbose --debug django

And the output deb should be entirely locatable under /usr/lib/
Fix #295 Add multiple provides correctly

Fix #295 Add multiple provides correctly.
Fixed #8420 - Datepicker: calculateWeek doesn't take firstDay setting into account

https://github.com/ghiculescu/jquery-ui/commit/7741b03a2e191484e1c1a2a6f3a815005dd1f9f1 is the relevant commit. The others are just fiddling around (and then reverting that fiddling) with the rows to show in the date picker, for #8423.

The datepicker should show months like http://i.imgur.com/Y1xGR.png - in this case with firstDay: 0.
This addresses http://bugs.jqueryui.com/ticket/5479, among other things

Datepicker: Added support for a zIndex option. Fixed #5479, Cannot override z-index on datepicker
Datepicker: Made dialog's synthesized input's zIndex dependent on the called collection, if any. No issue registered
Datepicker: Added support for an afterShow event. No issue registered
Datepicker: Enabled calling $.fn.datepicker('dialog', ...) on empty collections. No issue registered
Datepicker: Added a convenience function: $.datepicker.dialog(), equivalent to $().datepicker('dialog', ...). No issue registered
Increased MAX_RANGE to 800 in rprmidl.h

Again, here the MAX_RANGE has been defined.  Again, not sure you're doing much with the code, but if so I figured I would track it down.  It came up in AJ's VTRST3.5...doh.
Cguardia 1050493 ux2 sticky feeds

Jim has tested this and found workig well.
Convert nrepl-interaction-mode into a major mode

One effect of this change is that Clojure buffers will now show `nREPL-Interaction` as their major mode. I'd prefer to see `Clojure-Interaction`; however renaming the mode to clojure-interaction-mode would probably necessitate a renaming of this project.

Fixes #20
make dates available on startup

in my tests, the first dozen or more requests made return an empty date header `{date, []}`. This fixes that (on my slow machine, anyway).
Edits on Contributing page, casing mostly

- GitHub is camelCase on the site, Git is capitalised, getting the docs to be consistent with casing
- Final sentence doesn't need capital letter in middle of sentence
- Subheading on "Short/Long" version needed the colons to match, figured it would read cleaner if the bolds were pushed up to subheads instead.

The newlines showing in diff don't change how it renders, since those lines weren't changed other than how the editor rendered them.
Fix allocate(), get_children() issues; zkpath mod

allocate() did not work with host strings like "localhost/"

Client.get_children() used a too naive approach to remove chroot from paths, use
basename function instead (is it really needed though?).

zkpath is a module with functions from the standard posixpath. Use it in
_prefix_path and elsewhere to normalize and join paths.
Promod 3.0

Merging so that 3.0 is on the master, going to start making branches as mirrors after finishing a version rather than just pulling into the master branch. Hopefully this will be less confusing.
Fix #93 by implementing a title algorithm, instead of relying on stdlib's lame version...

The stdlib title function provides a fundamentally correct and
completely useless version of the title function, that defines
words as things seperated by not letters. This changes the semantics to
make words things that are seperated by spaces.
[SMS] Disable Edit-Mode when no messages, Clear contact input on click

- Added icon and functionality to clear input for contact name/number when new message on click
  - Need style change to place it inside the input

- Edit mode disabled when no messages to edit (list view)
wifi settings UI update

* matching UX designs for the Wi-Fi settings
* conform to the current Wi-Fi backend (see `relSignalStrength`)
* disable auto-scanning (as requested by the UX team)
Move sample videos to device storage and break video app

This pull request moves the two big honking sample videos out of the application cache and into media-samples/video where they can optionally be installed to /sdcard.

This is necessary because we need space on the /data partition urgently.

The Video app has not yet been converted to use device storage, so landing this request will break the video app.  Please land it anyway.  I'll file a bug about the breakage and will fix it soon.
Fix mute state when pressing vol down button

Related to #5381. @alivedise can you review?
[l10n] convert a few latin1 files to utf8

We probably should run this periodically:

```
find . -name "*.properties" -exec file {} \; | grep -v ASCII | grep -v Unicode
```

No code involved in this PR.
Bug 813033 - Delete calendar accounts - cancel

Appears this just needed a preventDefault.
Feature scroll home improvements

Hi all,

I've added the following changes:

* The scroll bar on the top of icongrid is translated by means of translateX() function instead of changing left attribute
* Removed border-radius to the scroll bar reviewing UX spec
* We only change the size of the scroll bar when it's needed not always than before
* I've changed the second shortcut in the dock, currently it opens the contacts app

Thanks guys
animated changing months
Bug 797538  - Relative event positioning. Conflict/overlap display.

The size of this patch is largely due to the moving of logic from DayChild to DayBased view.
To me it made little sense to have DayChild contain all the abstract logic that all other children inherit and also have DayBased. So I simplified DayChild by removing all the common bits over.

The most important additions are the changes in how we render events.
Each event is only rendered once (busytime -> element relationship) and then goes through
two different processes. 

Detect Overlap/Conflict (see new overlap.js for details) 
Position & Length (calculated from the length of event)

---

I would ask you to try this out as well with some real data. I have my own calendar + my wife's hooked up to this with very promising results, but some things are rough.

# Known issues

- Week view "all day" events still do not float
- Gradients look a little off in week view for long events.
- MonthsDay view is too cramped. Likely needs simplifications. (list based)
window.open tests and background service fix

I should go to sleep ...
Bug 801574 - [Contacts] Apply building blocks [buttons]

This PR adds buttons.css from `shared/style`
https://bugzilla.mozilla.org/show_bug.cgi?id=801574

Please @albertopq @arcturus and @jmcanterafonseca take a look!
Bug 816927 - Remove Cost Control background service
Remote port and error check for old paramiko

Two more goodies - wasn't sure if this is something we want to apply in playbooks or not?

* remote port (default is 22) for all connections
* exception check for old paramiko
Heisann, jeg vil update main her

Detter er
Fix sqlite error with use_threads option
fix tab/whitespace mix in config files

fixes issue #393
Some features for handling binary data with Ruby-FFI

I have some features for handling binary data with Ruby-FFI.

- Structure with pragma_pack
- Without ffi_lib
- Unnamed enum
- Constant variable
- Sort by file,line
- Macro expression
- Hex-Value comment at Enum-Constant
- Option to :no_shorten_names
- Option to :enum_as_constant
Add rake to Gemfile. Update Rakefile.

Add rake to Gemfile. New version of rake should deliver second argument as array.
Follow changes on RDFa Core 1.1 W3C Recommendation 07 June 2012

RDF Core 1.1 has been published as W3C Recommendation: http://www.w3.org/TR/2012/REC-rdfa-core-20120607/
Поддержка options.dataType == 'text'
Rename DescribeCommand

Rename "desc" to "describe" as "desc" will still tricker the same
command because Symfony tries to find the best match. Fixes #20
Feature/predicate

Convert Predicate Matcher into 2 matchers as discussed. Now nor $name or $method is kept in the matcher object anymore. However I had to add $name to the matches signature. Changing everywhere it was used.
作业 v0.9

0.0
wiki-data parser fertig
WIP: Import

Refactored `Import` in a way that makes developing import converters easier (i.e. written in the Mathematica language)

Implemented `Text` and `CSV` formats.
fix for sextante/convexhull tool based on field

the tool does not work if option "Create convex hulls based on field" is used
to due of missing some methods. This patch fixes the issue.
更正文件编码为UFT-8

更正文件编码为UFT-8
Added historical html cache no requests on popState

All except initial request caches html responseText and is used from popState. "History Caching"
Only refresh the page if a script is removed

Much more efficient dynamic switching of assets. No need to refresh the
whole page if stylesheets are changed or a script is added. Only when a
script is removed.
Creatures move correctly, example creature displays that.
edited docs

edited docs
Add formatted html for Ruby2.0.0

Run below command, and adjust for Ruby2.0.0.
```GENERATE=1 bundle exec rspec spec```
Issue #41

Added Google +1 button to the episodes show view.