Skip to content

Instantly share code, notes, and snippets.

View frcake's full-sized avatar

mpdev frcake

  • Athens, Greece
View GitHub Profile
import Ember from 'ember';
import layout from '../templates/components/print-this';
export default Ember.Component.extend({
layout,
printService: Ember.inject.service(''),
defaultPrintClass: 'content__printThis',
classNameBindings: ['defaultPrintClass'],
printSelector: null,
autoPrint: false,
FragmentTransaction fragmentTransaction = getSupportFragmentManager().beginTransaction();
if (getIntent().getExtras().getBoolean("SHOW_LOGIN")) {
fragmentTransaction.replace(R.id.main_fragment_container, new LoginFragment());
fragmentTransaction.commit();
}else{
fragmentTransaction.replace(R.id.main_fragment_container, new TourPackageFragment());
fragmentTransaction.commit();
}
import Controller from '@ember/controller';
export default Controller.extend({
selectedCountries:null,
actions:{
updateUser(selectedParentRegion,user){
user.get('authorizedRegions').pushObject(this.store.createRecord('authorized-region',{
userId:user.id,
regionId:selectedParentRegion.id,
authorizedCountries:this.get('selectedCountries')
[2018-09-25 14:46:33,212] ERROR Error when sending message to topic cdrs-kafka with key: null, value: 1127 bytes with error: (org.apache.kafka.clients.producer.internals.ErrorLoggingCallback)
org.apache.kafka.common.errors.TimeoutException: Expiring 14 record(s) for cdrs-kafka-0: 6687 ms has passed since last append
[2018-09-25 14:46:33,212] ERROR Error when sending message to topic cdrs-kafka with key: null, value: 1099 bytes with error: (org.apache.kafka.clients.producer.internals.ErrorLoggingCallback)
org.apache.kafka.common.errors.TimeoutException: Expiring 14 record(s) for cdrs-kafka-0: 6687 ms has passed since last append
[2018-09-25 14:46:33,212] ERROR Error when sending message to topic cdrs-kafka with key: null, value: 1129 bytes with error: (org.apache.kafka.clients.producer.internals.ErrorLoggingCallback)
org.apache.kafka.common.errors.TimeoutException: Expiring 14 record(s) for cdrs-kafka-0: 6687 ms has passed since last append
[2018-09-25 14:46:33,212] ERROR Error when sending message to topic cd
import Ember from 'ember';
import Component from '@ember/component';
import { get } from '@ember/object';
import { set } from '@ember/object';
import { getProperties } from '@ember/object';
import { debounce, later, scheduleOnce } from '@ember/runloop';
import c3 from 'c3';
import { inject } from '@ember/service';
//import ResizeAware from 'ember-resize/mixins/resize-aware';
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->
0) sudo -i
1) mount /dev/sda1 /mnt
2) for i in /dev /dev/pts /proc /sys /run; do mount -B $i /mnt$i; done
3) chroot /mnt /bin/bash
inside chroot:
$update-grub
root@ubuntu:/etc# cat fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sdb1 during installation
UUID=33edb702-d055-4eea-9fa2-15a6671fb145 / ext4 errors=remount-ro 0 1