<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="http://positrones.net/wiki/lib/exe/css.php?s=feed" type="text/css"?>
<rss version="2.0">
    <channel>
        <title>Particles Around</title>
        <description></description>
        <link>http://positrones.net/wiki/</link>
        <lastBuildDate>Sun, 05 Sep 2010 00:51:46 -0600</lastBuildDate>
        <generator>FeedCreator 1.7.2-ppt DokuWiki</generator>
        <image>
            <url>http://positrones.net/wiki/lib/images/favicon.ico</url>
            <title>Particles Around</title>
            <link>http://positrones.net/wiki/</link>
        </image>
        <item>
            <title>Particles Around</title>
            <link>http://positrones.net/wiki/doku.php?id=start&amp;rev=1272467830&amp;do=diff</link>
            <description>Here you will find a compilation of my online's life. It's intented to be an index with interest links and docs.

Code

As you probably know, I like to code a lot. Here I put some pieces of code that I think are useless, but if you can give them a nice touch then you can use in your own apps. It's language categorized. Enjoy as much as I do.</description>
            <author>Ivan de Jesús Pompa García</author>
            <pubDate>Wed, 28 Apr 2010 09:17:10 -0600</pubDate>
        </item>
        <item>
            <title>Record Video and Audio from WebCam with Mencoder</title>
            <link>http://positrones.net/wiki/doku.php?id=geektips:record_webcam&amp;rev=1265130736&amp;do=diff</link>
            <description>Record Video and Audio from WebCam with Mencoder

Sometimes we want to record video and audio from a webcam, in my case I can use my PV-GS39 as a webcam, so when I connect it, my GNU/Linux box create automagically 2 new devices:


	*  /dev/video2 This is the v4l device.
	*  /dev/dsp1 This is the audio provided by the microphone of the camera.</description>
            <author>Ivan de Jesús Pompa García</author>
        <category>geektips</category>
            <pubDate>Tue, 02 Feb 2010 10:12:16 -0600</pubDate>
        </item>
        <item>
            <title>Cipher and Decipher Data with OpenSSL - created</title>
            <link>http://positrones.net/wiki/doku.php?id=devel:ruby:cipher_decipher_data_with_openssl&amp;rev=1262030011&amp;do=diff</link>
            <description>The next class works with the openssl module for ruby. It's capable to cipher any kind of text, numbers or data or if you wanna files.


require 'openssl'

class Cipher

	attr_accessor :key, :salt, :ciphered_data, :deciphered_data

	def initialize(key, salt = nil)
		@key = key
		@salt = salt
		@alg = &quot;DES-EDE3-CBC&quot;
		@ciphered_data = nil
		@deciphered_data = nil
	end

	def cipher(data)
		maker = OpenSSL::Cipher::Cipher.new(@alg)
		maker.pkcs5_keyivgen(@key, @salt)
		maker.encrypt
		ciphered = ma…</description>
            <author>Ivan de Jesús Pompa García</author>
        <category>devel:ruby</category>
            <pubDate>Mon, 28 Dec 2009 12:53:31 -0600</pubDate>
        </item>
        <item>
            <title>Ruby Code</title>
            <link>http://positrones.net/wiki/doku.php?id=devel:ruby&amp;rev=1262029847&amp;do=diff</link>
            <description>As you probably know, ruby it's an interpreted language created by Yukihiro “matz” Matsumoto, a japanese guy who mixed his favorite programming languages: Perl, SmallTalk, Eiffel, Lips and Ada to create a great language that I just love!: Ruby is simple in appearance, but is very complex inside, just like our human body as matz said. Anyway, he said to that I try to make Ruby natural, not simple. It's one of the languages that I fall in love and never let go away(yes, C is the another one). Enjo…</description>
            <author>Ivan de Jesús Pompa García</author>
        <category>devel</category>
            <pubDate>Mon, 28 Dec 2009 12:50:47 -0600</pubDate>
        </item>
        <item>
            <title>Loading an Image into a Java Applet - created</title>
            <link>http://positrones.net/wiki/doku.php?id=devel:java:loading_image_into_java_applet&amp;rev=1261973229&amp;do=diff</link>
            <description>This is a simple applet that loads an image named ImageTest.jpg placed in the same directory as the applet. The structure is so simple and it's a good exercise to learn java try to understand how works this code.


import java.applet.*;
import java.awt.*;

public class ImageViewer extends Applet
{
    Image image;
    int imageX, imageY;
    MediaTracker mt;

    public void init()
    {
	showStatus(&quot;Getting image...&quot;);
	mt = new MediaTracker(this);
	image = getImage(getDocumentBase(), &quot;ImageTes…</description>
            <author>Ivan de Jesús Pompa García</author>
        <category>devel:java</category>
            <pubDate>Sun, 27 Dec 2009 21:07:09 -0600</pubDate>
        </item>
        <item>
            <title>Java Code</title>
            <link>http://positrones.net/wiki/doku.php?id=devel:java&amp;rev=1261972987&amp;do=diff</link>
            <description>Java was born in Sun Microsystems as a universal language programming, that's because it runs over a Virtual Machine(VM) and means that if the VM exists for a certain platform, the program can be run(in theory) without change a single line of code or recompile. Really, I don't like so much, but it's so much easy to learn and use and, as a friend said once: Java it's a big Lego's box, just put the pieces together and it works!.</description>
            <author>Ivan de Jesús Pompa García</author>
        <category>devel</category>
            <pubDate>Sun, 27 Dec 2009 21:03:07 -0600</pubDate>
        </item>
        <item>
            <title>C Code</title>
            <link>http://positrones.net/wiki/doku.php?id=devel:c&amp;rev=1261877365&amp;do=diff</link>
            <description>C is The programming language, created at Bell Labs(where the transistor was born too) in the 60's, it's used for everything you need, since a pr0n grabber to a complex and efficient Operating System. Of course, based on the needs of the actual market and the bosses' requirements: I need that app for yesterday C become now into a guru's language but still works for everything, and when you can't do something into it and be happy. Now let's go to the code and... Happy Segmentation Faults!.</description>
            <author>Ivan de Jesús Pompa García</author>
        <category>devel</category>
            <pubDate>Sat, 26 Dec 2009 18:29:25 -0600</pubDate>
        </item>
    </channel>
</rss>
