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
| Erro => Faraday::Error::ConnectionFailed SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed | |
| http://stackoverflow.com/questions/10775640/omniauth-facebook-error-faradayerrorconnectionfailed | |
| I've fixed this on Mac OS X Lion 10.7.4 with this solution: | |
| $ rvm remove 1.9.3 (or whatever version of ruby you are using) | |
| $ rvm pkg install openssl | |
| $ rvm install 1.9.3 --with-openssl-dir=$rvm_path/usr |
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
| require 'rubygems' | |
| require 'pdfkit' | |
| kit = PDFKit.new("http://google.com") | |
| kit.to_file("/Users/rodrigo/Desktop/google.pdf") | |
| opção: http://grabz.it/api/ruby/ |
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
| echo "ruby-2.0.0-p247" > .ruby-version | |
| echo "atlas_ag" > .ruby-gemset |
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
| Lua | |
| http://www.lua.org/manual/5.1/pt/ | |
| http://www.lua.org/portugues.html | |
| Corona | |
| http://www.coronalabs.com/products/corona-sdk/starter/ | |
| http://www.coronalabs.com/products/corona-sdk/starter/ | |
| Elixir | |
| http://elixir-lang.org/ | |
| Haskell |
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="4.3.10" ; mkdir -p ~/.src && cd ~/.src && \curl -O -L --create-dirs -C - http://downloads.sourceforge.net/project/zsh/zsh-dev/$version/zsh-$version.tar.bz2?use_mirror=voxel && tar jxf zsh-$version.tar.bz2* && cd zsh-$version && ./configure --prefix=/ && make && sudo make install |
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
| http://www.mkyong.com/java/how-to-set-java_home-environment-variable-on-mac-os-x/ | |
| $ vim .bash_profile | |
| export JAVA_HOME=$(/usr/libexec/java_home) | |
| $ source .bash_profile | |
| $ echo $JAVA_HOME | |
| /Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home |
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
| [[20121100210,'273114',1], | |
| [20121000221,'272291',2], | |
| [20121000281,'273114',1], | |
| [20111000287,'200838',2], | |
| [20110800188,'200838',2], | |
| [20130600215,'272291',2], | |
| [20120700077,'000436',2], | |
| [20110800253,'000104',1], | |
| [20130200037,'000104',2], | |
| [20120700110,'002755',1], |
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
| INSERT INTO CUS (CODIGO, CAST) VALUES ('20121100210', 'Vers.o: 1.43.65.1 Desenvolvimento em 26/11/12: Como o usu.rio poder. alterar a empresa de emiss.o do manifesto, as cr.ticas dever.o continuar existindo para a empresa selecionada. Hoje a empresa que . definida como empresa de emiss.o . a empresa de coleta que . informada na tela que filtra os conhecimentos a serem selecionados para o manifesto.'); | |
| INSERT INTO CUS (CODIGO, CAST) VALUES ('20121000221', ''); | |
| INSERT INTO CUS (CODIGO, CAST) VALUES ('20121000281', 'Desenvolvimento em 24/10/2012: O perfil que habilita ou n.o o campo ter. preced.ncia sobre o perfil: Incluir registro com Data Retroativa. Solicita..o coletada pelo Lima em visita.'); | |
| INSERT INTO CUS (CODIGO, CAST) VALUES ('20111000287', ''); | |
| INSERT INTO CUS (CODIGO, CAST) VALUES ('20110800188', ''); | |
| INSERT INTO CUS (CODIGO, CAST) VALUES ('20130600215', ''); | |
| INSERT INTO CUS (CODIGO, CAST) VALUES ('20120700077', ''); | |
| INSERT INTO CUS (CODIGO, CAST) VALUES ('20110800253', ''); | |
| INSERT INTO CUS (C |
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
| código de retorno != 200 | |
| quebras de linha | |
| caracteres especiais | |
| escape de " e ', melhor substituir pelo código html |
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
| http://stackoverflow.com/questions/6596303/rubymine-3-2-failing-to-find-libmysqlclient-18-dylib-on-macos-lion |