The Ctrl+V Game
#221
Posted 07 July 2013 - 08:12 AM
suppressmacrofailures
cast Marrow Harvest
cast Dark Water
cast Somatic Desecration
lol, a Rift macro for my new skillbuild
#222
Posted 07 July 2013 - 08:39 AM
#223
Posted 07 July 2013 - 09:40 PM
Yup....
#224
Posted 10 July 2013 - 02:28 AM
Ah, was promoting a nice song on my blog.
#225
Posted 19 July 2013 - 02:16 AM
Pastebin code?
#226
Posted 20 July 2013 - 01:24 AM
Epic! (rap battles) (of history)
#227
Posted 20 July 2013 - 02:55 PM
Just the best song ever.
#228
Posted 21 July 2013 - 01:18 AM
Showing a friend on Skype a song I've been listening to
Warning: You might wanna turn your sound down a bit
#229
Posted 21 July 2013 - 01:25 AM
pfs = {}
args = {...}
if #args ~= 2 then print("Usage:\npack <dir> <output>") error() end
files = fs.list(args[1])
for i = 1, #files do
if not fs.isDir(files[i]) then
print(files[i])
h = fs.open(files[i], "r")
pfs[files[i]] = h.readAll()
h.close()
end
end
term.clear()
term.setCursorPos(1,1)
h = fs.open(args[2], "w")
h.write("local pfs = " .. textutils.serialize(pfs) .. "\nfor k,v in pairs(pfs) do\n h = fs.open(k, 'w')\n h.write(v)\n h.close()\nend")
h.close()
An unfinished, 17 line recursive packing program?
#230 Guest_NookingTheCity_*
Posted 22 July 2013 - 03:50 PM
Quote
#231
Posted 22 July 2013 - 04:36 PM
This was so annoying. Netbeans wouldn't work with C++.
#232
Posted 22 July 2013 - 04:44 PM
Setting up a twitch stream
#233
Posted 23 July 2013 - 10:24 AM
#234
Posted 24 July 2013 - 12:18 PM
...Well then.
#235
Posted 24 July 2013 - 01:47 PM
Wow...
#236
Posted 24 July 2013 - 02:09 PM
try{
BufferedImage originalImage = ImageIO.read(new File(origenTF.getText()));
} catch (Exception e) {
JOptionPane.showMessageDialog(null, "Error al abrir la imagen:\n" + e.getMessage(), "Error", JOptionPane.ERROR_MESSAGE);
}
Opening an image in java.
PS: how can I make proper indentation in forums?
#238
Posted 24 July 2013 - 04:15 PM
Just. Awesome.
Nuff' said.
#239
Posted 24 July 2013 - 04:15 PM
jesusthekiller, on 24 July 2013 - 03:31 PM, said:
Paste:
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
glLoadIdentity();
float pt1[] = { WIDTH/2, 0.0f };
float pt2[] = { 0.0f, HEIGHT };
float pt3[] = { WIDTH, HEIGHT };
glBegin(GL_TRIANGLES);
glColor3f(1.0f, 1.0f, 1.0f);
glVertex3f( pt1[0], pt1[1], 0.0f);
glVertex3f( pt2[0], pt2[1], 0.0f);
glVertex3f( pt3[0], pt3[1], 0.0f);
glEnd();
glLineWidth(10);
glBegin(GL_LINES);
glColor3f(0.0f, 0.0f, 0.0f);
glVertex2f(pt1[0], pt1[1]);
glVertex2f(pt1[0], HEIGHT);
glEnd();
float a, b, c;
a = getDistance(pt1, pt2);
b = getDistance(pt2, pt3);
c = getDistance(pt3, pt1);
float perimeter = a+b+c;
float k = 0.5f*perimeter;
double radius = -(sqrt(k*(k-a)*(k-B)/>*(k-c))/k);
println("a: ", a);
println("b: ", B)/>;
println("c: ", c);
println("radius: ", radius);
glPointSize(pow(radius, 3));
glBegin(GL_POINTS);
glColor3f(1.0f, 0.0f, 0.0f);
glVertex3f(WIDTH/2, HEIGHT/2, 0.0f);
glEnd();
return TRUE;
Some OpenGL stuff.The forums ruined the indentation, I'm afraid.
#240
Posted 25 July 2013 - 12:07 AM
term.setCursorPos(14,2)
print("Test Speech")
term.setCursorPos(14,3)
print("-----------")
print(" ")
sleep(0.7)
term.setCursorPos(10,6)
speaker.readText("Hello User, what would you like to do?")
textutils.slowPrint("Hello User, what would you like to do?")
I was going to help someone on a thread, then decided not to.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


This topic is locked









