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
| include $(GOROOT)/src/Make.inc | |
| TARG=long_polling | |
| GOFILES=long_polling.go | |
| include $(GOROOT)/src/Make.cmd |
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
| #!/usr/bin/env ruby | |
| require "maze" | |
| i = 1 | |
| e = nil | |
| loop do | |
| maze = Maze.new(i, e) | |
| maze.fetch | |
| maze.construct |
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
| Username = <%= @var %> |
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
| #!/usr/bin/env ruby | |
| # Author: Bruno Michel <[email protected]> | |
| # Copyright 2010 (c) af83 | |
| # Licence: MIT http://www.opensource.org/licenses/mit-license.php | |
| # Parse the given log files and extract the list of URL | |
| if ARGV.empty? | |
| puts "Usage: #{$0} <logfiles>" | |
| exit 1 |
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
| #!/usr/bin/env ruby | |
| # Author: Bruno Michel <[email protected]> | |
| # Copyright 2010 (c) af83 | |
| # Licence: MIT http://www.opensource.org/licenses/mit-license.php | |
| # Add two comments to each of your Rails view with the name of this file, | |
| # one at the beginning and the other at the end. | |
| TMPL_BEGIN = "<!-- Start of %s -->\n" | |
| TMPL_END = "<!-- End of %s -->\n" |
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
| #compdef gem | |
| # My first zsh completion function, for the gem command. It lets you type 'gem <tab>' to complete gem commands | |
| # (including installed ones) and for some commands (currently just open and update) allows you to complete gem | |
| # names as well. The implementation isn't ideal, so I'd appreciate advice on how I can improve it, particularly | |
| # the 'caching' of the gem_commands and installed_gems. | |
| local curcontext="$curcontext" state line ret=1 | |
| _arguments -C \ |
NewerOlder