Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion electro/electro.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,5 @@ Por favor agrega tus canciones favoritas a esta lista, Electro.
20. [The Chemical Brothers - Hey Boy Hey Girl](https://www.youtube.com/watch?v=tpKCqp9CALQ)
21. [The Prodigy - Narayan](https://www.youtube.com/watch?v=TMbMKdOYRxk)
22. [Kavinsky - Nightcall (Drive Original Movie Soundtrack)](https://www.youtube.com/watch?v=MV_3Dpw-BRY)
23. [Röyksopp - What Else Is There?](https://www.youtube.com/watch?v=Q-2R12p38Go)
23. [Röyksopp - What Else Is There?](https://www.youtube.com/watch?v=Q-2R12p38Go)
24. [Lone Digger - Caravan Palace](https://www.youtube.com/watch?v=UbQgXeY_zi4)
32 changes: 32 additions & 0 deletions software/Quine.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
public class Quine {
public static void main(String[] args) {
char quote = 34;
String[] code = {
"public class Quine {",
" public static void main(String[] args) {",
" char quote = 34;",
" String[] code = {",
" };",
" for(int i=0; i<4; i++){",
" System.out.println(code[i]);",
" }",
" for(int i=0; i<code.length; i++){",
" System.out.println(quote + code[i] + quote + ',');",
" }",
" for(int i=4; i<code.length; i++){",
" System.out.println(code[i]);",
" }",
" }",
"}",
};
for(int i=0; i<4; i++){
System.out.println(code[i]);
}
for(int i=0; i<code.length; i++){
System.out.println(quote + code[i] + quote + ',');
}
for(int i=4; i<code.length; i++){
System.out.println(code[i]);
}
}
}