Skip to content

Instantly share code, notes, and snippets.

View vinnix's full-sized avatar
🥄

Vinícius Abrahão Bazana Schmidt vinnix

🥄
View GitHub Profile
[root@thome] /usr/local/lib/ruby/gems/1.8/gems/memcached-1 809 # rake install
(in /usr/local/lib/ruby/gems/1.8/gems/memcached-1)
Cleaning
Gemspec generated
mkdir -p pkg
mkdir -p pkg/memcached-1
rm -f pkg/memcached-1/BENCHMARKS
ln BENCHMARKS pkg/memcached-1/BENCHMARKS
rm -f pkg/memcached-1/CHANGELOG
ln CHANGELOG pkg/memcached-1/CHANGELOG
http://archives.postgresql.org/pgsql-general/2010-09/msg00605.php
http://archives.postgresql.org/message-id/87hbhkcrm1.fsf@cbbrowne.afilias-int.info
http://archives.postgresql.org/message-id/4C979AEF.9030402@ca.afilias.info
@vinnix
vinnix / zabbix-server-error.log
Created January 2, 2011 21:33
the port building error....
cc -DZABBIX_DAEMON -O2 -pipe -DLDAP_DEPRECATED -fno-strict-aliasing -I/usr/local/include -I/usr/local/include -I/usr/local/lib/perl5/5.10.1/mach/CORE -I/usr/include -I. -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -L/usr/local/lib -lpq -L/usr/local/lib -liksemel -L/usr/local/lib -lcurl -L/usr/local/lib -lssl -lcrypto -lldap -lz -L/usr/lib -lm -lkvm -ldevstat -L/usr/local/lib -lnetsnmp -lelf -lssp_nonshared -lcrypto -L/usr/lib -lm -lkvm -ldevstat -L/usr/local/lib -lnetsnmp -lelf -lssp_nonshared -lcrypto -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -lldap -llber -L/usr/local/lib -o zabbix_server zabbix_server-actions.o zabbix_server-operations.o zabbix_server-events.o zabbix_server-zlog.o zabbix_server-server.o alerter/libzbxalerter.a dbsyncer/libzbxdbsyncer.a dbconfig/libzbxdbconfig.a discoverer/libzbxdiscoverer.a pinger/libzbxpinger.a poller/libzbxpoller.a housekeeper/libzbxhousekeeper.a timer/libzbxtimer.a trapper/libzbxtrapper.a nodewat
@vinnix
vinnix / postgresql_scrollable.log
Created May 23, 2012 18:43
Resultado de execução da rotina de testes JDBC vinnix/JavaLab/Scrollable.java
LOG: connection received: host=127.0.0.1 port=22948
LOG: connection authorized: user=pgsql database=postgres
LOG: duration: 0.124 ms parse <unnamed>: SET extra_float_digits = 3
LOG: duration: 0.031 ms bind <unnamed>: SET extra_float_digits = 3
LOG: duration: 0.014 ms execute <unnamed>: SET extra_float_digits = 3
LOG: duration: 0.991 ms parse <unnamed>: SELECT * FROM tb_teste a ORDER BY a.col1
LOG: duration: 0.043 ms bind <unnamed>: SELECT * FROM tb_teste a ORDER BY a.col1
LOG: duration: 0.241 ms execute <unnamed>: SELECT * FROM tb_teste a ORDER BY a.col1
LOG: duration: 2.889 ms parse <unnamed>: SELECT NULL AS TABLE_CAT, n.nspname AS TABLE_SCHEM, ct.relname AS TABLE_NAME, a.attname AS COLUMN_NAME, (i.keys).n AS KEY_SEQ, ci.relname AS PK_NAME FROM pg_catalog.pg_class ct JOIN pg_catalog.pg_attribute a ON (ct.oid = a.attrelid) JOIN pg_catalog.pg_namespace n ON (ct.relnamespace = n.oid) JOIN (SELECT i.indexrelid, i.indrelid, i.indisprimary, information_schema._pg_expandarray(
@vinnix
vinnix / postgresql.conf.diff
Created May 28, 2012 16:56
postgresql conf. primeiras mudanças
240c240
< logging_collector = off # Enable capturing of stderr and csvlog
---
> logging_collector = on # Enable capturing of stderr and csvlog
248c248
< log_filename = 'postgresql-%Y-%m-%d_%H%M%S.log' # log file name pattern,
---
> log_filename = 'postgresql-%a.log' # log file name pattern,
268c268
< silent_mode = on # Run server silently.
postgres=# \l+
List of databases
Name | Owner | Encoding | Collation | Ctype | Access privileges | Size | Tablespace | Description
------------+------------+----------+-----------+-------+-----------------------+---------+---------------+---------------------------
biocinese | site | LATIN1 | en_US | en_US | =Tc/site | 7078 kB | ts_biocinese |
: site=CTc/site
: qualidade=CTc/site
curriculo | intranet | LATIN1 | en_US | en_US | | 21 MB | ts_curriculo |
firewall | giovanni | LATIN1 | en_US | en_US | | 5670 kB | ts_firewall |
intranet | intranet | LATIN1 | en_US | en_US | intranet=CTc/intranet | 2167 MB | ts_intranet |
@vinnix
vinnix / error.txt
Created August 31, 2012 15:38
how can I remove, this directory?
[root@dls118 /usr/ports/irc/irchat-pj-emacs21]# ls -la
total 0
[root@dls118 /usr/ports/irc/irchat-pj-emacs21]# cd ..
[root@dls118 /usr/ports/irc]# rm -rf irchat-pj-emacs21/
g_vfs_done():ada0a[READ(offset=11719696384, length=4096)]error = 5
rm: irchat-pj-emacs21/: Directory not empty
root (hd0)
Filesystem type is ext2fs, using whole disk
kernel /boot/vmlinuz-2.6.32-279.5.2.el6.x86_64 ro root=/dev/xvda1 init=/sbin/in
it rootfstype=ext3
@vinnix
vinnix / restore_weird_behavior.log
Created October 18, 2012 17:52
weird pg_restore behavior
Looking about a weird scenario, when I try to restore only one table from a dump,
but the restore does not work, without any errors.
$ psql -d postgres
psql (9.1.3)
Type "help" for help.
postgres=# create database my_poc;
CREATE DATABASE
postgres=# not null default nextval('testschema.testtable_id_seq'::regclass)
@vinnix
vinnix / fb_fail.dns
Created December 10, 2012 23:06
Facebook's DNS is bug
vnxs:~ Vinnix$ dig www.facebook.com
; <<>> DiG 9.4.3-P3 <<>> www.facebook.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 19977
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;www.facebook.com. IN A