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
| STDIN.readlines.each do | filepath | | |
| `git clone ssh://git.corp.geolearning.com/git/#{filepath}` | |
| end |
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 MovieBuilder | |
| include FileUtils | |
| def initialize(image_directory = '.', image_type = 'png') | |
| @base_dir = image_directory | |
| @temp_dir = "#{@base_dir}/temp" | |
| @image_type = image_type | |
| end | |
| def make(movie_name, frame_rate = 5) |
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
| for i in `ls *.sql`; do mysql dbname -u root < $i; done; |
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 SomeController { | |
| public override void Process() { | |
| var search = new UserSearch(); | |
| search.firstName = htmlForm.get("firstName"); | |
| search.lastName = htmlForm.get("lastName"); | |
| var renderable = prepareToRender(search.getResults()); | |
| // render view. | |
| } |
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
| curl --head --silent $1 | awk '/Location:/ { print $2 }' |