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
| Substituir texto no VIM: | |
| :%S/$/\'\)\;/ | |
| Texto em Qualquer Lugar: | |
| :%s/windows/linux/g | |
| Remover Ultimo da Linha: | |
| :%s/.\{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
| I do not know if this way of installing Skype addresses the well-known video problem, however, if it does not, then the following steps should be followed: | |
| 1. Create a script in /usr/local/bin. to invoke the installed Skype binary | |
| (which is /usr/bin/skype ) in such a way as to enable video in Skype: | |
| sudo mousepad /usr/local/bin/skype | |
| Add these 2 lines in the opened file: | |
| #!/bin/bash |
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
| sudo add-apt-repository ppa:tualatrix/ppa | |
| sudo apt-get update | |
| sudo apt-get install ubuntu-tweak |
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
| English NetBeans: | |
| -J-Duser.language=en -J-Duser.region=US |
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
| /home/luciano/.rvm/gems/ruby-1.9.3-p0/gems/railties-3.1.3/lib/rails/generators | |
| alterar arquivo: app_base.rb |
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 bash | |
| sudo apt-get install sed grep tar curl | |
| sudo apt-get install zlibc zlib1g zlib1g-dev zlib-bin ssh perl openssl subversion libcurl3 expat | |
| sudo apt-get install git-core libxml2 libxml2-dev ruby-dev libxslt1-dev | |
| sudo apt-get install mysql-server libmysqlclient-dev imagemagick librmagick-ruby libgraphicsmagick3 libgraphicsmagick1-dev libpng3 | |
| sudo apt-get install libopenssl-ruby libssl-dev libssl0.9.8 | |
| sudo apt-get install libreadline5-dev |
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
| Rota especifica para determinada rede | |
| sudo route add -net 192.168.14.0/24 gw 192.168.10.3 |
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 bash | |
| sudo apt-get install sed grep tar curl | |
| sudo apt-get install zlibc zlib1g zlib1g-dev zlib-bin ssh perl openssl subversion libcurl3 expat | |
| sudo apt-get install git libxml2 libxml2-dev ruby-dev libxslt1-dev | |
| sudo apt-get install mysql-server libmysqlclient-dev imagemagick librmagick-ruby libmagick++3 libgraphicsmagick3 libgraphicsmagick1-dev libpng3 | |
| sudo apt-get install libopenssl-ruby libssl-dev libssl0.9.8 | |
| sudo apt-get install libreadline5-dev |
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 | |
| # Be sure to restart your server when you modify this file. | |
| # Add new inflection rules using the following format | |
| # (all these examples are active by default): | |
| # ActiveSupport::Inflector.inflections do |inflect| | |
| # inflect.plural /^(ox)$/i, '\1en' | |
| # inflect.singular /^(ox)en/i, '\1' | |
| # inflect.irregular 'person', 'people' | |
| # inflect.uncountable %w( fish sheep ) |
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
| Na versão 11.10 do Ubuntu, o qual utiliza a versão 3.0.0 do Kernel Linux, algumas bibliotecas mudaram de lugar, dentre elas a types.h | |
| Para compilar e instalar a gem ruby-oci8, faz necessário criar um link para este arquivo na pasta /usr/include/sys/. | |
| Obviamente, se não existir a pasta, será necessário cria-la antes. | |
| mkdir -p /usr/include/sys | |
| ln -s /usr/include/linux/types.h /usr/include/sys/types.h |