This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 -> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 -> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 -> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |