Skip to content

Instantly share code, notes, and snippets.

View 526avijitgupta's full-sized avatar
🏠
Working from home

Avijit Gupta 526avijitgupta

🏠
Working from home
View GitHub Profile
Object { data: "", code: 0 } wp-index.js:10861:10
Failure: output.error for: connect remote (in testRemoteXhr.testRemoteXhr) wp-index.js:25555:6
- (Actual) P1: true wp-index.js:25556:6
- (Expected) P2: false wp-index.js:25557:6
Object { data: "", code: 0 } wp-index.js:10861:10
Failure: output.error for: connect remote --method xhr (in testRemoteXhr.testRemoteXhr) wp-index.js:25555:6
- (Actual) P1: true wp-index.js:25556:6
- (Expected) P2: false wp-index.js:25557:6
Object { data: "", code: 0 } wp-index.js:10861:10
Failure: output.type for: connect remote --method xhr (in testRemoteXhr.testRemoteXhr) wp-index.js:25555:6
Found Java version 1.7.0_79
Available memory: 8192 MB
Setting jvm heap size: -Xmx512m
0 [main] INFO org.zaproxy.zap.GuiBootstrap - OWASP ZAP Dev Build started.
282 [AWT-EventQueue-0] INFO org.parosproxy.paros.network.SSLConnector - Reading supported SSL/TLS protocols...
283 [AWT-EventQueue-0] INFO org.parosproxy.paros.network.SSLConnector - Using a SSLEngine...
528 [AWT-EventQueue-0] INFO org.parosproxy.paros.network.SSLConnector - Done reading supported SSL/TLS protocols: [SSLv2Hello, SSLv3, TLSv1, TLSv1.1, TLSv1.2]
530 [AWT-EventQueue-0] INFO org.parosproxy.paros.extension.option.OptionsParamCertificate - Unsafe SSL renegotiation disabled.
913 [AWT-EventQueue-0] INFO hsqldb.db..ENGINE - open start - state not modified
1064 [AWT-EventQueue-0] INFO hsqldb.db..ENGINE - dataFileCache open start
@526avijitgupta
526avijitgupta / id_rsa.pub
Created August 19, 2016 12:43
Public Key
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCx4NhipftIa90Vqxb9eE1UvTJXLjbVrP+00xaTsi2GESz5lH+/z3fbtnrF1KLFiiLHTSNycctkQnARNMZ1op2OkhHWPMH0feGzHkYnmO83LmVfTwtFdnkV96H+jCIwcEbV9s4UFvjnV/UcN3FZk1p6bcpnCTdZXo0ySRXCtxFZ58yUEfkm+JjSqcFDP8oTnAuPi499L9ggC1/qaELW4kKTPFvbdZ0qm9H9XxAyljQFPIbFnZFEPiX3dvBBLeFuMGwibaZHYZ6p7mfoVglYsRQyAgbaZ/4DorM+XeHzWWr7WmZq2DvOOT4PBaI70y6RAjMpeIFGKjIS0N80mafk/mIS0Rd7isCGPiEQg7JX9ESZbMzyz7u1ocxd3H09qNdY2VnTQ7hoel8L9LB7BWOaBvjkqlttXq+EPG3L1ZdvYe5PtGdVM6BrAbfIrK1STzcmyaxtwyFXoSA1ISuknyiss516Z5yKjw0Uxpcna6dm1pNwdIm8WH+RopzhM1pMDWBONYB/6Lru0F1o9RMtF2iqYlV9w140KQslsdDcxc0kI5j+mjpqLlFDB6x73SzzYQb3YSuo4lGm+CaZLBFoKH15oFr4AcvA0ZkrWH2KZysgTFiZPcozGTxacKN2pdTGOGEMcIdjLztFOCS3//igjQ0XN0mb2y/ottOk3sxliXl8h5W+YQ== your_email@example.com
This file has been truncated, but you can view the full file.
Checking if node.js is installed in /Users/aviato/github/oppia/oppia_tools
Generating list of installed node modules...
Generation completed.
Checking whether Google App Engine is installed in /Users/aviato/github/oppia/oppia_tools/google_appengine_1.9.19/google_appengine
Environment setup completed.
Installing third-party JS libraries and zip files.
Checking whether gulp is installed
Checking whether through2 is installed
Checking whether yargs is installed
Checking whether gulp-concat is installed
@526avijitgupta
526avijitgupta / dashboard_test_fail.py
Created August 18, 2016 15:58
Failures in dashboard_test.py
----------------------------------------
----------------------------------------
Error 1
test_exploration_upload_button (core.controllers.dashboard_test.CreationButtonsTest) ... ok
test_new_exploration_ids (core.controllers.dashboard_test.CreationButtonsTest) ... ok
test_can_see_feedback_thread_counts (core.controllers.dashboard_test.DashboardHandlerTest) ... ERROR:root:Exception raised: 'exp_id'
ERROR
test_collaborators_can_see_explorations (core.controllers.dashboard_test.DashboardHandlerTest) ... ERROR:root:Exception raised: datetime.datetime(2016, 8, 18, 12, 29, 11, 348535) is not JSON serializable
ERROR
test_managers_can_see_explorations (core.controllers.dashboard_test.DashboardHandlerTest) ... ok
@526avijitgupta
526avijitgupta / search-results.txt
Created August 9, 2016 15:39
ng-repeats without track by
core/templates/dev/head/admin/admin.html:316: <div ng-repeat="(configPropertyId, configPropertyData) in configProperties">
core/templates/dev/head/collection_editor/editor_tab/collection_skill_list_directive.html:2: <li ng-repeat="skill in collectionSkillList.getBindableSkills()">
core/templates/dev/head/collection_player/collection_node_list_directive.html:2: <exploration-summary-tile ng-repeat="collectionNode in getCollectionNodes()"
core/templates/dev/head/components/answer_group_editor_directive.html:9: <li ng-repeat="rule in rules" ng-class="{'active': activeRuleIndex === $index}" class="oppia-rule-block oppia-sortable-rule-block protractor-test-rule-block" style="margin-top: 0;" ng-style="$last ? {'border-bottom': '1px solid #ccc'} : {}">
core/templates/dev/head/components/classifier_panel_directive.html:4: <button type="button" ng-repeat="trainingDataHtml in trainingDataHtmlList" class="btn btn-default protractor-test-retrain-answer oppia-unresolved-answer-button" ng-click="openRet
core/templates/dev/head/admin/admin.html
108: <a class="oppia-navbar-tab" ng-href="<[MISC_URL]>" tooltip="Miscellaneous" tooltip-placement="bottom" ng-click="showMiscTab()">
113: <a class="oppia-navbar-tab protractor-test-admin-config-tab" ng-href="<[CONFIG_URL]>" tooltip="Config" tooltip-placement="bottom" ng-click="showConfigTab()">
118: <a class="oppia-navbar-tab" ng-href="<[JOBS_URL]>" tooltip="Jobs" tooltip-placement="bottom" ng-click="showJobsTab()">
123: <a class="oppia-navbar-tab" ng-href="<[ACTIVITIES_URL]>" tooltip="Activities" tooltip-placement="bottom" ng-click="showActivitiesTab()">
core/templates/dev/head/base.html
137: <a class="oppia-navbar-brand-name oppia-transition-200" href="/" focus-on="<[LABEL_FOR_CLEARING_FOCUS]>">
core/templates/dev/head/collection_editor/settings_tab/collection_details_editor_directive.html
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
modified: core/storage/base_model/gae_models.py
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
@ gae_models.py:411 @ class VersionedModel(BaseModel):
@classmethod
def get_snapshots_metadata(
cls, model_instance_id, version_numbers, allow_deleted=False):
cls, model_instance_id, user_ids, version_numbers, allow_deleted=False):
"""Returns a list of dicts, each representing a model snapshot.
@526avijitgupta
526avijitgupta / .spacemacs
Created July 11, 2016 13:13
Spacemacs config file
;; -*- mode: dotspacemacs -*-
;; This file is loaded by Spacemacs at startup.
;; It must be stored in your home directory.
(defun dotspacemacs/layers ()
"Configuration Layers declaration."
(setq-default
;; List of additional paths where to look for configuration layers.
;; Paths must have a trailing slash (ie. `~/.mycontribs/')
dotspacemacs-configuration-layer-path '()
ref_list:
[GitRef(local_ref='refs/heads/creator-dashboard-frontend-view', local_sha1='f6bff836dc230faea6aec40bd5493d7b402d691b', remote_ref='refs/heads/creator-dashboard-frontend-view', remote_sha1='a5f87e526554d5b2ee17d18f4608b7f09accd635')]
Modified files in creator-dashboard-frontend-view:
[FileDiff(status='M', name='core/templates/dev/head/css/oppia.css')]
Files to lint in creator-dashboard-frontend-view:
['core/templates/dev/head/css/oppia.css']