egregious
Premium Member
- Joined
- Mar 3, 2011
- Messages
- 6
FS -- File System. (FSCK)
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Option #2
Are you talking about bad words in the list? I wrote a comment on top of the page asking for imageable words. Some pairs are really hard to find a good object for, it got to be a few odd ones I'm afraid.
When the list is getting more words one can clean it up a bit, removing the worst examples...
BTW, found it is a nice idea to put referal links to diffrent pages (usally Wikipedia I guess) for the words, see QX and VV for my examples.
All of my memorization methods are available on my website here. Don't add them in manually yourself thoughBetween my images list and my single syllable words list that's around 1,000 entries to make. It'd be much easier to write a script to do it for someone who knows how. I just don't know how to do that
![]()
All of my memorization methods are available on my website here. Don't add them in manually yourself thoughBetween my images list and my single syllable words list that's around 1,000 entries to make. It'd be much easier to write a script to do it for someone who knows how. I just don't know how to do that
![]()
Hey, can someone explain to me what KJ: Kirjava is? My google searches are fruitless :/
The user here. Kirjava. That's his username.
ahh ok. And any idea with the second part of the message?
I was not goin to make a thread about this becauser its stupid but offtopic, there are 2 OLLs on the wiki with the same image. It was mind fking me when I went to get algs for this one OLL. I was like wtf..why cant i find my case haha
OLL 11 and 12
http://www.speedsolving.com/wiki/index.php/OLL#Small_lightning_bolt_shapes
import java.util.*;
import java.io.*;
import java.awt.datatransfer.Clipboard;
import java.awt.datatransfer.ClipboardOwner;
import java.awt.datatransfer.Transferable;
import java.awt.datatransfer.StringSelection;
import java.awt.datatransfer.DataFlavor;
import java.awt.datatransfer.UnsupportedFlavorException;
import java.awt.Toolkit;
import java.io.*;
public class Webizer
{
//http://www.google.com/search?hl=en&source=hp&biw=1138&bih=519&q=INSERT TEXT HERE&aq=f&aqi=g10&aql=&oq=
public static void main(String[] args) throws Exception
{
boolean ok = true;
while(ok)
{
String[] array= new String[576];
Scanner in = new Scanner(new File("a.txt"));
ArrayList<Ryan> joe = new ArrayList<Ryan>();
int r = 0;
while(in.hasNextLine())
{
String current = in.nextLine();
current=current.trim();
r++;
array[r-1]=current;
}
System.out.println(joe);
System.out.println((r-joe.size())+"/"+r);
for(int i = 0;i<array.length;i++)
{
if(array[i].length()<4)
continue;
else if(array[i].contains("!"))
continue;
else
{
System.out.println("http://www.google.com/images?hl=en&source=hp&biw=1138&bih=519&q=" + array[i].substring(3,array[i].length()) + "&aq=f&aqi=g10&aql=&oq=");
Clipboard systemClipboard = Toolkit.getDefaultToolkit().getSystemClipboard();
Transferable transferableText =new StringSelection("http://www.google.com/images?hl=en&source=hp&biw=1138&bih=519&btnI=3564&q=" + array[i].substring(3,array[i].length()) + "&aq=f&aqi=g10&aql=&oq=");
systemClipboard.setContents(transferableText, null);
Scanner a = new Scanner(System.in);
String next = a.next();
if(next.equals("s"))
{
i=3912;
continue;
}
if(next.equals("q"))
{
System.out.println("Save? (Y/N)");
String off = a.next();
if(off.equals("N"))
System.exit(1337);
else
{
i=3912;
ok=false;
continue;
}
}
array[i]+= "!" + next;
}
}
PrintStream ri2 = new PrintStream(new File("a.txt"));
for(String a : array)
ri2.println(a);
}
}
}
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.awt.image.*;
import java.net.*;
import java.util.*;
import java.io.*;
public class OurPanel extends JPanel
{
public static BufferedImage myImage;
public static Graphics g;
public static int amount = 5;
public static boolean assist = true;
public static double time = 3;
public static JLabel label;
public static boolean done = false;
public static boolean ok = false;
public OurPanel() throws Exception
{
myImage = new BufferedImage(500, 500, BufferedImage.TYPE_INT_RGB);
g = myImage.getGraphics();
label = new JLabel("");
label.setFont(new Font("Serif",0,50));
add(label);
}
public void start() throws Exception
{
String[] array= new String[576];
Scanner in = new Scanner(new File("a.txt"));
ArrayList<Pair> joe = new ArrayList<Pair>();
int r = 0;
while(in.hasNextLine())
{
if(r>575)
break;
String current = in.nextLine();
current=current.trim();
String[] joesephus = current.split("!");
r++;
int a = 0;
a = 0;
array[r-1]=current;
if(current.length()>3)
joe.add(new Pair(joesephus[0].substring(0,2),joesephus[0].substring(3,joesephus[0].length()), joesephus.length>1?joesephus[1]:null));
}
ArrayList<Pair> out = new ArrayList<Pair>(500);
for(int i = 0;i<amount;i++)
out.add(joe.get((int)(Math.random()*joe.size())));
String answer ="";
for(int i = 0;i<amount;i++)
{
boolean l = false;
if(out.get(i).url!=null&&out.get(i).url.trim()!="")
{
ok = false;
java.awt.Image image = java.awt.Toolkit.getDefaultToolkit().createImage(new URL(out.get(i).url));
JLabel s = new JLabel(new ImageIcon(image));
add(s);
label.setText(out.get(i).word + (assist?" (" + out.get(i).pair.trim() + ")" :""));
answer+=out.get(i).pair.trim();
// JButton arrrgg = new JButton("K?");
// arrrgg.addActionListener(new Listener2());
// add(arrrgg);
// while(!ok)
// {
// }
Thread.sleep((int)(1000*time));
// remove(arrrgg);
remove(s);
label.setText("");
s=null;
}
else
{
label.setText(out.get(i).word + (assist?" (" + out.get(i).pair.trim() + ")" :""));
answer+=out.get(i).pair.trim();
// JButton arrrgg = new JButton("K?");
// arrrgg.addActionListener(new Listener2());
// add(arrrgg);
// while(!ok)
// {
// }
Thread.sleep((int)(1000*time));
// remove(arrrgg);
}
}
answer=answer.toLowerCase();
Scanner input = new Scanner(System.in);
JTextField box = new JTextField("", 10);
add(box);
JButton button = new JButton("Submit"); //local
button.addActionListener(new Listener());
add(button);
label.setText("");
while(!done)
{
Thread.sleep(10);
}
remove(button);
if(box.getText().toLowerCase().equals(answer))
label.setText("Correct!");
else
label.setText("Incorrect, it is " + answer.toUpperCase());
remove(box);
}
private class Listener implements ActionListener
{
public void actionPerformed(ActionEvent e)
{
done=true;
}
}
private class Listener2 implements ActionListener
{
public void actionPerformed(ActionEvent e)
{
ok = true;
}
}
private static class Pair
{
public String pair = "";
public String word = "";
public String url = "";
public Pair(String pair2, String word2, String url2)
{
pair=pair2;
word=word2;
url=url2;
}
public String toString()
{
return pair + " " + word;
}
}
public static void main(String[] args) throws Exception
{ JFrame frame = new JFrame("Flash Cards");
frame.setSize(1200,800);
frame.setLocation(100, 50);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
OurPanel joe = new OurPanel();
frame.setContentPane(joe);
frame.setVisible(true);
joe.start();
}
}