Skip to content

Instantly share code, notes, and snippets.

Olivier Roy olivierroy

  • Canada
Block or report user

Report or block olivierroy

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
olivierroy / linebreaks.rb
Created Jan 30, 2014
see what a file would look like on Windows
View linebreaks.rb
#!/usr/bin/env ruby
if ARGV.count == 1 && ARGV[0] != 0
contents =[0])
puts contents.gsub("\r\n","#VALID_LINE_BREAK#").gsub("\n","").gsub("\r","").gsub("#VALID_LINE_BREAK#", "\r\n")
puts "Invalid argument"
olivierroy / payza_m.php
Created Jan 30, 2014
Payza payment option for PancakeApp (system/pancake/modules/gateways/models/payza_m.php)
View payza_m.php
defined('BASEPATH') OR exit('No direct script access allowed');
* The Payza Gateway
* @subpackage Gateway
* @category Payments
You can’t perform that action at this time.