View error.sh
ERROR in [at-loader] ./yaoms/apps/nav-bar/nav-bar.component.ts:43:22
TS2686: '_' refers to a UMD global, but the current file is a module. Consider adding an import instead.
Child html-webpack-plugin for "index.html":
[0] ./~/lodash/lodash.js 540 kB {0} [built]
[] -> factory:90ms building:4052ms = 4142ms
[1] ./~/html-webpack-plugin/lib/loader.js!./yaoms/index.html 2.72 kB {0} [built]
factory:102ms building:29ms = 131ms
[2] (webpack)/buildin/global.js 509 bytes {0} [built]
[] -> factory:161ms building:1082ms = 1243ms
[3] (webpack)/buildin/module.js 517 bytes {0} [built]
View nginx.conf
#
# NGINX config for microservices
# Tested with nginx/1.10.3
#
worker_processes 5;
events {
worker_connections 4096;
}
View portal_app_changes.sh
372 21/03/17 11:35:38 clear
373 21/03/17 11:35:42 history
374 21/03/17 11:35:54 clear
375 21/03/17 11:35:59 cat /etc/rc.local
376 21/03/17 11:36:02 clear
377 21/03/17 11:36:05 vi /etc/network/interfaces
378 21/03/17 11:36:47 history |grep &&
379 21/03/17 11:36:53 history |grep "&&"
380 21/03/17 11:36:57 ip a
381 21/03/17 11:37:00 clear
View failed_tests.sh
python manage.py test
.............FF.......
======================================================================
FAIL: test_api_should_have_tire_after_service_is_added (eneos.apps.recommendations.tests.RecommendationAPITest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/buddy/eneos-pos-web/eneos/apps/recommendations/tests.py", line 32, in test_api_should_have_tire_after_service_is_added
response = self.client.get(reverse_lazy('api:recommendation-list'))
File "/usr/local/lib/python3.6/site-packages/rest_framework/test.py", line 282, in get
response = super(APIClient, self).get(path, data=data, **extra)
View min_and_max.py
>>> from django.db.models import Max, Min
>>> Store.objects.annotate(min_price=Min('books__price'), max_price=Max('books__price'))
View knapsack.java
class Untitled {
public static void main(String[] args) {
System.out.println("Hello World!");
int max_w = 10;
int n = 4;
int v[] = {10, 40, 30, 50};
int w[] = { 5, 4, 6, 3};
int max_v = 0;
View deprecations.txt
/usr/local/lib/python3.5/site-packages/multiselectfield/db/fields.py:45: RemovedInDjango110Warning: SubfieldBase has been deprecated. Use Field.from_db_value instead.
return metaclass(cls.__name__, cls.__bases__, orig_vars)
/usr/src/app/apps/commons/fields.py:5: RemovedInDjango110Warning: SubfieldBase has been deprecated. Use Field.from_db_value instead.
class LiveField(models.NullBooleanField, metaclass=models.SubfieldBase): # pylint: disable=no-member
/usr/src/app/apps/commons/fields.py:35: RemovedInDjango110Warning: SubfieldBase has been deprecated. Use Field.from_db_value instead.
class EmailListField(models.CharField, metaclass=models.SubfieldBase):
/usr/src/app/apps/setting/views.py:59: RemovedInDjango110Warning: 'get_field_by_name is an unofficial API that has been deprecated. You may be able to replace it with 'get_field()'
View fucking_dumb_test.py
def foo(x):
y = _bar(x)
z = _baz(x, y)
x.frob = bling
return x
def test_foo():
with mock.patch('path.to.foopy._bar', return_value=1) as bar, mock.patch('path.to.foopy._baz', return_value=2) as baz:
zip = foo(5)
assert bar.called_once_with(5)
View message.txt
Hi Moritz. Just a feedback that we have contacted Codeship support to see if you guys support automatic build on cross-repo pull request. But the support has been extremely slow. We would get a response every 12 hours or so. To be honest, we came to Codeship coming from TravisCI because Codeship is so big on Docker, and we want to try your Jet platform.
But we've had 1) unclear response in regards to Codeship / Jet / Docker / Heroku.
and 2/ we thought that Codeship would be able to do automatic build when we do a pull request across different repos. (Fork-Pull Request-Merge model), but to no success.
Is there anything you can help us?
View webpack.js
//
// webpack.dev.js
//
var loaders = require('./webpack.loaders');
var failPlugin = require('webpack-fail-plugin');
module.exports = {
entry: [
'./static/typescripts/index.ts',
],