This file contains hidden or 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
| Traceback (most recent call last): | |
| File "teste.py", line 9, in <module> | |
| ecf=base.Base() | |
| File "/u1/caixa.manaus/pyECF/base.py", line 86, in __init__ | |
| self._lib() | |
| File "/u1/caixa.manaus/pyECF/base.py", line 100, in _lib | |
| pickle.dump(self.iDrv, f) | |
| File "/usr/lib/python2.6/pickle.py", line 1362, in dump | |
| Pickler(file, protocol).dump(obj) | |
| File "/usr/lib/python2.6/pickle.py", line 224, in dump |
This file contains hidden or 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
| #-*- encoding: utf-8 -*- | |
| """ test_paramiko.py - tests paramiko library on | |
| localhost connection""" | |
| import paramiko | |
| paramiko.util.log_to_file('paramiko.log') | |
| s = paramiko.SSHClient() |
This file contains hidden or 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
| # Version 9.1 | |
| log_destination = 'stderr' # Valid values are combinations of | |
| logging_collector = all # Enable capturing of stderr and csvlog | |
| log_directory = 'pg_log' # directory where log files are written, | |
| log_filename = 'postgresql-%Y-%m-%d_%H%M%S.log' # log file name pattern, | |
| log_file_mode = 0600 # creation mode for log files, | |
This file contains hidden or 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
| <VirtualHost *:80> | |
| ServerAdmin ivan.nunes@armazemparaiba.com.br | |
| ServerName mfd.claudinosa.com.br | |
| DocumentRoot /var/www/django/portal_mfd/ | |
| WSGIScriptAlias / /var/www/django/portal_mfd/portal_mfd/mfd.wsgi | |
| Alias /static/admin/ /var/www/django/portal_mfd/portal_mfd/static/admin/ | |
| Alias /static/ /var/www/django/portal_mfd/portal_mfd/static/ | |
| <Directory /var/www/django/portal_mfd/portal_mfd> |
This file contains hidden or 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
| DocSpool[15] SQL Syntax: SELECT Nr_Estabelecimento, Cd_Chave FROM Resumo WHERE N | |
| r_Estabelecimento={fn LEFT(?,11)} LIMIT 1 | |
| *** Error *** Error from : ERROR: function pg_catalog.substring(double precisio | |
| n, integer, integer) does not exist Hint: No function matches the given name a | |
| nd argument types. You might need to add explicit type casts. Position: 74 | |
| *** Executing "DocSpool": line #, file "/u1/nccredito/dev/pts/8/docspool.doc | |
| ". |
This file contains hidden or 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
| $ git log --pretty=fuller --until="2015-04-25" --after="2015-04-24" | |
| commit d58d89a0f1cf48f6905857c00edc70073457f9a6 | |
| Merge: b12802c 44f16e5 | |
| Author: silvajr <silva.junior@armazemparaiba.com.br> | |
| AuthorDate: Fri Apr 24 14:17:04 2015 -0300 | |
| Commit: silvajr <silva.junior@armazemparaiba.com.br> | |
| CommitDate: Fri Apr 24 14:17:04 2015 -0300 |
This file contains hidden or 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
| ORACLE: | |
| - cd_chave_la varchar2(6) | |
| SELECT cd_chave_la from tab_inaugura where cd_chave_la between 'TEZ 1 ' and 'TEZ 1Z'; | |
| // OUTPUT: | |
| "TEZ 1S" | |
| POSTGRESQL | |
| - cd_chave_la varchar(6) |
This file contains hidden or 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
| git log --pretty="%H %ci" --after=2015-06-03 --before=2015-06-05 |
This file contains hidden or 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
| ivan:~/src/vagrant/precise32$ vagrant up | |
| /opt/vagrant/bin/../embedded/gems/gems/vagrant-1.7.2/lib/vagrant/pre-rubygems.rb:31: warning: Insecure world writable dir /home/ivan/zim712pg in PATH, mode 040777 | |
| /opt/vagrant/embedded/gems/gems/bundler-1.7.11/lib/bundler/runtime.rb:222: warning: Insecure world writable dir /home/ivan/zim712pg in PATH, mode 040777 | |
| Bringing machine 'pdv' up with 'virtualbox' provider... | |
| Bringing machine 'base' up with 'virtualbox' provider... | |
| ==> pdv: Box 'pdv' could not be found. Attempting to find and install... | |
| pdv: Box Provider: virtualbox | |
| pdv: Box Version: >= 0 | |
| ==> pdv: Adding box 'pdv' (v0) for provider: virtualbox | |
| pdv: Downloading: pdv |
This file contains hidden or 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
| #!/usr/bin/env python | |
| #-*- encoding: utf-8 -*- | |
| from reportlab.pdfgen import canvas | |
| c = canvas.Canvas("ola.pdf") | |
| c.drawString(100,750,"Bem-vindo ao Reportlab!") | |
| c.save() |