Skip to content

Instantly share code, notes, and snippets.

View LeftistTachyon's full-sized avatar
💭
Grindin'

Gui Guy LeftistTachyon

💭
Grindin'
  • Reykjavík, Iceland
View GitHub Profile
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#
[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#
@LeftistTachyon
LeftistTachyon / Jeff.txt
Created January 28, 2020 16:22
A bad piece of code for funsies
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;
@LeftistTachyon
LeftistTachyon / NewMain3.java
Last active April 13, 2020 16:51
A quick little Java program that can write a JavaScript program that draws a thing inside a canvas so you can use it as a pfp on an obscure website.
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;
/**
@LeftistTachyon
LeftistTachyon / NewerMain3.java
Created April 14, 2020 20:56
A better way to create custom pfp's in DSi Paint
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
@LeftistTachyon
LeftistTachyon / platlist.txt
Created April 28, 2021 01:45
Non-Copyright FL Customs playlist in text
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
@LeftistTachyon
LeftistTachyon / fun.js
Last active August 17, 2023 21:27
The scripting half of the pfp insanity
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){