Skip to content

Instantly share code, notes, and snippets.

index.js:82 Error: Cannot apply @injectable decorator multiple times.
at injectable.js:8
at DecorateConstructor (Reflect.js:541)
at Object.decorate (Reflect.js:130)
at _decorate (decorator_utils.js:42)
at Object.decorate (decorator_utils.js:55)
at Object.../node_modules/@theia/merge-conflicts/node_modules/@theia/core/lib/browser/widgets/widget.js (widget.ts:27)
at __webpack_require__ (bootstrap:19)
at Object.../node_modules/@theia/merge-conflicts/node_modules/@theia/core/lib/browser/widgets/index.js (index.ts:17)
at __webpack_require__ (bootstrap:19)
old = [4,4,4,3,2,1,1]
new = [4,3,2,2,1]
def count_values(tab):
counts = dict()
for v in tab:
if str(v) not in counts:
counts[str(v)] = 1
else:
@PhilippeVienne
PhilippeVienne / Output
Created October 31, 2012 22:07
Rails error 1
I18n::MissingTranslationData in Subjects#index
Showing /home/philien/AudioClassroom/app/views/subjects/index.html.haml where line #20 raised:
translation missing: en.date.formats.default
Extracted source (around line #20):
17: - @subjects.each do |subject|
18: %tr
19: %td=subject.title
@PhilippeVienne
PhilippeVienne / .gitignore
Created August 17, 2012 22:46
makefile général de gestion de javascool-5
*
!makefile