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
(let ((buffer (url-retrieve-synchronously | |
"http://tromey.com/elpa/package-install.el"))) | |
(save-excursion | |
(set-buffer buffer) | |
(goto-char (point-min)) | |
(re-search-forward "^$" nil 'move) | |
(eval-region (point) (point-max)) | |
(kill-buffer (current-buffer)))) |
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
# -*- coding: utf-8 -*- | |
def fizzbuzz(i): | |
if (i % 15 == 0): | |
return "FizzBuzz" | |
elif (i % 3 == 0): | |
return "Fizz" | |
elif (i % 5 == 0): | |
return "Buzz" | |
else: | |
return i |
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
package pac; | |
import org.springframework.context.annotation.AnnotationConfigApplicationContext; | |
import config.AppConfig; | |
public class Facade { | |
private Facade() { | |
} |
NewerOlder