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
| mencoder -idx input.ogv -ovc lavc -oac mp3lame -o output.avi |
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
| <html> | |
| <head> | |
| <title>TESTE | HTML</title> | |
| <style type="text/css"> | |
| body{ | |
| margin: 0px; | |
| padding: 0px; | |
| } |
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
| rails new appname --skip-sprockets -T | |
| rails g rspec: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
| require 'rubygems' | |
| require 'active_record' | |
| require 'yaml' | |
| namespace :db do | |
| task :environment do | |
| @config = YAML::load(File.open(File.dirname(__FILE__) + '/db/database.yml')) | |
| ActiveRecord::Base.establish_connection(@config) | |
| end |
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
| (1..10).each do |i| | |
| `wget http://podcast.simplesideias.com.br/audio/sip-#{i}.mp3` | |
| end |
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
| to_char(valor, 'FM999G999G999D90', 'nls_numeric_characters='',.''') |
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
| LD_LIBRARY_PATH='/opt/oracle/instantclient_11_2' | |
| export LD_LIBRARY_PATH | |
| PATH=$PATH:'/opt/oracle/instantclient_11_2' | |
| SQLPATH='/opt/oracle/instantclient_11_2' | |
| export SQLPATH | |
| TNS_ADMIN='/opt/oracle/instantclient_11_2' | |
| export TNS_ADMIN |
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
| ln -s /usr/include/linux/types.h /usr/include/sys/types.h |
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
| export PS1='[\u] \[\033[1;33m\]\w\a\[\033[0m\]$(__git_ps1 " \[\033[1;32m\](%s)\[\033[0m\]")\n$ ' |