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
https://www.youtube.com/watch?v=86uKSWy2c-0 | |
https://www.youtube.com/watch?v=DEPm--Mq9ho | |
https://www.youtube.com/watch?v=zmdhC2awwkQ | |
https://www.youtube.com/watch?v=R9O9gh3qPO0 | |
https://www.youtube.com/watch?v=AHyXxCKQ48w | |
https://www.youtube.com/watch?v=VFx7mQ09LGA | |
https://www.youtube.com/watch?v=NHrbCvFFpVM | |
https://www.youtube.com/watch?v=6nwwpvJmJac | |
https://www.youtube.com/watch?v=1dUjH4hcnt4 | |
https://www.youtube.com/watch?v=n_YqNynkFSI |
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
savestring = "*insert Base64 junk here*"; | |
saving=true; | |
document.getElementById('button_save').style.background='#888'; | |
statusdiv.innerHTML='Saving the painting'; | |
(SaveObj=new XMLHttpRequest()).open('POST', 'includes/ajax_dsipaint_save.php', true); | |
SaveObj.setRequestHeader('Content-type', 'application/x-www-form-urlencoded'); | |
SaveObj.send ('data='+savestring); | |
SaveObj.onreadystatechange=function(){ | |
if(SaveObj.readyState==4){ |
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 package3; | |
import java.io.File; | |
import java.io.IOException; | |
import java.io.PrintWriter; | |
import java.util.Base64; | |
import org.apache.commons.io.FileUtils; | |
/** | |
* A program that converts a given image into Base 64. The data is written to a |
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 package3; | |
import java.awt.Color; | |
import java.awt.image.BufferedImage; | |
import java.io.File; | |
import java.io.IOException; | |
import java.io.PrintWriter; | |
import javax.imageio.ImageIO; | |
/** |
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
public static boolean funBar(int[] eggman) { | |
int evens = 0, odds = 0; | |
boolean weird = false; | |
for(int r=0;r<eggman.length;r++) { | |
if(eggman[r]%2==1) | |
evens++; | |
else if(eggman[r]%2==0) | |
odds++; | |
else | |
return false; |
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
[White "Grand Master AI (Parallel Processing)"] | |
[Black "Stockfish 8+ PNACL"] | |
[Result "0-1"] | |
1. e4 e6 2. Nc3 d5 3. Nf3 d4 4. Bb5+ c6 | |
5. Bd3 dxc3 6. dxc3 Nd7 7. Be3 Qc7 8. Ng5 Ngf6 | |
9. Qd2 h6 10. Nf3 e5 11. O-O Nc5 12. Bxc5 Bxc5 | |
13. c4 Bg4 14. Qd1 O-O-O 15. h3 Bh5 16. g4 Nxg4 | |
17. hxg4 Bxg4 18. Kg2 Qe7 19. Qc1 Rd6 20. Nh2 Qh4 | |
21. Nxg4 Qxg4+ 22. Kh1 Rg6 23. Qxh6 Rhxh6# |
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
1. d4 d5 2. c4 dxc4 3. e4 Nf6 4. e5 Be6 | |
5. exf6 exf6 6. Nc3 Nc6 7. d5 Ne5 8. dxe6 Qxd1+ | |
9. Kxd1 fxe6 10. Kc2 Bc5 11. Ne4 Bb6 12. Nf3 Nxf3 | |
13. gxf3 f5 14. Ng5 O-O-O 15. Nf7 Rhe8 16. Nxd8 Rxd8 | |
17. Bxc4 Rd6 18. Re1 Rc6 19. Kd3 Rd6+ 20. Kc2 Rc6 | |
21. Kb3 Bd4 22. Bxe6+ Rxe6 23. Rxe6 Kd7 24. Re2 c5 | |
25. Be3 Kd6 26. Bxd4 cxd4 27. Rd1 Kc5 28. Re7 g5 | |
29. Rxb7 h5 30. Rd7 d3 31. R1xd3 Kc6 32. Kc4 Kb6 | |
33. R3d6+ Ka5 34. Rxa7# |