Page MenuHomePhabricator
Paste Active Pastes
  • [Thu Oct 02 09:09:13 2014] [error] [client 10.2.1.63] [2014-10-02 09:09:13] ERROR 8: Undefined offset: 2096 at [/home/web/sites/phabricator/phabricator/src/applications/differential/parser/DifferentialHunkParser.php:120]
    [Thu Oct 02 09:09:13 2014] [error] [client 10.2.1.63] #0 DifferentialHunkParser::setNewLineTypeMap(array) called at [<phabricator>/src/applications/differential/parser/DifferentialChangesetParser.php:583]
    [Thu Oct 02 09:09:13 2014] [error] [client 10.2.1.63] #1 DifferentialChangesetParser::process() called at [<phabricator>/src/applications/differential/parser/DifferentialChangesetParser.php:512]
    [Thu Oct 02 09:09:13 2014] [error] [client 10.2.1.63] #2 DifferentialChangesetParser::tryCacheStuff() called at [<phabricator>/src/applications/differential/parser/DifferentialChangesetParser.php:726]
    [Thu Oct 02 09:09:13 2014] [error] [client 10.2.1.63] #3 DifferentialChangesetParser::render(NULL, NULL, array) called at [<phabricator>/src/applications/differential/controller/DifferentialChangesetViewController.php:217]
    ...
    • Oct 2 2014, 2:36 PM
    • 42 Lines
  • #!/usr/bin/env php
    <?php
    $root = dirname(dirname(__FILE__));
    require_once $root.'/scripts/__init_script__.php';
    ...
    • Oct 1 2014, 9:06 PM
    • 152 Lines
  • (defun phab-php-mode ()
    (interactive)
    (setq c-default-style "k&r"
    c-basic-offset 2)
    (c-set-offset 'arglist-intro '+)
    ...
    • Oct 1 2014, 7:20 PM
    • 10 Lines
  • "><iframe/onload=alert(2)>
    • Sep 30 2014, 8:05 AM
    • 1 Line
    • Apache Configuration
  • <?php
    final class DrydockSSHCommandInterface extends DrydockCommandInterface {
    private $passphraseSSHKey;
    ...
    • Sep 25 2014, 8:22 AM
    • 174 Lines
  • #!/bin/bash
    set -x
    set -e
    ...
    • Sep 25 2014, 2:52 AM
    • 52 Lines
  • ```
    example
    ```
    • Sep 19 2014, 12:32 PM
    • 3 Lines
  • P1260 pull.log
    $ git pull origin d3cd9115f949b9662e288821fa3e9282666e80f7
    From ssh://secure.phabricator.com/diffusion/P
    * branch d3cd9115f949b9662e288821fa3e9282666e80f7 -> FETCH_HEAD
    Already up-to-date.
    • Sep 18 2014, 1:20 AM
    • 4 Lines
  • ## Modified `git log --oneline` from feature branchon dev's system
    d7ed679 (tip of diff 34) - Use php -f instead of executing directly as the file ...
    dfd2a0d (tip of diff 27) Make a class to run fast tests on the appropriate ASP
    b8e9729 (Base) Add environment awareness to specs for CI
    ...
    • Sep 8 2014, 2:49 PM
    • 22 Lines
  • > ./bin/remove destroy '#code_maintenance'
    IMPORTANT: OBJECTS WILL BE PERMANENTLY DESTROYED!
    There is no way to undo this operation or ever retrieve this data.
    ...
    • Sep 8 2014, 1:11 PM
    • 37 Lines
  • mysql> SELECT @@sql_mode;
    +-------------------+
    | @@sql_mode |
    +-------------------+
    | STRICT_ALL_TABLES |
    ...
    • Sep 2 2014, 8:43 PM
    • 7 Lines
  • cat file | grep something
    • Aug 29 2014, 6:58 PM
    • 1 Line
  • $changes = array_filter(
    $changes,
    function ($change) use ($next_version) {
    return
    VersionToChangeMap::getVersionForChange($change) === $next_version;
    ...
    • Aug 26 2014, 11:59 PM
    • 7 Lines
  • >>> orbital ~/repos/POEMS $ arc land --conduit-uri=http://local.aphront.com:8080/
    Landing current branch 'conflict'.
    Switched to branch master. Updating branch...
    The following commit(s) will be landed:
    ...
    • Aug 26 2014, 11:01 PM
    • 58 Lines
  • {
    "hosts": {
    "http://your.install.com": {
    "user": "jenkins",
    "cert": "abcdefghijklmnop"
    ...
    • Aug 26 2014, 9:24 PM
    • 8 Lines
  • [2014-08-20 16:51:32] PHLOG: 'Unexpected output while updating repository "rACC": [2014-08-20 16:51:32] EXCEPTION: (PhutilProxyException) Error while pushing "ACC" repository to mirrors. {>} (PhutilAggregateException) Exceptions occurred while mirroring the "ACC" repository.
    - CommandException: Command failed with error #1!
    COMMAND
    git push --verbose --mirror -- 'xxxxx'
    ...
    • Aug 25 2014, 7:43 PM
    • 21 Lines
  • P1247 test.php
    <?php
    require_once 'scripts/__init_script__.php';
    var_dump(PhabricatorEnv::getEnvConfig('feed.http-hooks'));
    • Aug 25 2014, 6:04 AM
    • 5 Lines
  • >>> [2] <connect> phabricator_file
    <<< [2] <connect> 2,093 us
    >>> [3] <query> SELECT * FROM `file` WHERE id > 0 ORDER BY id ASC LIMIT 100
    <<< [3] <query> 1,483 us
    >>> [4] <query> SELECT * FROM `file` WHERE contentHash = '35c464e88ad1a3fc40938cd4c0f897d8306d6c79' AND id != 4 AND
    ...
    • Aug 22 2014, 2:28 AM
    • 20,318 Lines
  • >>> [2] <connect> phabricator_file
    <<< [2] <connect> 1,178 us
    >>> [3] <query> SELECT * FROM `file` WHERE id > 0 ORDER BY id ASC LIMIT 100
    <<< [3] <query> 238 us
    >>> [4] <query> SELECT * FROM `file` WHERE contentHash = '35c464e88ad1a3fc40938cd4c0f897d8306d6c79' AND id != 4 AND
    ...
    • Aug 22 2014, 2:06 AM
    • 11,873 Lines
  • Array
    (
    [0] => HTTPFutureCertificateResponseStatus Object
    (
    [statusCode:HTTPFutureResponseStatus:private] => 1
    ...
    • Aug 21 2014, 12:24 AM
    • 54 Lines
  • user created this repository.
    user activated this repository.
    user set the remote URI for this repository to "http://root/Toledo".
    user edited this Repository.
    user deactivated this repository.
    ...
    • Aug 20 2014, 1:53 PM
    • 20 Lines
    • Plain Text
  • [2014-08-20 09:12:06] EXCEPTION: (PhutilProxyException) Error while executing task ID 297961 from queue. {>} (AphrontQueryCharacterSetException) Attempting to construct a query containing characters outside of the Unicode Basic Multilingual Plane. MySQL will silently truncate this data if it is inserted into a `utf8` column. Use the `%B` conversion to escape binary strings data. at [<phutil>/src/aphront/storage/connection/mysql/AphrontMySQLDatabaseConnectionBase.php:331]
    #0 AphrontMySQLDatabaseConnectionBase::validateUTF8String(string) called at [<phutil>/src/aphront/storage/connection/mysql/AphrontMySQLiDatabaseConnection.php:10]
    #1 AphrontMySQLiDatabaseConnection::escapeUTF8String(string) called at [<phutil>/src/xsprintf/qsprintf.php:170]
    #2 xsprintf_query(AphrontMySQLiDatabaseConnection, string, integer, string, integer) called at [<phutil>/src/xsprintf/xsprintf.php:63]
    #3 xsprintf(string, AphrontMySQLiDatabaseConnection, array) called at [<phutil>/src/xsprintf/qsprintf.php:64]
    ...
    • Aug 20 2014, 1:19 PM
    • 15 Lines
    • Plain Text
  • <?php
    class SecurityPolicyEnforcerAction extends HeraldCustomAction {
    public function appliesToAdapter(HeraldAdapter $adapter) {
    ...
    • Aug 14 2014, 9:28 PM
    • 74 Lines
  • P1235 snippet
    $field_list = PhabricatorCustomField::getObjectFields(
    $task,
    PhabricatorCustomField::ROLE_EDIT);
    $field_list
    ->setViewer($user)
    ...
    • Aug 14 2014, 9:05 PM
    • 15 Lines
  • <?php
    class SecurityPolicyEnforcerAction extends HeraldCustomAction {
    public function appliesToAdapter(HeraldAdapter $adapter) {
    ...
    • Aug 14 2014, 8:48 PM
    • 208 Lines
  • <<< UNCAUGHT EXCEPTION! >>>
    TypeError: Object function Buffer(subject, encoding, offset) {
    if (!(this instanceof Buffer)) {
    return new Buffer(subject, encoding, offset);
    }
    ...
    • Aug 14 2014, 12:52 PM
    • 63 Lines
    • PHP
  • $ cat test.php
    <?php
    class C {
    ...
    • Aug 13 2014, 2:17 AM
    • 16 Lines
  • $ cat test.php
    <?php
    $a = 'feet';
    echo <<<DOC
    ...
    • Aug 13 2014, 1:00 AM
    • 11 Lines
  • >>> orbital ~/devtools/phabricator $ arc diff
    You have not specified any reviewers. Continue anyway? [y/N] y
    ...
    • Aug 12 2014, 7:13 PM
    • 27 Lines
  • $ ./bin/mail show-outbound --id 22653
    PROPERTIES
    ID: 22653
    Status: queued
    Related PHID: PHID-TASK-gdxfct3qqboudbmfye3h
    ...
    • Aug 12 2014, 3:32 PM
    • 45 Lines
  • <?php
    final class NotifyBuildSystemCustomAction extends HeraldCustomAction {
    public function appliesToAdapter(HeraldAdapter $adapter) {
    ...
    • Aug 11 2014, 9:24 PM
    • 47 Lines
  • <?php
    final class WindowsZeroConf extends Phobject {
    public function getEncodedUserData(PassphraseCredential $credential) {
    ...
    • Aug 11 2014, 1:09 PM
    • 89 Lines
  • $ arc unit --everything
    PASS 16ms★ DifferentialDiffTestCase::testDetectCopiedCode
    PASS 74ms DifferentialDiffTestCase::testDetectSlowCopiedCode
    PASS <1ms★ DifferentialHunkTestCase::testMakeChanges
    PASS 2ms★ DiffusionURITestCase::testURIGeneration
    ...
    • Aug 6 2014, 10:20 PM
    • 207 Lines
  • # ./phabricator/bin/storage upgrade --force --trace --user root --password password
    >>> [1] <connect>
    <<< [1] <connect> 843 us
    >>> [2] <query> SELECT 1
    ...
    • Aug 3 2014, 7:21 AM
    • 64 Lines
  • #!/bin/sh
    ### BEGIN INIT INFO
    # Provides: phd
    # Required-Start: $network
    ...
    • Aug 3 2014, 7:11 AM
    • 71 Lines
    • Bash Scripting
  • P1221 rough
    foreach (find all if nodes) {
    if (first child is just a function/class exists call) {
    $whitelist[$type][$name][] = array(first node id, last node id);
    }
    }
    ...
    • Aug 2 2014, 8:11 AM
    • 15 Lines
  • # ./phabricator/bin/storage upgrade --force --user root --password password
    Applying patch 'phabricator:20140722.appname.php'...
    Migrating user preferences...
    Migrating dashboard installs...
    ...
    • Aug 1 2014, 10:07 PM
    • 32 Lines
    • Plain Text
  • Aphlict) [log] "Attempting to become the master..." core.pkg.js:301
    (Aphlict) [log] "Cannot become the master... probably one already exists" core.pkg.js:301
    (Aphlict) [log] "Registered client aphlict_client_20590" core.pkg.js:301
    (Aphlict) [log] "Sending subscriptions to master." core.pkg.js:301
    (Aphlict) [status] {"code":null,"type":"ready"} core.pkg.js:301
    ...
    • Aug 1 2014, 1:28 AM
    • 14 Lines
  • [2014-08-01 08:48:55] EXCEPTION: (HTTPFutureCURLesponseStatus) [cURL/7] (http://localhost:22281/) <CURLE_COULDNT_CONNECT> The cURL library raised an error while making a request. You may be able to find more information about this error (error code: 7) on the cURL site: http://curl.haxx.se/libcurl/c/libcurl-errors.html#CURLECOULDNTCONNECT at [<phutil>/src/future/http/HTTPSFuture.php:363]
    #0 phlog(HTTPFutureCURLesponseStatus) called at [<phabricator>/src/applications/notification/client/PhabricatorNotificationClient.php:37]
    #1 PhabricatorNotificationClient::tryToPostMessage(array) called at [<phabricator>/src/applications/feed/PhabricatorFeedStoryPublisher.php:182]
    #2 PhabricatorFeedStoryPublisher::sendNotification(integer) called at [<phabricator>/src/applications/feed/PhabricatorFeedStoryPublisher.php:115]
    #3 PhabricatorFeedStoryPublisher::publish() called at [<phabricator>/src/applications/repository/worker/PhabricatorRepositoryCommitHeraldWorker.php:383]
    ...
    • Jul 31 2014, 10:57 PM
    • 13 Lines
  • mpeters@DEV-MPETERS /f/bin/libphutil (master)
    $ arc help --trace
    libphutil loaded from 'F:\bin\libphutil\src'.
    arcanist loaded from 'F:\bin\arcanist\src'.
    Config: Reading user configuration file "F:\Users\mpeters\AppData\Roaming/.arcrc"...
    ...
    • Jul 28 2014, 11:19 PM
    • 14 Lines
  • Error (PHL1) Unknown Symbol
    Use of unknown function 'xhpast_parser_token_constants'. Common causes
    are:
    - Your libphutil/ is out of date.
    ...
    • Jul 28 2014, 10:08 PM
    • 31 Lines
  • [2014-07-26 00:53:50] EXCEPTION: (PhutilBootloaderException) Include of '/Users/jess/Development/phabricator/libphutil/src/future/http/status/HTTPFutureCURLResponseStatus.php' failed! at [<phutil>/src/moduleutils/PhutilBootloader.php:194]
    #0 PhutilBootloader::loadLibrarySource(string, string) called at [<phutil>/src/symbols/PhutilSymbolLoader.php:366]
    #1 PhutilSymbolLoader::loadSymbol(array) called at [<phutil>/src/symbols/PhutilSymbolLoader.php:242]
    #2 PhutilSymbolLoader::selectAndLoadSymbols() called at [<phutil>/src/__phutil_library_init__.php:22]
    #3 __phutil_autoload(string)
    ...
    • Jul 28 2014, 5:12 PM
    • 12 Lines
  • <?php
    final class ForceLDAPUsernameListener
    extends PhabricatorAutoEventListener {
    ...
    • Jul 25 2014, 11:18 PM
    • 15 Lines
  • <div dir="ltr" style="text-align<a href="http://"></code><svg/onload=prompt(1)>"><blockquote></blockquote></a>: left;" trbidi="on">
    <html>
    <script>alert(1)</script>
    </html></div>
    • Jul 25 2014, 4:29 PM
    • 4 Lines
  • <?php
    require_once 'scripts/__init_script__.php';
    $callsign = $argv[1];
    ...
    • Jul 23 2014, 9:47 PM
    • 33 Lines
  • >>> orbital ~ $ sudo /Users/epriestley/bin/sshd-phabricator -f /INSECURE/ssshd_config -d -d -d
    debug2: load_server_config: filename /INSECURE/ssshd_config
    debug2: load_server_config: done config len = 317
    debug2: parse_server_config: config /INSECURE/ssshd_config len 317
    debug3: /INSECURE/ssshd_config:4 setting Port 22
    ...
    • Jul 23 2014, 9:02 PM
    • 300 Lines
  • here is the commit for the diff which was not autoclosed:
    nharkins@code01:/var/phabricator/repos/api$ git show 4cecdf18c24306489268ed0267c19c71ee1cece0 | head -20
    commit 4cecdf18c24306489268ed0267c19c71ee1cece0
    ...
    ...
    • Jul 23 2014, 8:57 PM
    • 21 Lines
  • <?php
    /**
    * Looks for references to GHC Trac issues and links to them as a Remarkup rule.
    */
    ...
    • Jul 22 2014, 4:25 PM
    • 44 Lines
  • 2014/07/22 14:10:22 [error] 13062#0: *8147 FastCGI sent in stderr: "PHP message: [2014-07-22 09:10:22] EXCEPTION: (Exception) You must setActor()! at [<phabricator>/src/infrastructure/PhabricatorEditor.php:20]
    PHP message: #0 PhabricatorEditor::requireActor() called at [<phabricator>/src/applications/subscriptions/editor/PhabricatorSubscriptionsEditor.php:61]
    PHP message: #1 PhabricatorSubscriptionsEditor::save() called at [<phabricator>/src/applications/differential/mail/DifferentialReplyHandler.php:125]
    PHP message: #2 DifferentialReplyHandler::handleAction(string, array) called at [<phabricator>/src/applications/differential/mail/DifferentialReplyHandler.php:99]
    PHP message: #3 DifferentialReplyHandler::receiveEmail(PhabricatorMetaMTAReceivedMail) called at [<phabricator>/src/applications/metamta/replyhandler/PhabricatorMailReplyHandler.php:51]
    ...
    • Jul 22 2014, 2:18 PM
    • 11 Lines
  • [2014-07-18 11:39:06] PHLOG: Unable to index document PHID-TASK-tethsf3ggl7b527jd2uu with engine PhabricatorSearchEngineMySQL. at [/var/lib/phabricator/phabricator/src/applications/search/index/PhabricatorSearchDocumentIndexer.php:60]
    #0 phlog(Unable to index document PHID-TASK-tethsf3ggl7b527jd2uu with engine PhabricatorSearchEngineMySQL.) called at [/var/lib/phabricator/phabricator/src/applications/search/index/PhabricatorSearchDocumentIndexer.php:60]
    #1 PhabricatorSearchDocumentIndexer::indexDocumentByPHID(PHID-TASK-tethsf3ggl7b527jd2uu) called at [/var/lib/phabricator/phabricator/src/applications/search/index/PhabricatorSearchIndexer.php:20]
    #2 PhabricatorSearchIndexer::indexDocumentByPHID(PHID-TASK-tethsf3ggl7b527jd2uu) called at [/var/lib/phabricator/phabricator/src/applications/search/worker/PhabricatorSearchWorker.php:10]
    #3 PhabricatorSearchWorker::doWork() called at [/var/lib/phabricator/phabricator/src/infrastructure/daemon/workers/PhabricatorWorker.php:85]
    ...
    • Jul 22 2014, 12:46 PM
    • 18 Lines
  • #!/usr/bin/env php
    <?php
    /**
    * Examines commits which //appear// to reference a task but for which no edge
    ...
    • Jul 18 2014, 11:35 AM
    • 105 Lines
  • <?php
    final class ForceUsernameSuffixListener
    extends PhabricatorAutoEventListener {
    ...
    • Jul 15 2014, 10:00 PM
    • 31 Lines
  • [2014-07-14 02:21:03] PHLOG: 'Unable to index document PHID-TASK-kdv6zq6hqzmn2snglv6j with engine PhabricatorSearchEngineMySQL.' at [/home/phabricator/deploy/phabricator/src/applications/search/index/PhabricatorSearchDocumentIndexer.php:60]
    #0 phlog(string) called at [<phabricator>/src/applications/search/index/PhabricatorSearchDocumentIndexer.php:60]
    #1 PhabricatorSearchDocumentIndexer::indexDocumentByPHID(string) called at [<phabricator>/src/applications/search/index/PhabricatorSearchIndexer.php:20]
    #2 PhabricatorSearchIndexer::indexDocumentByPHID(string) called at [<phabricator>/src/applications/search/worker/PhabricatorSearchWorker.php:10]
    #3 PhabricatorSearchWorker::doWork() called at [<phabricator>/src/infrastructure/daemon/workers/PhabricatorWorker.php:85]
    ...
    • Jul 14 2014, 3:17 AM
    • 18 Lines
    • Plain Text
  • P1202 c++ main
    #include <stdio.h>
    int main() {
    return 0;
    }
    • Jul 13 2014, 1:19 PM
    • 5 Lines
    • C++
  • <?php
    final class ProjectCustomField extends PhabricatorProjectCustomField
    implements PhabricatorStandardCustomFieldInterface {
    ...
    • Jul 12 2014, 2:57 AM
    • 50 Lines
  • P1200 test
    test
    • Jul 12 2014, 1:48 AM
    • 1 Line
  • <?php
    // use: arc import-github-repo --callsign <newcallsign> --name <human-redable-name> <git repo uri>
    class importGithubRepo extends ArcanistBaseWorkflow {
    public function getWorkflowName() {
    ...
    • Jul 11 2014, 12:33 AM
    • 86 Lines
  • P1198 log.txt
    [09-Jul-2014 23:46:51 UTC] [2014-07-10 09:46:51] ERROR 8: Undefined offset: 1344 at [/srv/phabricator/phabricator/src/applications/differential/parser/DifferentialHunkParser.php:99]
    [09-Jul-2014 23:46:51 UTC] #0 DifferentialHunkParser::setOldLineTypeMap(array) called at [<phabricator>/src/applications/differential/parser/DifferentialChangesetParser.php:582]
    [09-Jul-2014 23:46:51 UTC] #1 DifferentialChangesetParser::process() called at [<phabricator>/src/applications/differential/parser/DifferentialChangesetParser.php:512]
    [09-Jul-2014 23:46:51 UTC] #2 DifferentialChangesetParser::tryCacheStuff() called at [<phabricator>/src/applications/differential/parser/DifferentialChangesetParser.php:742]
    [09-Jul-2014 23:46:51 UTC] #3 DifferentialChangesetParser::render(NULL, NULL, array) called at [<phabricator>/src/applications/differential/controller/DifferentialChangesetViewController.php:217]
    ...
    • Jul 9 2014, 11:51 PM
    • 6 Lines
  • diff --git a/src/repository/api/ArcanistGitAPI.php b/src/repository/api/ArcanistGitAPI.php
    index d637fce..2cd73fb 100644
    --- a/src/repository/api/ArcanistGitAPI.php
    +++ b/src/repository/api/ArcanistGitAPI.php
    @@ -1167,8 +1167,11 @@ final class ArcanistGitAPI extends ArcanistRepositoryAPI {
    ...
    • Jul 9 2014, 9:19 PM
    • 28 Lines
  • $ git checkout -b upstreamtest --track
    Branch upstreamtest set up to track local branch master.
    Switched to a new branch 'upstreamtest'
    $ echo a >> README ; git commit -am dummy
    ...
    • Jul 9 2014, 8:55 PM
    • 48 Lines
  • P1194 Opps
    [Mon Jul 07 18:10:56 2014] [error] [client 216.251.112.134] [2014-07-07 18:10:56] ERROR 8: Undefined offset: 34 at [/home/phabricator/phabricator/src/applications/differential/parser/DifferentialHunkParser.php:99]
    [Mon Jul 07 18:10:56 2014] [error] [client 216.251.112.134] #0 DifferentialHunkParser::setOldLineTypeMap(array) called at [<phabricator>/src/applications/differential/parser/DifferentialChangesetParser.php:582]
    [Mon Jul 07 18:10:56 2014] [error] [client 216.251.112.134] #1 DifferentialChangesetParser::process() called at [<phabricator>/src/applications/differential/parser/DifferentialChangesetParser.php:512]
    [Mon Jul 07 18:10:56 2014] [error] [client 216.251.112.134] #2 DifferentialChangesetParser::tryCacheStuff() called at [<phabricator>/src/applications/differential/parser/DifferentialChangesetParser.php:742]
    [Mon Jul 07 18:10:56 2014] [error] [client 216.251.112.134] #3 DifferentialChangesetParser::render(NULL, NULL, array) called at [<phabricator>/src/applications/differential/controller/DifferentialChangesetViewController.php:217]
    ...
    • Jul 7 2014, 7:14 PM
    • 12 Lines
    • Plain Text
  • <?php
    abstract class PhabricatorProjectCustomField
    extends PhabricatorCustomField {
    ...
    • Jul 3 2014, 10:34 PM
    • 18 Lines
  • <?php
    $actor_phid = some user who is going to author these comments;
    $table = new PhabricatorRepositoryCommit();
    ...
    • Jul 3 2014, 8:29 PM
    • 19 Lines
  • [Unit]
    Description=The Phabricator daemon
    After=syslog.target network.target remote-fs.target nss-lookup.target
    [Service]
    ...
    • Jul 2 2014, 4:54 AM
    • 15 Lines
  • $field_list = PhabricatorCustomField::getObjectFields(
    $task,
    PhabricatorCustomField::ROLE_DEFAULT);
    $field_list->setViewer($user);
    $field_list->readFieldsFromStorage($task);
    ...
    • Jun 30 2014, 8:19 PM
    • 13 Lines
  • P1188 sort.diff
    diff --git a/src/applications/xhprof/view/PhabricatorXHProfProfileTopLevelView.php b/src/applications/xhprof/view/PhabricatorXHProfProfileTopLevelView.php
    index 12326bb..742443b 100644
    --- a/src/applications/xhprof/view/PhabricatorXHProfProfileTopLevelView.php
    +++ b/src/applications/xhprof/view/PhabricatorXHProfProfileTopLevelView.php
    @@ -49,7 +49,7 @@ final class PhabricatorXHProfProfileTopLevelView
    ...
    • Jun 27 2014, 6:28 PM
    • 13 Lines
  • <?php
    final class RequireProjectListener
    extends PhabricatorAutoEventListener {
    ...
    • Jun 26 2014, 10:52 PM
    • 50 Lines
  • private function buildWhereClause(AphrontDatabaseConnection $conn_r) {
    $where = array();
    $where[] = $this->buildPagingClause($conn_r);
    ...
    • Jun 25 2014, 6:43 AM
    • 42 Lines
  • date Complete Account page shown Verify Account page shown
    5/23/14 228 826 27.60%
    5/24/14 637 1414 45.05%
    5/25/14 563 1163 48.41%
    5/26/14 380 691 54.99%
    ...
    • Jun 23 2014, 10:35 PM
    • 33 Lines
    • Plain Text
  • %3cscript%3ealert%22xss%22%3b%3c/script%3e/
    • Jun 19 2014, 6:42 PM
    • 1 Line
  • P1182 blah.php
    /**
    * Creates a new release and release states from a release system.
    */
    public static function initializeFrom(
    ...
    • Jun 18 2014, 12:38 AM
    • 94 Lines
  • FAIL ArcanistRepositoryAPIStateTestCase::testGitStateParsing
    Assertion failed, expected values to be equal (at ArcanistRepositoryAPIStateTestCase.php:91).
    Expected vs Actual Output Diff
    --- Old Value
    +++ New Value
    ...
    • Jun 17 2014, 11:54 PM
    • 15 Lines
  • phd@vagrant-ubuntu-trusty-64:/opt/code/phabricator$ bin/phd stop
    [2014-06-17 00:00:40] EXCEPTION: (InvalidArgumentException) Argument 1 passed to PhabricatorDaemonReference::newFromDictionary() must be of the type array, string given, called in /opt/code/phabricator/src/applications/daemon/management/PhabricatorDaemonManagementWorkflow.php on line 50 and defined at [<phutil>/src/error/PhutilErrorHandler.php:201]
    #0 PhutilErrorHandler::handleError(integer, string, string, integer, array) called at [<phabricator>/src/infrastructure/daemon/control/PhabricatorDaemonReference.php:26]
    #1 PhabricatorDaemonReference::newFromDictionary(string) called at [<phabricator>/src/applications/daemon/management/PhabricatorDaemonManagementWorkflow.php:50]
    #2 PhabricatorDaemonManagementWorkflow::loadRunningDaemons() called at [<phabricator>/src/applications/daemon/management/PhabricatorDaemonManagementWorkflow.php:282]
    ...
    • Jun 17 2014, 12:02 AM
    • 9 Lines
  • From 56a419e75e0cc8f3160d43b9ea6c3cf3f16d3571 Mon Sep 17 00:00:00 2001
    From: Evan Priestley <git@epriestley.com>
    Date: Mon, 16 Jun 2014 13:23:00 -0700
    Subject: [PATCH] wip
    ...
    • Jun 16 2014, 8:25 PM
    • 14,742 Lines
  • P1178 mnknj
    <script>
    </script>
    • Jun 14 2014, 5:15 PM
    • 2 Lines
  • [master] james@linux-80ot:~/Projects/Phabricator/phabricator> sudo npm install jshint
    root's password:
    npm http GET https://registry.npmjs.org/jshint
    npm http 304 https://registry.npmjs.org/jshint
    npm http GET https://registry.npmjs.org/shelljs
    ...
    • Jun 13 2014, 4:29 PM
    • 69 Lines
  • [m]root@server>echo '{"title":"foo3", "auxiliary":{"ext_id":"456"}}' | /srv/phab/arcanist/bin/arc call-conduit maniphest.createtask --trace
    libphutil loaded from '/srv/phab/libphutil/src'.
    arcanist loaded from '/srv/phab/arcanist/src'.
    Config: Reading user configuration file "/home/rush/.arcrc"...
    Config: Reading system configuration file "/etc/arcconfig"...
    ...
    • Jun 11 2014, 6:51 PM
    • 19 Lines
  • <script language='PHP'>
    var_dump('foo');
    ?>
    bar
    <?php
    ...
    • Jun 11 2014, 6:49 PM
    • 8 Lines
    • PHP
  • 11-Jun-2014 09:16:24 FAIL DifferentialHunkParserTestCase::testMissingContext
    11-Jun-2014 09:16:24 EXCEPTION (Exception): Diff Parse Exception: Found the wrong number of hunk lines.
    11-Jun-2014 09:16:24
    11-Jun-2014 09:16:24 6 date
    11-Jun-2014 09:16:24 7 elderberry
    ...
    • Jun 10 2014, 11:21 PM
    • 20 Lines
  • #!/usr/bin/python2
    def commonInLists(listOfLists):
    # Input: List of lists
    ...
    • Jun 5 2014, 12:00 AM
    • 29 Lines
    • Python
  • P1170 trace
    [2014-06-04 21:22:36] EXCEPTION: (RuntimeException) Undefined variable: changesets at [/opt/phabricator/libphutil/src/error/PhutilErrorHandler.php:211]
    #0 PhutilErrorHandler::handleError(8, Undefined variable: changesets, /opt/phabricator/phabricator/src/applications/differential/editor/DifferentialTransactionEditor.php, 1298, Array of size 7 starting with: { object => Object DifferentialRevision }) called at [/opt/phabricator/phabricator/src/applications/differential/editor/DifferentialTransactionEditor.php:1298]
    #1 DifferentialTransactionEditor::renderInlineCommentsForMail(Object DifferentialRevision, Array { 0 => Object DifferentialTransaction }) called at [/opt/phabricator/phabricator/src/applications/differential/editor/DifferentialTransactionEditor.php:1137]
    #2 DifferentialTransactionEditor::buildMailBody(Object DifferentialRevision, Array { 0 => Object DifferentialTransaction }) called at [/opt/phabricator/phabricator/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php:1793]
    #3 PhabricatorApplicationTransactionEditor::sendMail(Object DifferentialRevision, Array { 0 => Object DifferentialTransaction }) called at [/opt/phabricator/phabricator/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php:734]
    ...
    • Jun 4 2014, 7:41 PM
    • 7 Lines
  • {
    "linters": {
    "chmod": {
    "type": "chmod"
    },
    ...
    • Jun 4 2014, 5:59 PM
    • 52 Lines
    • JSON
  • 29-May-2014 17:44:53 Assertion failed, expected values to be equal (at ArcanistRepositoryAPIStateTestCase.php:91).
    29-May-2014 17:44:53 Expected vs Actual Output Diff
    29-May-2014 17:44:53 --- Old Value
    29-May-2014 17:44:53 +++ New Value
    29-May-2014 17:44:53 @@ -1,7 +1,9 @@
    ...
    • Jun 4 2014, 1:31 AM
    • 15 Lines
  • <IMG SRC=`javascript:alert("RSnake says, 'XSS'")`>
    ""><SCRIPT>alert("XSS")</SCRIPT>">
    • May 31 2014, 10:23 AM
    • 3 Lines
    • HTML
  • <?php
    // Put this in `phabricator/` and run it as `php -f emailprefs.php`.
    require_once 'scripts/__init_script__.php';
    ...
    • May 29 2014, 6:17 PM
    • 30 Lines
  • [2014-05-24 13:09:22] EXCEPTION: (PhutilProxyException) Error while executing task ID 133976 from queue. {>} (AphrontQueryCharacterSetException) Attempting to construct a query containing characters outside of the Unicode Basic Multilingual Plane. MySQL will silently truncate this data if it is inserted into a `utf8` column. Use the `%B` conversion to escape binary strings data. at [/var/lib/phabricator/libphutil/src/aphront/storage/connection/mysql/AphrontMySQLDatabaseConnectionBase.php:334]
    #0 AphrontMySQLDatabaseConnectionBase::validateUTF8String( # -*- encoding:utf-8 -*-
    from __future__ import unicode_literals
    ... bunch of source code ...
    ...
    • May 24 2014, 12:17 PM
    • 22 Lines
  • <?php
    /**
    * Very basic 'rspec' unit test engine wrapper.
    *
    ...
    • May 23 2014, 8:55 PM
    • 21 Lines
  • #!/usr/bin/env php
    <?php
    $root = dirname(dirname(dirname(__FILE__)));
    require_once $root.'/scripts/__init_script__.php';
    ...
    • May 23 2014, 8:15 PM
    • 20 Lines
  • #!/usr/bin/env php
    <?php
    $root = dirname(dirname(dirname(__FILE__)));
    require_once $root.'/scripts/__init_script__.php';
    ...
    • May 23 2014, 8:15 PM
    • 22 Lines
  • [Unit]
    Description=The Phabricator daemon
    After=syslog.target network.target remote-fs.target nss-lookup.target
    [Service]
    ...
    • May 23 2014, 3:18 PM
    • 15 Lines
  • <?php
    final class CustomInlineImageRule extends PhabricatorRemarkupCustomInlineRule {
    public function getPriority() {
    ...
    • May 22 2014, 3:36 PM
    • 30 Lines
  • <?php
    final class CustomInlineJIRA5Rule extends PhabricatorRemarkupCustomInlineRule {
    public function apply($text) {
    ...
    • May 22 2014, 2:45 PM
    • 29 Lines
  • P1154 pulls
    <VERB> PhabricatorRepositoryPullLocalDaemon Repository "rXYZZ" is already queued.
    <VERB> PhabricatorRepositoryPullLocalDaemon Repository "rARCLINT" is already queued.
    <VERB> PhabricatorRepositoryPullLocalDaemon Repository "rINIHG" is already queued.
    <VERB> PhabricatorRepositoryPullLocalDaemon Repository "rP" is currently updating.
    <VERB> PhabricatorRepositoryPullLocalDaemon Repository "rARC" is currently updating.
    ...
    • May 21 2014, 7:01 PM
    • 10 Lines
  • <?php
    # magic
    class B {
    ...
    • May 18 2014, 2:39 AM
    • 43 Lines
  • P1146 t.php
    <?php
    # magic
    class B {
    ...
    • May 18 2014, 2:32 AM
    • 14 Lines
  • $user = id(new PhabricatorUser())->loadOneWhere(
    'username = %s',
    $username);
    if (!$user) {
    throw new ConduitException('ERR-INVALID-USER');
    ...
    • May 16 2014, 8:58 PM
    • 6 Lines
  • >>> orbital ~/devtools/phabricator $ arc get-config load
    project: ["src/"]
    • May 16 2014, 8:15 PM
    • 2 Lines
  • Command failed with error #128!
    COMMAND git cat-file blob 'ccf26f45112e4dc2f59fc485cbcdfbae996357e7':'XXX/XXX/Readme.md'
    STDOUT
    (empty) STDERR
    fatal: Not a valid object name ccf26f45112e4dc2f59fc485cbcdfbae996357e7:XXX/XXX/Readme.md
    • May 16 2014, 2:41 PM
    • 5 Lines
  • Array 1:
    array (
    0 => 'foo',
    )
    Array 2:
    ...
    • May 15 2014, 7:55 PM
    • 296 Lines
    • PHP
  • P1141 out.txt
    >>> orbital ~/devtools/libphutil $ php -f hfuture.php
    sleep 5
    sleep 5
    sleep 5
    sleep 5
    ...
    • May 14 2014, 10:50 PM
    • 28 Lines