this was the final command for me
xinput -set-prop "DualPoint Stick" "Device Enabled" 0
source: https://cederlys.wordpress.com/2010/07/13/disabling-the-track-stick-in-ubuntu/
this was the final command for me
xinput -set-prop "DualPoint Stick" "Device Enabled" 0
source: https://cederlys.wordpress.com/2010/07/13/disabling-the-track-stick-in-ubuntu/
Fonte: http://gohorseprocess.wordpress.com
1- Pensou, não é XGH.
XGH não pensa, faz a primeira coisa que vem à mente. Não existe segunda opção, a única opção é a mais rápida.
2- Existem 3 formas de se resolver um problema, a correta, a errada e a XGH, que é igual à errada, só que mais rápida.
# docker build -t ruby-1.8.7 . | |
# docker run -it --rm ruby-1.8.7 | |
FROM ubuntu:16.04 | |
WORKDIR /root | |
RUN apt update | |
RUN apt upgrade -y | |
RUN apt install -y ruby-build autoconf subversion bison | |
RUN apt install -y mecab mecab-ipadic-utf8 wget |
module EtaReport | |
def total | |
@total ||= whatever.count | |
end | |
def started_at | |
@started_at ||= Time.now | |
end | |
def progress_feedback(processed) |
-- show running queries (>= 9.2) | |
SELECT pid, | |
age(clock_timestamp(), query_start) AS age, | |
usename, state, query, waiting, | |
age(clock_timestamp(), xact_start) AS xact_age | |
FROM pg_stat_activity | |
WHERE state != 'idle' | |
AND query NOT ILIKE '%pg_stat_activity%' | |
ORDER BY age DESC; |
class Item | |
def initialize(value: ) | |
@value = value | |
end | |
def subitems | |
@subitems ||= [ | |
Item.new(value: 1), | |
Item.new(value: 2), | |
] |