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
| "Quine of Life by Andrew Vos (andrewvos.com)";game=[ | |
| " ", | |
| " ", | |
| " ", | |
| " ", | |
| " ", | |
| " ", | |
| " X X X ", | |
| " X X ", | |
| " X X ", |
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
| Windows Registry Editor Version 5.00 | |
| [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System] | |
| ; Sets the wallpaper to the default | |
| "Wallpaper"=- | |
| ; Allows you to change wallpaper style (center, stretch etc.) | |
| "WallpaperStyle"=- | |
| ; Allows you to change the visual style | |
| "SetVisualStyle"=- | |
| ; Disables that profile quota message |
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 'nokogiri' | |
| require 'pathname' | |
| BUILD_OUTPUT = File.join(File.dirname(__FILE__), "build_output") | |
| Dir["**/*.csproj"].each do |project| | |
| xml = Nokogiri::XML(File.read(project)) | |
| project_type_node = xml.xpath("//xmlns:PropertyGroup/xmlns:OutputType[1]", xml.root.namespaces).first |
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
| mkdir /Dropbox/bash |
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
| ~ $ gem install ncurses | |
| Building native extensions. This could take a while... | |
| ERROR: Error installing ncurses: | |
| ERROR: Failed to build gem native extension. | |
| /Users/andrewvos/.rvm/rubies/ruby-1.9.2-p0/bin/ruby extconf.rb | |
| checking for unistd.h... yes | |
| checking for ncurses.h... yes | |
| checking for wmove() in -lncurses... yes | |
| checking for newscr()... yes |
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
| class TimeHelper | |
| class << self | |
| def time_difference(time_start, time_end) | |
| total_seconds = Integer(time_end - time_start) | |
| seconds = (total_seconds % 60) | |
| minutes = (total_seconds - seconds) / 60 | |
| hours = (minutes - (minutes % 60)) / 60 | |
| minutes = minutes - hours * 60 | |
| result = [] |
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
| sdsdsd |
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 System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| namespace TheMayneExtensions | |
| { | |
| public static class TheMayneExtensions | |
| { | |
| public static bool IfThereAreAny<T> (this IEnumerable<T> enumerable) | |
| { |
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
| map <Leader>t :w\|!rspec spec |
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
| c:/Ruby192/bin/ruby.exe -w -Ilib;bin;test;. --disable-gems -e 'require "rubygems | |
| "; require "test/unit"; require "test/rubygems/test_config.rb"; require "test/ru | |
| bygems/test_gem.rb"; require "test/rubygems/test_gem_builder.rb"; require "test/ | |
| rubygems/test_gem_command.rb"; require "test/rubygems/test_gem_commands_build_co | |
| mmand.rb"; require "test/rubygems/test_gem_commands_cert_command.rb"; require "t | |
| est/rubygems/test_gem_commands_check_command.rb"; require "test/rubygems/test_ge | |
| m_commands_contents_command.rb"; require "test/rubygems/test_gem_commands_depend | |
| ency_command.rb"; require "test/rubygems/test_gem_commands_environment_command.r | |
| b"; require "test/rubygems/test_gem_commands_fetch_command.rb"; require "test/ru | |
| bygems/test_gem_commands_generate_index_command.rb"; require "test/rubygems/test |
OlderNewer