Skip to content

Instantly share code, notes, and snippets.

View denysvitali's full-sized avatar

Denys Vitali denysvitali

View GitHub Profile
public enum Valuta {
CHF(1, 0.95, 0.69, 1.02) ,
EUR , GBP , USD ;
private HashMap<Valuta, Double> values = new HashMap<>();
Valuta(double ... val){
// Apparently, this isn't possible: bummer
System.out.println(Valuta.values());
/*for(Valuta v : Valuta.values()){
dvitali@denvit-ws1:js38/trunk $ ssh [email protected] -130-
Last login: Mon May 15 22:09:35 2017 from 192.168.1.111
➜ ~ htop
➜ ~ sudo systemctl status gdm
[sudo] password for dvitali:
➜ ~ sudo systemctl status gdm
➜ ~ sudo systemctl stop gdm
➜ ~ ps aux
aalib 1.4rc5-12
accountsservice 0.6.45-1
acl 2.2.52-3
adwaita-icon-theme 3.24.0-1
alsa-lib 1.1.3-1
alsa-plugins 1.1.1-1
alsa-utils 1.1.3-2
android-udev 20170416-1
apache 2.4.25-2
appstream 0.11.0-2
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.11.0-208685-gebf96ef-dirty (root@dkc-1) (gcc version 4.9.x 20150123 (prerelease) (GCC) ) #16 SMP PREEMPT Mon May 15 15:21:06 UTC 2017
[ 0.000000] Boot CPU: AArch64 Processor [411fd071]
[ 0.000000] Machine model: Google Pixel C
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] cma: Reserved 128 MiB at 0x00000000ee400000
[ 0.000000] earlycon: uart0 at MMIO 0x0000000070006000 (options '115200n8')
[ 0.000000] bootconsole [uart0] enabled
[ 0.000000] On node 0 totalpages: 747008
[ 0.000000] pcpu-alloc: s59904 r8192 d30208 u98304 alloc=24*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Detected PIPT I-cache on CPU0
[ 0.000000] CPU features: enabling workaround for ARM erratum 832075
[ 0.000000] CPU features: enabling workaround for ARM erratum 834220
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 735336
[ 0.000000] Kernel command line: cros_secure vpr=0x08000000@0xf6800000 earlycon
[ 0.000000] log_buf_len individual max cpu contribution: 4096 bytes
[ 0.000000] log_buf_len total cpu_extra contributions: 12288 bytes
[ 0.000000] log_buf_len min size: 16384 bytes
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.11.0-208685-gebf96ef (root@dkc-1) (gcc version 4.9.x 20150123 (prerelease) (GCC) ) #11 SMP PREEMPT Mon May 15 14:12:37 UTC 2017
[ 0.000000] Boot CPU: AArch64 Processor [411fd071]
[ 0.000000] Machine model: Google Pixel C
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] cma: Reserved 16 MiB at 0x00000000f5400000
[ 0.000000] earlycon: uart0 at MMIO 0x0000000070006000 (options '115200n8')
[ 0.000000] bootconsole [uart0] enabled
[ 0.000000] On node 0 totalpages: 747008
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.11.0 (root@dkc-1) (gcc version 4.9.x 20150123 (prerelease) (GCC) ) #2 SMP PREEMPT Thu May 11 21:53:05 UTC 2017
[ 0.000000] Boot CPU: AArch64 Processor [411fd071]
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] cma: Reserved 16 MiB at 0x00000000f5400000
[ 0.000000] earlycon: uart0 at MMIO 0x0000000070006000 (options '115200n8')
[ 0.000000] bootconsole [uart0] enabled
[ 0.000000] On node 0 totalpages: 747008
[ 0.000000] DMA zone: 7576 pages used for memmap
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.11.0 (root@dkc-1) (gcc version 4.9.x 20150123 (prerelease) (GCC) ) #2 SMP PREEMPT Thu May 11 21:53:05 UTC 2017
[ 0.000000] Boot CPU: AArch64 Processor [411fd071]
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] cma: Reserved 16 MiB at 0x00000000f5400000
[ 0.000000] earlycon: uart0 at MMIO 0x0000000070006000 (options '115200n8')
[ 0.000000] bootconsole [uart0] enabled
[ 0.000000] On node 0 totalpages: 747008
[ 0.000000] DMA zone: 7576 pages used for memmap
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.11.0 (root@dkc-1) (gcc version 4.9.x 20150123 (prerelease) (GCC) ) #2 SMP PREEMPT Thu May 11 21:53:05 UTC 2017
[ 0.000000] Boot CPU: AArch64 Processor [411fd071]
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] cma: Reserved 16 MiB at 0x00000000f5400000
[ 0.000000] earlycon: uart0 at MMIO 0x0000000070006000 (options '115200n8')
[ 0.000000] bootconsole [uart0] enabled
[ 0.000000] On node 0 totalpages: 747008
[ 0.000000] DMA zone: 7576 pages used for memmap
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.18.0 (mat@mathieu-Studio-XPS-1640) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #8 SMP PREEMPT Tue Feb 28 21:14:43 CET 2017
[ 0.000000] CPU: Cortex A57 Processor [411fd071] revision 1
[ 0.000000] alternatives: enabling workaround for ARM erratum 832075
[ 0.000000] Found vpr, start=0xf6800000 size=0x8000000
[ 0.000000] debug: ignoring loglevel setting.
[ 0.000000] efi: Getting EFI parameters from FDT: