segunda-feira, 30 de novembro de 2015

Instalar ffmpeg no Linux Mint 17.2

PPA samrog131 está fechado, tem que usar o  ppa:mc3man/trusty-media

apt-add-repository ppa:mc3man/trusty-media

apt-get update
apt-get install ffmpeg

Funciona!

quarta-feira, 25 de novembro de 2015

facebook hack

facebook filtro

grep -v "pattern" file.txt | grep -v "pattern" | awk NF

Japonês

http://www.dictionnaire-japonais.com/
Liar Game
可能性 = かのうせい = possibilidade
本々 = もともと = desde o início
嵌められた  = hamerareta = cair em cilada
訳 = わけ = Razão
存在 = そんざい = existir
騙される = だまされる = ser enganado
敗北 = はいぼく = perder
戦略 = せんりゃく = estratégia
確実 = かくじつ = certamente

domingo, 22 de novembro de 2015

qt 4 problema

X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 62 (X_CopyArea)
  Resource id:  0x0
QNativeImage: Unable to attach to shared memory segment.
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 62 (X_CopyArea)
  Resource id:  0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 62 (X_CopyArea)
  Resource id:  0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 62 (X_CopyArea)
  Resource id:  0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 62 (X_CopyArea)
  Resource id:  0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 62 (X_CopyArea)
  Resource id:  0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 62 (X_CopyArea)
  Resource id:  0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 62 (X_CopyArea)
  Resource id:  0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 62 (X_CopyArea)
  Resource id:  0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 62 (X_CopyArea)
  Resource id:  0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 62 (X_CopyArea)
  Resource id:  0x0


Solução

sysctl -w kernel.shmall=1194304
sysctl -w kernel.shmmax=1179869184
updatedb

sábado, 21 de novembro de 2015

lista de pacotes mint

apt-get install texlive-latex-extra texlive-math-extra texlive-full
apt-get install openjdk-7-jdk
apt-get install qt4-designer
apt-get install texstudio
apt-get install libreoffice-calc libreoffice-writer libreoffice-l10n-pt-br
apt-get install smplayer mplayer mplayer2
apt-get install smplayer
apt-get install chromium-browser-l10n chromium-browser




sexta-feira, 13 de novembro de 2015

Mouse agindo estranho

dando scrolldown eventualmente ele sobe e depois continua descendo.

PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp

vim /etc/default/grub --> adicionar  i8042.nopnp=1 parece resolver o problema

GRUB_CMDLINE_LINUX_DEFAULT="quiet, i8042.nopnp=1  "


update-grub

terça-feira, 3 de novembro de 2015

Os mais burros e os mais assassinos

Brasil é líder mundial em números absolutos de homicídios e ocupa o 11º lugar no ranking de assassinatos a cada 100 mil habitantes.

Brasil ficou em 38° lugar entre 44 países.
Pisa avaliou pela 1ª vez capacidade de resolução de problemas.

que foda... Tipo o inferno ao alcance de todos

segunda-feira, 2 de novembro de 2015

nouveau dando pau novamente com kernel

erro encontrado no /var/log/syslog

kernel: [ 2960.829829] nouveau E[   PFIFO][0000:01:00.0] write fault at 0x00002b6000 [PTE] from GR/GPC2/PROP_0 on channel 0x003fa28000 [Xorg[1256]]

kernel: [ 2960.829845] nouveau E[   PFIFO][0000:01:00.0] PGRAPH engine fault on channel 2, recovering...


Parece que o problema está relacionado com a placa de vídeo NVIDIA 650 Ti

kernel atualizado para 4.2.0-1
Continua dando pau

Nov  5 12:33:58  kernel: [47450.818377] nouveau E[chromium[1738]] fail set_domain
Nov  5 12:33:58  kernel: [47450.818380] nouveau E[chromium[1738]] validating bo list
Nov  5 12:33:58  kernel: [47450.818384] nouveau E[chromium[1738]] validate: -22
Nov  5 12:33:58  kernel: [47450.825570] nouveau E[   PFIFO][0000:01:00.0] read fault at 0x000c580000 [PTE] from GR/GPC0/PROP_0 on channel 0x003f7cf000 [chromium[1738]]
Nov  5 12:33:58  kernel: [47450.825576] nouveau E[   PFIFO][0000:01:00.0] PGRAPH engine fault on channel 6, recovering...


Outro erro no Debian Testing: 02/05/2016

May  1 11:46:19 kernel: [ 7725.245814] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
May  1 11:46:19 kernel: [ 7725.245833] nouveau 0000:01:00.0: fifo: sw engine fault on channel 7, recovering...
May  1 11:46:21 kernel: [ 7727.243749] nouveau 0000:01:00.0: fifo: runlist 0 update timeout
May  1 11:46:23 kernel: [ 7729.541317] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
May  1 11:46:27 kernel: [ 7733.836791] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
May  1 11:46:32 kernel: [ 7738.132275] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
May  1 11:46:36 kernel: [ 7742.427761] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
May  1 11:46:40 kernel: [ 7746.723249] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
May  1 11:46:45 kernel: [ 7751.018724] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
May  1 11:46:49 kernel: [ 7755.314200] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
May  1 11:46:53 kernel: [ 7759.609685] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
May  1 11:46:57 kernel: [ 7763.905162] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
May  1 11:47:02 kernel: [ 7768.200648] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
May  1 11:47:06 kernel: [ 7772.496136] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
May  1 11:47:10 kernel: [ 7776.791615] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
May  1 11:47:15 kernel: [ 7781.087098] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
May  1 11:47:19 kernel: [ 7785.382580] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
May  1 11:47:23 kernel: [ 7789.678067] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
May  1 11:47:27 kernel: [ 7793.973554] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
May  1 11:47:32 kernel: [ 7798.269029] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
May  1 11:47:36 kernel: [ 7802.564501] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
May  1 11:47:40 kernel: [ 7806.859987] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
May  1 11:47:45 kernel: [ 7811.155474] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
May  1 11:47:49 kernel: [ 7815.450960] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
May  1 11:47:53 kernel: [ 7819.746445] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
May  1 11:47:58 kernel: [ 7824.041930] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
May  1 11:48:02 kernel: [ 7828.337417] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
May  1 11:48:06 kernel: [ 7832.632901] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
May  1 11:48:10  kernel: [ 7836.928387] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
May  1 11:48:15  kernel: [ 7841.223876] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
May  1 11:48:19  kernel: [ 7845.519363] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
May  1 11:48:23  kernel: [ 7849.814842] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
May  2 09:14:03  rsyslogd: [origin software="rsyslogd" swVersion="8.16.0" x-pid="513" x-info="http://www.rsyslog.com"] start




Debian testing 9 dando problema ao suspender o sistema.
Instalado o driver nvidia
ao voltar do suspend o sistema acaba ficando travado, a tela fica com aquele tilt
o problema parou de acontecer com a suspensão feita por linha de comando

systemctl suspend



domingo, 1 de novembro de 2015

OpenStreetMap Edições em Guaratuba - Antes e Depois

Estava bem ampliada a área de mar. Estava faltando várias ilhas e as que existiam estavam com formato errado.


Com as correções, a baía ficou bem melhor, desenhei também todos os píers que existem na região. Deu trampo mas ficou bem bacana.