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
| IMAGE_VIEWER: | |
| darwin: | |
| 'Preview' | |
| cygwin|mswin|mingw|bccwin|wince|emx: | |
| "Paint" | |
| FILE_EXPLORER: | |
| darwin: | |
| 'Finder' | |
| cygwin|mswin|mingw|bccwin|wince|emx: | |
| "Explorer" |
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
| using UnityEngine; | |
| using System.Collections; | |
| public class PlayerBehaviour : MonoBehaviour { | |
| public float speed = 6.0F; | |
| public float jumpSpeed = 8.0F; | |
| public float gravity = 20.0F; | |
| private Vector3 moveDirection = Vector3.zero | |
| // o resto do codigo ..... |
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
| andreanastacio @ ~/Workspace/src/ruby/ventriloquist/development | |
| > vagrant up | |
| You appear to be running Vagrant in a Bundler environment. Because | |
| Vagrant should be run within installers (outside of Bundler), Vagrant | |
| will assume that you're developing plugins and will change its behavior | |
| in certain ways to better assist plugin development. | |
| Bringing machine 'default' up with 'virtualbox' provider... | |
| [default] Setting the name of the VM... | |
| [default] Clearing any previously set forwarded ports... |
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
| andreanastacio @ ~/Workspace/src/ruby/ventriloquist/development | |
| > vagrant up | |
| You appear to be running Vagrant in a Bundler environment. Because | |
| Vagrant should be run within installers (outside of Bundler), Vagrant | |
| will assume that you're developing plugins and will change its behavior | |
| in certain ways to better assist plugin development. | |
| Bringing machine 'default' up with 'virtualbox' provider... | |
| [default] Setting the name of the VM... | |
| [default] Clearing any previously set forwarded ports... |
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
| andreanastacio @ ~/Workspace/src/ruby/ventriloquist/development | |
| > bundle | |
| Resolving dependencies... | |
| Using rake (10.1.0) | |
| Using dependor (1.0.1) | |
| Using bogus (0.1.4) | |
| Using timers (1.1.0) | |
| Using celluloid (0.15.2) | |
| Using ffi (1.9.0) | |
| Using childprocess (0.3.9) |
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
| andreanastacio @ ~/Workspace/src/ruby/ventriloquist/development | |
| > vagrant destroy | |
| You appear to be running Vagrant in a Bundler environment. Because | |
| Vagrant should be run within installers (outside of Bundler), Vagrant | |
| will assume that you're developing plugins and will change its behavior | |
| in certain ways to better assist plugin development. | |
| Are you sure you want to destroy the 'default' VM? [y/N] y | |
| [default] Forcing shutdown of VM... | |
| [default] Destroying VM and associated drives... |
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
| tributos = '0700120018002500020000000000000000000000000000000000000000000000' | |
| Dir.glob("#{Dir.pwd}/cat52/*").each do |file| | |
| total_tributos = Array.new(16,'0' * 14) | |
| File.open(file,'r').each do |line| | |
| serie_ecf ||= line[3..22] |
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
| ## | |
| # Troca a CST dos registros C470/C490 de acordo com o CFOP | |
| ## | |
| File.open(ARGV.first).each do |line| | |
| row = line.split("|") | |
| if row[1] == "C470" | |
| row[7] = "060" if row[8] == "5656" | |
| row[7] = "060" if row[8] == "5405" | |
| row[7] = "000" if row[8] == "5102" |
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
| # TRIM | |
| function ltrim(s) { sub(/^[ \t]+/, "", s); return s } | |
| function rtrim(s) { sub(/[ \t]+$/, "", s); return s } | |
| function trim(s) { return rtrim(ltrim(s)); } |
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
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| Vagrant.configure("2") do |config| | |
| config.vm.box = "hellobits" | |
| config.vm.box_url = "http://hellobits.com/vagrant/hellobits.box" | |
| config.vm.synced_folder ".", "/Projects", id: "vagrant-root" | |
| # config.vm.network :private_network, ip: "192.168.50.2" | |
| forward_port = ->(guest, host = guest) do |