This file contains 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 'sixcore' | |
module SixCore | |
ConfigSvn = Struct.new(:program) | |
# Core module for Subversion | |
class Svn | |
attr_accessor(:repos, :user, :pass) | |
COMPONENT = 'SixCore::Svn' | |
REGEX_LINE = /------------------------------------------------------------------------/ |
This file contains 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
# Ruby Hubby | |
FileTest.exit?('test.txt') | |
# BluBlub | |
Process.exit |
This file contains 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
// Main Config | |
class CfgVehicles | |
{ | |
class Car | |
{ | |
// all kinds of settings | |
}; | |
class Stryker: Car | |
{ | |
// all kinds of settings |
This file contains 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
gem 'log4r' | |
gem 'win32-pipe' | |
gem 'windows-pr' | |
require 'log4r' | |
require 'win32/pipe' | |
#require 'win32/mutex' # Uhh, how to use? | |
require 'mutex_m' | |
require 'types' | |
require 'sqf' | |
require 'database' |
This file contains 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
changelog: | |
h2. CBA | |
h2. Fri Jan 15 18:04:29 +0100 2010 | |
Build 50 | |
Updated to source:@d07aa385d491e403ece1334f69ee7c36af58389b | |
h3. Fixed |
This file contains 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 ruby | |
# encoding: UTF-8 | |
require 'emp/arma/tools/common' | |
class Bla | |
include EMP::Arma::Tools | |
def wait | |
STDIN.gets | |
end |
This file contains 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
# by Sickboy | |
# Rename any folder or file in the given path, if it has uppercase characters, to lowercase | |
# If the filename is .repository.yml, update the :pack and :remote hashes with lowercase keys | |
require 'fileutils' | |
require 'yaml' | |
dir = ARGV[0] | |
ARGV.shift | |
def check_dir(dir) |
This file contains 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 'open3' | |
puts "Ctrl-C should work now" | |
sleep 5 | |
Open3.popen3("echo 'Now ctrl-C wont work no more'") { |io_in, io_out, io_err, waith_thr| puts io_out.read; puts io_err.read } | |
sleep 20 |
This file contains 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 'sqlite3/driver/native/Community.CsharpSqlite.dll' | |
module SQLite3 ; module Driver ; module Native | |
class CallbackData | |
attr_accessor :proc, :proc2, :data | |
end | |
class Driver | |
include Community::CsharpSqlite |
This file contains 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 'sqlite3/driver/native/Community.CsharpSqlite.dll' | |
module SQLite3 ; module Driver ; module Native | |
class CallbackData | |
attr_accessor :proc, :proc2, :data | |
end | |
class Driver | |
include Community::CsharpSqlite |
OlderNewer